Repository navigation
Reset and release CRC before any nBoot API call - #64
alamfarjadf wants to merge 1 commit into
Conversation
|
Before we accept this, let's get an actual Erratum for this fault. Or at least updated RM or official recommendation. Has anybody done any power impact analysis for this? |
Agreed, we will get more clarity soon. As for power analysis, no. The change is kind of non-optional. |
Understood, however we don't want a bug being filed in a few weeks saying we regressed power targets. So it needs to be documented, IMO :-) |
As recently discovered, MCXA5xx MCUs with ROM version greater than 3 causes a hard fault because ROM does not release CRC from reset on boot.
So, when
nBootAPIs are called to authenticate the image,CRC0is still held in reset and causes a hard fault.This isn't described in the current version of the RM.
NXP clarified that making sure CRC is clocked and released is now a requirement going forward.
Added
enable_and_resetcall toCRC0right after Embassy is initialized inboard.rs.