Hi,
in order to flash an application to the RT1064 via the commandline tools I need to Set FlexSPI configuration options beforehand and then configure the FlexSPI. I see from the MCUBootUtility log file that these commands are used:
.\blhost.exe -d -u -- fill-memory 538976256 4 3221225479 word
.\blhost.exe -d -u -- fill-memory 538976260 4 0 word
.\blhost.exe -d -u -- configure-memory 9 538976256
How do I know which Parameters to use?
I checked the AN12238, the IMXRT1064RM 9.6.1 and 9.6.2 and the RT1064 Manufacturing Guide 5.1.2 and could not find an answer. The Manufacturing Guide mentions a "magic number" that must be loaded into RAM first but that number is: 0xF000000F but that is not the case here since 3221225479 is 0xC0000007 in hex.
The adresses are 0x20202000 in hex but according to AN12238 they should be 0x20000000.
Thanks for the help.
Hello @CK3,
The tool is using this only for connection purposes, is loading the speed that is going to work the FlexSPI and the address could be anywhere in the RAM while configure-memory command is pointing at it.
Best Regards,
Alexis Andalon