The products I am currently working on are based on the Kinetis K61 MCU.
The components we use are USB, Crypyo engine, FlexBus and "Program Flash Swap"
It appears that the RT1020 USB is the same as the K61 HS-USB - great!
The RT1020 crypto engine is also similar to the K61. The mbedtls implementation form the RT1020 SDK includes everything needed.
The FlexBus on the K61 has been replaced by the SEMC on the RT1020. Currently we use the FlexBus to communicate with an FPGA (intel FPGA). What level, if any, of compatibility exists between FlexBus and SEMC?
The RT1020 has no internal flash and as such has no Program Flash Swap feature!
We liked that feature because it allowed us to get rid of the "bootloader".
The RT1020 does not seem to have a similar feature.
The K61 processor does not have the High Assurance Boot, a feature we have long desired.
But our firmware does support field updates using signed firmware. This firmware signature is verified while being downloaded into the unused K61 bank. On a reset the new firmware is executed, but it is not re-verified.
It seems that I have a couple choices for the RT1020
I assume the ROM has a callable function to verify an image after it has been downloaded??
Hi Larry,
FlexBus and SEMC are different block. They are not compatible. But this is not a problem. You can see in the community that may people use SEMC to interface with FPGA.
RT1020 and RT1050 haven't SWAP function. Only RT1060 has this function, because RT1060 has 2 flexspi module.
HAB could be used to check flash software. You can see in Figure 6-2. ROM bootloader will calculate current HASH value form the software in flash. If the contents of the flash are modified either intentionally or unintentionally, the two hash values do not match and the verification fails.
If you want to use HAB, please see the https://community.nxp.com/docs/DOC-341804 .
There is another application AN12079 should be useful to you. It's content is how to use i.MXRT Security Boot. Please contact your distributor's DFAE to get it.
Regards,
Jing