qspi issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

qspi issue

跳至解决方案
2,399 次查看
sukyeong
Contributor III

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...

 

0 项奖励
回复
1 解答
2,342 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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.

kerryzhou_0-1690254449575.png

 

 

Wish it helps you!

Best Regards,

Kerry

 

在原帖中查看解决方案

8 回复数
2,385 次查看
Dhruvit
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
2,370 次查看
sukyeong
Contributor III

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?

0 项奖励
回复
2,365 次查看
sukyeong
Contributor III

sukyeong_0-1690158757063.png

 

now, R171, R176  is mounted.

Even if I remove it, the problem is the same...

0 项奖励
回复
2,343 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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.

kerryzhou_0-1690254449575.png

 

 

Wish it helps you!

Best Regards,

Kerry

 

2,324 次查看
sukyeong
Contributor III

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?

 

0 项奖励
回复
2,320 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @sukyeong ,

  What's the debugger and IDE you are using now?

  As different debugger and IDE have different flashloader.

 

Best Regards,

Kerry

0 项奖励
回复
2,317 次查看
sukyeong
Contributor III
Hi, @kerryzhou
I use J-LINK Base debugger
and MCUXpresso IDE.

thanks
0 项奖励
回复
2,293 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复