Hi, i have a QSPI Chip issue..
: IS25WP128-JBLE
Are there any requirements for the QSPI chip to be initialized?
I'm using custom board that I made
At first, the program was well entered on the chip, but after changing the qspi to the same thing, the program does not enter
Looking at a similar case, it seems that the QE bit is activated and should be done, but I don't know how to do it...
Solved! Go to Solution.
Hi @sukyeong ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
Your issue is caused by the new QSPI flash should enable the QE bit when you use the quad mode.
Normally, you can add the QE enable code in your flashdriver for your debugger.
Or another easy way to make it works, you can run this code in the internal RAM:
SDK_2_13_10_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor\polling_transfer
It will help you to enable the QE bit as your used flash is the same as the EVK, so you can run the above code directly, just run it in the internal RAM at first.
Wish it helps you!
Best Regards,
Kerry
Hi @sukyeong,
I hope you are doing well.
Could you please mention which i.MX processor is used?
Please mention the changes you have made to port QSPI in the custom board.
Thanks & Regards,
Dhruvit Vasavada
hi, @Dhruvit
I use i.MXRT1176 AVM8A
It is made according to the RT1170 ev-board, so there is no significant change.
bootmode = internal bootmode. Does this order have any effect?
now, R171, R176 is mounted.
Even if I remove it, the problem is the same...
Hi @sukyeong ,
Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.
Your issue is caused by the new QSPI flash should enable the QE bit when you use the quad mode.
Normally, you can add the QE enable code in your flashdriver for your debugger.
Or another easy way to make it works, you can run this code in the internal RAM:
SDK_2_13_10_MIMXRT1170-EVK\boards\evkmimxrt1170\driver_examples\flexspi\nor\polling_transfer
It will help you to enable the QE bit as your used flash is the same as the EVK, so you can run the above code directly, just run it in the internal RAM at first.
Wish it helps you!
Best Regards,
Kerry
I appreciate it.
I run that code in the internal RAM. it works well.
What can I do add the QE enable code in my flashdriver for my debugger?
Hi @sukyeong ,
What's the debugger and IDE you are using now?
As different debugger and IDE have different flashloader.
Best Regards,
Kerry
Hi @sukyeong ,
OK, you can use the RT-UFL which can support it.
You can refer to my post to know how to use the RT-UFL:
https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT1170-Octal-flash-enablement/ta-p/1498369
Chapter 5. JLINK Flashloader with RT-UFL
Now, follow me.
1. download
https://github.com/JayHeng/RT-UFL
2. copy:
RT-UFL-1.0\algo\SEGGER\JLink_Vxxx
to your Segger driver install path, eg: C:\Program Files\SEGGER\JLink
3. press the JLinkDLLUpdater.exe, update it.
4. in your MCUXPresso IDE, debug configuration, change the device name to:
MIMXRT1170_UFL_L0
Then, you can use that flashloader, that can help you enable the QE bit.
This chinese post is very useful:
https://www.cnblogs.com/henjay724/p/15430619.html
Wish it helps you!
Best Regards,
Kerry