What is the reason for the offset of 0xC0 at the begin of the physical RAM segment?
I have used the mbed lib offline with the LPCXpresso for the LPC1347. After a few modifications this worked, but the projects showed strange runtime behaviour. The reason was the 'managed linker script' that I used, there was this offset for the RAM missing. But it took me a long time to find this hidden stuff, it is not mentioned in the 'memory model' handbook page.
What is the reason for the offset of 0xC0 at the begin of the physical RAM segment?
I have used the mbed lib offline with the LPCXpresso for the LPC1347. After a few modifications this worked, but the projects showed strange runtime behaviour. The reason was the 'managed linker script' that I used, there was this offset for the RAM missing. But it took me a long time to find this hidden stuff, it is not mentioned in the 'memory model' handbook page.
The first time the NVIC_SetVector code is called it will notice that the interrupt vector table which is in the flash is used is currently used, and it will copy that vector to RAM and use the new RAM vector instead.
Yes, it is done here: https://developer.mbed.org/users/mbed_official/code/mbed-dev/file/dfc7461ac1b6/targets/cmsis/TARGET_NXP/TARGET_LPC13XX/cmsis_nvic.c
The first time the NVIC_SetVector code is called it will notice that the interrupt vector table which is in the flash is used is currently used, and it will copy that vector to RAM and use the new RAM vector instead.
Important Information for this Arm website
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.
What is the reason for the offset of 0xC0 at the begin of the physical RAM segment? I have used the mbed lib offline with the LPCXpresso for the LPC1347. After a few modifications this worked, but the projects showed strange runtime behaviour. The reason was the 'managed linker script' that I used, there was this offset for the RAM missing. But it took me a long time to find this hidden stuff, it is not mentioned in the 'memory model' handbook page.