The default PIN MUX :
GPIO-SD-B1-06 -----> L3 ------> FLEXSPI-QSPI-SS0
GPIO-SD-B1-07 -----> L4 ------> FLEXSPI-QSPI-CLK
GPIO-SD-B1-08 -----> P3 ------> FLEXSPI-QSPI-DATA0
GPIO-SD-B1-09 -----> N4 ------> FLEXSPI-QSPI-DATA1
GPIO-SD-B1-10 -----> P4 ------> FLEXSPI-QSPI-DATA2
GPIO-SD-B1-11 -----> P5 ------> FLEXSPI-QSPI-DATA3
When I design the board,I change the PIN MUX :
GPIO-AD-B1-15 -----> J14 ------> FLEXSPI-QSPI-SS0
GPIO-AD-B1-14 -----> G12 ------> FLEXSPI-QSPI-CLK
GPIO-AD-B1-13 -----> H11 ------> FLEXSPI-QSPI-DATA0
GPIO-AD-B1-12 -----> H12 ------> FLEXSPI-QSPI-DATA1
GPIO-AD-B1-11 -----> J13 ------> FLEXSPI-QSPI-DATA2
GPIO-AD-B1-10 -----> L13 ------> FLEXSPI-QSPI-DATA3
Now,i can not boot from the new PIN MUX QSPIFLASH,even can not connect to the flash.
Does someone know that how can i download my hex to the flash now?
Thanks!
I change the BOOTCFG[2:0] from 000b to 111b,but it can not boot from the secondary pinmux.
It dosen't work。Is this a BUG ? if not ,how can i configure the boot_cfg?
Need help,Please.
Thanks.
You can also try this tool, with this tool, You can flash bare image into various boot devices easily and don't need to care about headers (ivt, boot data...)
Hi fengxuan
one can start debugging with hardware side:
check voltages and clocks using Hardware Development Guide for the
MIMXRT1050 Processor
https://www.nxp.com/docs/en/user-guide/MIMXRT1050HDUG.pdf
Check if QSPIFLASH is able to write/read using MCUXpresso.
If flash is operational, one can try to write boot image to it, check signals
with oscilloscope, use
MIMXRT1050-EVK MfgTool and QSPI Flash
AN12183 How to Enable Debugging for FLEXSPI NOR Flash
https://www.nxp.com/docs/en/nxp/application-notes/AN12183.pdf
When boot fails, check if ROM jumped to serial downloader mode
(it should be visible by MFG TOOL).
Attach jtag, check if boot settings are correct reading SRC_SBMR1,2 registers.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------