LPC54606 Second boot loader and FW version control

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

LPC54606 Second boot loader and FW version control

1,294件の閲覧回数
luimarma
Contributor III

Hi,

I am developing an OTA firmware updater based on second boot loader described on AN12384 for LPC5460X family of micro controllers.

In the SBL I want to implement a FW version checking routine.

In AN12384 it is said that Arm reserves 256 vectors for Cortex-M4's vector table with 1KB memory space, and that in the case of LPC54608 only the first 73 are used, so the last 32 bytes of this vector table space is a good place to store user information, like in my case the version number or the firmware.

My problem comes when I inspect the contents of any .bin file generated with MCUxpresso for lpc 5460X, the full vector table contains information.

Is there any aplication note where I can find detailed information of the vector table for LPC54606?

Where is the best place to fit this kind of user information in o .bin rom file?

Many thanks in advance,

 

Luis

0 件の賞賛
返信
4 返答(返信)

1,243件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @luimarma 

How about add your own information behind the interrupt vector table:

Alice_Yang_0-1706154720880.png

 

BR

Alice

 

1,236件の閲覧回数
luimarma
Contributor III

Hello Alice,

I understand that this would act like a function or so, and this is not what I need.

I need a free space in the first 1024 bytes of the firmware to check for firware name and version by the second boot loader, so It can be reported that FW is older than the flashed one.

Please correct me if I am wrong with my thinking.

Thanks in advance,

Luis

0 件の賞賛
返信

1,131件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @luimarma 

Yes, you can find some bytes that not used to use as image version.

 

BR

Alice

0 件の賞賛
返信

1,237件の閲覧回数
luimarma
Contributor III
Thank you, I am trying and let you know
0 件の賞賛
返信