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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

891件の閲覧回数
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

ラベル(1)
0 件の賞賛
返信
1 返信

717件の閲覧回数
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 件の賞賛
返信