1994 1995 1996 1997 1998 1999 <2000> 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 <2000> 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Problem with MVME162 and A24/D32 or D16 access to SIAM |
From: | "Burkhard W. Kolb" <[email protected]> |
To: | tech-talk Mailing List <[email protected]> |
Date: | Mon, 06 Mar 2000 16:58:19 +0100 |
SUMMARY: On the MVME162 the VME standard access is done via the second I/O map decoder, not through one of the programmable map decoders. So it is necessary to disable the second I/O map decoder and then enabled the second programmable map decoder. In sysLib.c original version: temp = *VMECHIP2_LBTVCR & 0xffff0fff; *VMECHIP2_LBTVCR = temp | LBTVCR_I2SUP | LBTVCR_I2DATA | LBTVCR_I2EN; change to temp = *VMECHIP2_LBTVCR & 0xffff0fff; *VMECHIP2_LBTVCR = temp; /* disable io map decoder 2 */ and then add *VMECHIP2_LBSAR2 = 0xf0fff000; /* start and end address */ *VMECHIP2_LBSAR &= ~LBSAR2_D16; /* no D16 as default */ *VMECHIP2_LBSAR |= LBSAR2_AM_STD_USR_DATA | LBSAR2_D32; /* but allow D32 */ *VMECHIP2_LBTVCR |= LBTVCR_EN2; /* enable second programmable map decoder */ replace the following 2 lines /* make sure map 2-4 is disabled */ *VMECHIP2_LBTVCR &= ~(LBTVCR_EN2 | LBTVCR_EN3 | LBTVCR_EN4); with /* make sure map 3-4 is disabled */ *VMECHIP2_LBTVCR &= ~(LBTVCR_EN3 | LBTVCR_EN4);