qspi issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

qspi issue

Jump to solution
1,450 Views
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 Kudos
Reply
1 Solution
1,393 Views
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

 

View solution in original post

8 Replies
1,436 Views
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 Kudos
Reply
1,421 Views
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 Kudos
Reply
1,416 Views
sukyeong
Contributor III

sukyeong_0-1690158757063.png

 

now, R171, R176  is mounted.

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

0 Kudos
Reply
1,394 Views
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

 

1,375 Views
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 Kudos
Reply
1,371 Views
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 Kudos
Reply
1,368 Views
sukyeong
Contributor III
Hi, @kerryzhou
I use J-LINK Base debugger
and MCUXpresso IDE.

thanks
0 Kudos
Reply
1,344 Views
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 Kudos
Reply