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

LPC2294: Start up disassembly

Hi,
What exactly is the sequence/flow from power-on till Interrupt Vector table is encountered?
In LPC2294's manual it is specified that boot code is located at 0x7FFF E000. Is this the first value in PC register after power on? Or is it 0x0000 0000?
After boot code execution is completed how is the first instruction (of user-programmed code) loaded?

  • UM10114
    LPC21xx and LPC22xx User manual
    Rev. 03 â€" 2 April 2008

    Chapter 21: LPC21xx/22xx Flash memory controller

    5.1 Memory map after any reset
    The boot block is 8 kB in size and resides in the top portion (starting from 0x0001 E000 for
    devices with 128 kB flash and from 0x0003 E000 for devices with 256 kB flash) of the
    on-chip flash memory. After any reset the entire boot block is also mapped to the top of
    the on-chip memory space. i.e. the boot block is also visible in the memory region starting
    from the address 0x7FFF E000. The flash boot loader is designed to run from this
    memory area, but both the ISP and IAP software use parts of the on-chip RAM. The RAM
    usage is described later in this chapter. The interrupt vectors residing in the boot block of
    the on-chip flash memory also become active after reset, i.e., the bottom 64 bytes of the
    boot block are also visible in the memory region starting from the address 0x0000 0000.

    The reset vector contains a jump instruction to the entry point of the flash boot loader
    software.