The Uv3 simulator and JTAG debugger use the wrong SFR symbols for the LPC213X ARM processors. It appears the symbols for the LPC210x are used. I've changed the device database for the LPC2138 to show the proper register file (LPC213x.h), but that doesn't change anything. The symbols listed in the View->Symbols window are still those for the 211x. Can anyone point me in the right direction? Many thanks in advance. Dave Sidlauskas
Thanks for the information. I can debug using Ulink, but the debugger does not recognize the SSP registers. For example, typing SSPSR in the Command Line produces an error message. I've been using the memory display to show the register values. View->Symbols does not show the SSP registers. Also, there are a couple of 16 bit SSP registers that are defined as char * rather than short * in LPC213x.h. (SSPCR0 and SSPDR).
You may just enter in the Watch Window the registers using the _RDWORD definition. For example:
_RDWORD (0xE0068000) // SSPCR0