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.
Hi Everyone,
I am very new to using the NXP LPC1788 base on the Cortex-M3. I will like to relocate the vector table from address 0x00000000 to another location in SRAM, say address 0x00003500 . I am using a scatter file to build my image.
I do have a bootloader that already resides at address 0 and occupies the first 8KB of my 512KB ROM and I do not want to affect the code that resides in this region. I read that by default, the vector table is at address zero. in veiw of the above mentioned, could you kindly help me with information on how I can flash my new application code without affecting the bootloader?
Thanks
I also will need to relocate the vector table, to accomodate a boot loader, and was relying on rewriting the 'VTOR' at the end of bootloading. This is detailed in '6.4 Vector table remapping' of the user manual for the chip.
I haven't yet tried this.
Don't NXP provide an example of doing a bootloader?
That would have to include dealing with the vector table...