Confused about qspi chip status on 1060 eval board

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

Confused about qspi chip status on 1060 eval board

跳至解决方案
1,423 次查看
jautry
Contributor IV

I am reading the status reg of the qspi chip on the 1060 eval board, and the top 4 bits are always set.  This means the QE bit is set but also the protect bits.  Obviously the memory is not protected as I can program it, so does that mean if QE is set, the protect bits are meaningless?  Writing the register with the sample flexspi program seems to have no effect, 4 top bits always set.

标签 (1)
标记 (1)
0 项奖励
1 解答
1,386 次查看
jautry
Contributor IV

My issue is that I wanted to read out more of the flash registers so kept adding LUT sequences forgetting there was a 16 limit.  Turns out the problem I was trying to solve was a bug in the SEGGER PLink flash loader with regard to larger flash devices.  They have found it and are releasing an update.

在原帖中查看解决方案

4 回复数
1,401 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jautry ,

   Do you mean, you read MIMXRT1060-EVK board, ISSI IS25WP064AJBLE flash status register, and find the above 4 bit is high, right?

   Just like the following situation:

 

kerryzhou_1-1651718593088.png

Please share your test result screen.

You can use this code to test it again:

SDK_2_11_1_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexspi\nor\polling_transfer

As it just write the QE bit.

Wish it helps you!

Best Regards,

Kerry

 

0 项奖励
1,394 次查看
jautry
Contributor IV

That is true, the top 4 bits were high.  But found I had made an error in the LUT tables.

标记 (1)
0 项奖励
1,392 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @jautry 

    Which detail LUT issue you found?

    In fact, another good way, you can write the status register all back to 0, then read it out, then enable the bits which you want, just test it, whether that works OK or not?

  Best Regards,

Kerry

0 项奖励
1,387 次查看
jautry
Contributor IV

My issue is that I wanted to read out more of the flash registers so kept adding LUT sequences forgetting there was a 16 limit.  Turns out the problem I was trying to solve was a bug in the SEGGER PLink flash loader with regard to larger flash devices.  They have found it and are releasing an update.