We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, sorry my English is so bad, google translator:
LPC2148 Bootloader resides in the 0x0000-0x2000 flash space (that means 8kB).
How do I set Keil, to respect the bootloader program and flash target to start at 0x2000.?
A greeting and thanks
In the target dialog, specify that the flash will start at address 0x2000, and at the same time configure the flash to be 0x2000 smaller.
But that isn't enough. You also have to reserve the start of RAM for interrupt vectors. Then you have to configure the startup script or the boot loader so that it will copy the interrupt vectors from address 0x2000 and into the start of RAM. After that, you have to change a memory mapping flag in the processor to map the first part of RAM to overlay the real interrupt vector table in the beginning of the flash.
There are several threads describing this, even if most threads are about LPC23xx chips.