IDE used: MCUXpresso IDE v11.8.1
SDK version : 2.14.1
For Custom board development we are using MIMXRT1060-EVKC-DESIGNFILES as a reference. According to design file we have use W25Q16JVUXIQ TR QSPI for flashing code into it. We are using Segger J-Link V2 for dump code (.hex) into custom board using JTAG (SWD) 20-pin connector.
QSPI pin connection with MIMXRT1062DVJ6B mention below
For flashing output file .hex into QSPI, I need to develop any firmware code for my custom board MIMXRT1062DVJ6B or any settings require in IDE?
Thank you.
Hello
From your QSPI, they are correct to communicate with FlexSPI however you will not be able to boot from that memory as the ROM will not find the device on that configuration.
Please refer to Table 9-1 from the Reference Manual to check how to connect the booting device. This is the configuration used on the EVK:
The BT_CFG[] signals are required for proper functionality and operation and shall not be left floating during development if BT_CFG[] fuses and BT_FUSE_SEL are not configured.
You can leave Boot_Mode pins floating if you are using boot from fuses, that means that the boot configuration is taken from the boot fuses instead of the boot_cfg pins.
Otherwise, boot_mode needs to be externally terminated so the correct boot mode is chosen correctly.
Please refer to the Hardware Development Guide.
Best regards,
Omar
Thank you for your reply Omar.
Yes I am agree with your suggestion, I have gone through Reference Manual and check with FlexSPI pin which used on the EVK.
But here i am stuck because in our custom board Our Hardware person change the FlexSPI pin which i mention earlier (L13,J13,H12,H11,G12,J14). So is there any work around to change default pin to according our pins is there any modification in IDE or any configuration file which allow to do that. So Custom board able to boot from that memory and the ROM will find our custom configuration pin define and flash code into QSPI.
You will need to use the 2nd pin option, please go to the referred chapter to change this option:
You will need to change the state of the Boot_CFG pin.
Best regards,
Omar
Hello Omar Thanks for your support.
I have gone through Boot_CFG option in IMXRT1060 Processor Reference Manual.
For enabling secondary pinmux for booting, BOOT_CFG2 needs to be set to 111. So, How i can write to fusemap registers in my custom board?. I have also gone through different cases regarding for the same but i didn't get solution. I have also try with NXP MCU Boot Utility using HID for access fuse registers but i didn't connect with MCU Boot Utility.
You can burn the fuses with Secure Provisioning Tool. For this, the device needs to be on serial download mode(Boot_Mode = b01).
Before burning the fuses you need to make sure that the configuration is ideal for your booting device so first try using the boot_cfg pins on internal boot (boot_mode = b10).
Remember that fuses cannot be rewritten so we must be sure about the configuration.
Best regards,
Omar
Hello NXP Team,
Any suggestion from your side, It would be really help me to resolve out this problem.