firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

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

firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

跳至解决方案
2,185 次查看
RichardY
Contributor II

Hi,

Would like to know how to utilizing the "firmwareCopies" field and "firmwareInfoTable" in FCB? Basically, would like to know if the ROM bootloader will load and start the second copy if there is one? If yes, under what condition the ROM bootloader will load and start the second copy?

RichardY_0-1678995396495.png

 


Thanks and regards,

Richard

0 项奖励
回复
1 解答
2,121 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @RichardY,

The persistent bits must be flashed and loaded to the FCB during a normal boot. Therefore, there needs to be a successful boot that would initially set the PERSIST_REDUNDANT_BOOT for subsequent boots to have the redundant boot feature enabled.

 

在原帖中查看解决方案

3 回复数
2,170 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @RichardY,

You will find a register by the name of "PERSIST_REDUNDANT_BOOT" on Section "10.5.5 Persistent bits" of the RM with the description: "This field identifies which image must be used - 0/1/2/3".

 

BR,

Edwin.

0 项奖励
回复
2,160 次查看
RichardY
Contributor II

Hi Edwin,

Thank you, that make sense.

Just wondering who would be able to set the PERSIST_REDUNDANT_BOOT bit?

For example, if the boot ROM fails to boot the first firmware copy, it could try to boot the second firmware copy if PERSIST_REDUNDANT_BOOT is set (to 1). However, if the first firmware copy does not boot, it will not be able to update the PERSIST_REDUNDANT_BOOT bit.

Thanks and regards,

Richard

0 项奖励
回复
2,122 次查看
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @RichardY,

The persistent bits must be flashed and loaded to the FCB during a normal boot. Therefore, there needs to be a successful boot that would initially set the PERSIST_REDUNDANT_BOOT for subsequent boots to have the redundant boot feature enabled.