In short :
I m using a LPC4357
Using Keil I set a project for a bootloader following the Keil's instructions : ARM: How to write a bootloader
My memory map is the following :
Bootloader @ 0x1A000000 (top of Flash BankA)
Application should be @ 0x1A020000 (page 0x9 of flash bankA)
It runs into a Hardfault (invstate).
If I set the application to be linked and the bootloader to jump to 0x1B000000 (top of flash BankB)
it works well as excepted.
Any idea about what could throw the invalide state fault ?
I really tried many things and read a lot about this jump... I really can't figure out what I missed there...
Thanks for your help