firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

firmwareCopies and firmwareInfoTable in Flash Control Block (FCB)

Jump to solution
1,114 Views
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 Kudos
Reply
1 Solution
1,050 Views
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.

 

View solution in original post

3 Replies
1,099 Views
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 Kudos
Reply
1,089 Views
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 Kudos
Reply
1,051 Views
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.