How does the KW47 ROM Bootloader decide which image is newest?

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

How does the KW47 ROM Bootloader decide which image is newest?

90 Views
manuvs014
Contributor I

 

Hi NXP Team,

I am working on the KW47 dual-image boot / OTA update concept, and I would like to clarify how the ROM bootloader selects the newest image during boot.

From my understanding, in a dual-image setup we may have two valid application images in internal flash, for example:

Primary Image -> Address configured by Boot Image Base Address in ROMCFG / IFR0
Secondary Image -> Address configured by FLW region / ABASE in ROMCFG / IFR0

During reset, the ROM bootloader checks both images and decides which one should be booted.

My doubt is mainly about this point:

How does the KW47 ROM bootloader know which image is newer?

0 Kudos
Reply
0 Replies
%3CLINGO-SUB%20id%3D%22lingo-sub-2375554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHow%20does%20the%20KW47%20ROM%20Bootloader%20decide%20which%20image%20is%20newest%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2375554%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CBR%20%2F%3E%3CP%3EHi%20NXP%20Team%2C%3C%2FP%3E%3CP%3EI%20am%20working%20on%20the%20%3CSTRONG%3EKW47%20dual-image%20boot%20%2F%20OTA%20update%20concept%3C%2FSTRONG%3E%2C%20and%20I%20would%20like%20to%20clarify%20how%20the%20%3CSTRONG%3EROM%20bootloader%20selects%20the%20newest%20image%3C%2FSTRONG%3E%20during%20boot.%3C%2FP%3E%3CP%3EFrom%20my%20understanding%2C%20in%20a%20dual-image%20setup%20we%20may%20have%20two%20valid%20application%20images%20in%20internal%20flash%2C%20for%20example%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CSTRONG%3EPrimary%20Image%3C%2FSTRONG%3E%20-%26gt%3B%20Address%20configured%20by%20Boot%20Image%20Base%20Address%20in%20ROMCFG%20%2F%20IFR0%3C%2FSPAN%3E%3CBR%20%2F%3E%3CSPAN%3E%3CSTRONG%3ESecondary%20Image%3C%2FSTRONG%3E%20-%26gt%3B%20Address%20configured%20by%20FLW%20region%20%2F%20ABASE%20in%20ROMCFG%20%2F%20IFR0%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EDuring%20reset%2C%20the%20ROM%20bootloader%20checks%20both%20images%20and%20decides%20which%20one%20should%20be%20booted.%3C%2FP%3E%3CP%3EMy%20doubt%20is%20mainly%20about%20this%20point%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3EHow%20does%20the%20KW47%20ROM%20bootloader%20know%20which%20image%20is%20newer%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E