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

Is it possible to debug in external RAM ?

Hi,

I have a NXP (Philips) LPC2214 board with lots of external memory.
For debug purposes I tried to debug in RAM.

The problem is that I have to enable the external address/data bus by setting BCFG0/PINSEL2.

I have implemented this in the RAM.ini file as

E INT 0xE002C014 = 192938276; // PINSEL2 = 0x0B800124
E INT 0xFFE00000 = 1103; // BCFG0 = 0x0000044F

which seems to work (althow hex values aren't accepted as values by uVision ;-(()

Unfortunetly it seems that the LOAD command

LOAD Demofile // Download

resets the controller, which kills my external memory configuration. Additionally I get the errormessages "RAM mismatch ..." and "*** error 57: illegal address (0x80000000)".
The option NORESET with the LOAD command doesn't seem to work.

As I see it I have 2 main problems:

1. is that I can't forbid the RESET
2. is that the memory 0x80000000... isn't accepted.

In the target dialog I have the address range 0x80000000 (len=0x20000) setup as ROM and 0x80020000 (len=0xE0000) as RAM which should be OK.

Any ideas ?

0