Hi,
I try to simulate a target with code memory starting at 0x80000000 (LPC 2220). When I try to simulate, I get prefetch abort.
How can I tell the simulator to start at 0x80000000?
I tried "R15 = 0x80000000" in the ini file. That helps for the first start in debug mode. But when I do a reset and after that a single step, there is again a prefetch abort at 0x00000000.
How can I modify the reset vector for the simulation?
BR DW
The LPC2220 has no memory at address 0, cause it's a flashless device. It has two boot pins for the configuration of the external memory bank at 0x80000000. So the device boots from that address and the exception vectors are also in that address area.
I would say the simulator ignores the settings I made under OptionsForTheTarget/Target/ReadOnlyMemoryAreas:
I checked ROM1, start at 0x80000000, Size 0x800000, and I also set the startup radio button for that entry. Why doesn't the compiler use that memory area for startup? I did not specify any further ROM area.
Does anyone know how to handle this without writing a simulator specific application?
BR Detlef