Hi Diego,
Just like Jens I am trying to find a way to distinguish the iMXRT1062 from the iMXRT1064 at runtime.
When the iMXRT106x is configured for “Serial NOR Flash Boot via FlexSPI” then the boot ROM reads the FlexSPI NOR configuration parameters from either FlexSPI (iMXRT1062) or FlexSPI2 (iMXRT1064). It is not clear to me if the boot ROM code itself is different or where the boot ROM gets to know which peripheral to initialize?
Using the MCUXpresso Secure Provisioning Tool the configure-memory command also initializes different address spaces depending on the chip – even if I use the same flash loader RAM code.
blhost -p COM8,115200 fill-memory 0x2000 4 0xC0000008 word
blhost -p COM8,115200 configure-memory 9 0x2000
blhost -p COM8,115200 list-memory
Does the flash loader RAM code use boot ROM functionality to initialize the external memory? If not how does the flash loader RAM code initialize different memory regions depending on the chip?
Best regards,
ALE