This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

µVision3 - LPC2103 - Fast IOs

Hi,

just wanted to test a simple program, that accesses the new Fast IOs of the LPC2101/2/3 series from Philips.

But whenever a new register (addresses right below the lowers RAM address) is accessed, I get the message "*** error 65: access violation at 0x3FFFC01C : no 'write".

I already found the hint to write an .ini file and add it to the debugger.

.ini file content:

MAP  0x3FFFC000, 0x40000000  READ WRITE  // allow R/W access to IO
space

The debugger does display the MAP command on startup, but the address is still invalid.

But when I copy the MAP command line and enter it manually, when µVision is already in debug mode, the MAP command works as expected and the "*** error 65: access violation at 0x3FFFC01C : no 'write" message disappears.

Thanks,
Bernd

  • The debugger does display the MAP command on startup, but the address is still invalid.

    Sounds like something afterward is resetting the memory map settings.

    Jon

  • Hi,

    I already solved the problem. You need to put an NEW_LINE/ENTER at the end of the line, then it will work.

    But that might not be enough to use the Fast IOs in µVision.

    The peripherals do not support the Fast IOs. So simulating IO actions might be difficult.

    Is there a way to make the debugger realize, that the new registers modify the pins?

    Bernd