Bootload jump to app working for one bank not for the other

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bootload jump to app working for one bank not for the other

893 Views
sylvio5
Contributor II

Hello

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

Labels (1)
0 Kudos
Reply
1 Reply

719 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Sylvio Barth,

Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.
To provide the fastest possible support I want to point you to a similar application. 
Please refer to the attachment to view the details.
Have a great day,

TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply