We are using mimxrt1176 and 512Mb NOR flash connected via flexspi for booting. Program flashed successful ly, but code is not executing. Flexspi lines are working during flashing, but clock signal not seen at the start of execution. But the same code is working in EVK. Checked the boot mode pins and it is set to 10 during execution. What may the possible reasons
Solved! Go to Solution.
Hi @ancymuhammed ,
If you use the EVK flash to solder your own board meet issues, please check the solder, maybe not good in the hardware connection, as the same package, winbond works.
About mode to 10. do you have Jlink? If yes, use JLINK command connect, run it, then halt, check where it is stopping.
Best Regards,
Kerry
In secure programming tool writing will not happen if boot mode is 10 in EVK and it shows the below error
But in custom board with Winbond flash writing is successful to all mode. Writing happens in boot mode 10 also
SPT tool(Secure provisional tool) need to be operation in the serial download mode, boot mode 01.
boot mode 01 can't find the USB HID interface.
Your customer mode situation is interesting, after you download the app code to the external flash, then set the mode to 10, power off and power on again, your USB HID still can connect the SPT tool, it means your boot mode even still in the serial download mode, not the internal boot mode.
Best Regards,
Kerry
After setting to internal boot mode i had checked the voltage and it is also found 10. The resistor values are chosen same as the EVK
Please check the boot mode:
You mentioned 10, whether it is BOOT_MODE[1:0]=10, as I find your pin 3 is Mode0, pin 4 is mode 1, it is not the same as the EVK board.
Please double check your customer board mode setting.
Best Regards,
Kerry
We had seen this before. We tried the internal boot mode in 01 instead of 10. Then also it is not working. Probed the waveforms boot mode(0) & POR. All are seen same as EVK
Use the MCUBootUtility tool test your customer board, in serial download mode, connect, download code, read flash, whether it all finished?
Please share me your MCUbootUtility tool download situation. The app you can use the tool attached code:
\NXP-MCUBootUtility-3.4.0\apps\NXP_MIMXRT1170-EVK_Rev.A\cm7\led_blinky_0x3000a000.srec
After download, change the boot mode to internal boot mode, power off and power on it again, whether you still can find the USB HID PID and VID in the MCUBootUtility tool?
Best Regards,
Kerry
USB HID PID & VID do not found when changed to internal boot
We had checked the read back data with write data and the read back data from the EVK. Both are found same. We tried in the utility tool
While programming via SWD in MCUXpresso the following error occurs
Probed all the flex lines in EVK with Winbond flash memory, T0 with Winbond & T0 with ISSI.
In EVK it is found that WP & HOLD pins are high for few clock lines (approximately 360ms) and after that it will changed to data lines.
In T0 with winbond flash WP is found high but HOLD is continuously low. Writing succeefully shown in Winbond
In T0 with ISSI WP & HOLD is high but datas are not observed. Error appears in between programming
In custom board - T0 the microcontroller MIMXRT1176AVM8A
Could you please send the datasheet of MIMXRT1176AVM8A. Got the datasheet of MIMXRT1176DVMAA & MIMXRT1176CVM8A
Please download the datasheet for MIMXRT1176AVM8A in this link:
https://www.nxp.com/docs/en/data-sheet/IMXRT1170AEC.pdf
Wish it helps you!
Best Regards,
Kerry
The board is still works in internal RAM
FlexSPI line clock, data & chip select is working and can see the waveforms while flashing, but during execution even a single clock pulse is not observed in the starting. But the code is working fine using internal RAM
1. QSPI flash used in the NOR custom board is W25Q512NWEIM. But we tried the same flash in EVK and it is working fine
2. Will try the code
3. Same schematics is used in custom board. The only difference all the supply lines is 3.3V
4. Internal boot mode 10 is not working. In EVK we cannot flash through serial downloader when switch is in 10 position, but in custom board we can flash successfully in 10 mode also
Hi @ancymuhammed ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
1. Which detail QSPI flash you are using on the customer board? the same as the EVK? IS25WP128?
As different QSPI flash may have different QE bit position, you need to make sure your QE bit is set. Otherwise, you use the quad read boot will have issues.
2. Please use debug the following SDK code on your customer board:
SDK_2_10_1_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor\polling_transfer
Run the above code in ram.
Please check whether the flash operation are all pass or not?
3. Check the Boot_CFG pin configuration, you need to make it the same as the EVK.
If you still have issues, please also let me know what's the detail difference between your customer board the NXP EVK board.
4. You can debug the sample SDK code in the flash, eg, led_blinky, whether you can download and debug it OK? Then test the POR boot.
Please note, the debug need to in the internal boot mode.
Wish it helps you!
If you still have questions about it, please kindly let me know.
Kerry