firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

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

firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

ソリューションへジャンプ
1,130件の閲覧回数
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 解決策
1,066件の閲覧回数
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 返答(返信)
1,115件の閲覧回数
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 件の賞賛
返信
1,105件の閲覧回数
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 件の賞賛
返信
1,067件の閲覧回数
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.