I've been working with iMXRT1062 in various forms (EVK, Teensy4.1 and custom HW) for a while, and I am currently wrestling with a bootup issue (see this post). For the sake of this question, just assume I am booting the MIMXRT1060-EVK...
I have a boot image that is derived from the examples. The final .elf file shows me that the location of the flash config parameters (defined in the SDK file 'evkmimxrt1060_flexspi_nor_config.c') are at the base of the QuadSPI device's memory space (0x60000000). This has been working on multiple boards for months.
Now that I'm digging into a boot problem (using a larger boot device), I read something that I didn't notice until now...
Section 9.6.1.2 "FlexSPI Serial NOR Flash Boot Operation" of the reference manual says:
The ROM expects the 512-byte FlexSPI NOR configuration parameters (as explained
in the next section) to be present at offset 0x400 in Serial NOR flash attached to FLEXSPI_A_SS0_B.
My empirical data tells me this 0x400 offset is wrong simply because I've been booting my boards with this data at 0x000 offset for quite some time. Am I just confused and lucky, or is the text in the reference manual wrong?