LPC54606 Second boot loader and FW version control

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC54606 Second boot loader and FW version control

1,286 次查看
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,235 次查看
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,228 次查看
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,123 次查看
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,229 次查看
luimarma
Contributor III
Thank you, I am trying and let you know
0 项奖励
回复