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

ARM Simulator: Reset Vector Address

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

Parents Reply Children
  • 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