MIMXRT1060-EVK: Failed to initialize flash driver MIMXRT1060_SFDP_QSPI.cfx error

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

MIMXRT1060-EVK: Failed to initialize flash driver MIMXRT1060_SFDP_QSPI.cfx error

Jump to solution
1,293 Views
kenji
Contributor IV

Hi All

I have this error when start debug the code.

kenji_0-1624954054634.png

I want to know the cause of the problem and how to solve this problem.

I'm new with i.MX1060 and I don't really understand how the MIMX RT1060-EVK program works.
As far as I searched, I found the following solution, but I couldn't solve yet.

https://community.nxp.com/t5/i-MX-RT/QSPI-Flash-Programming-Problem/m-p/1038960

I want to restore the board to the factory default state.

 

0 Kudos
1 Solution
1,250 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
According to the below figure, it seems like the MCU fail to connect with the QSPI, so I guess the issue is related to the hardware and please check the hardware connection circuit with the QSPI.

kenji_0-1625038325963.png
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
7 Replies
1,282 Views
kenji
Contributor IV

Additional information.

flashloader project could debug, but other project not. Someone knows the difference?

kenji_0-1624964359249.png

 

 

0 Kudos
1,272 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
The flashloader demo project is aimed to run in RAM instead of the QSPI flash, so it needs to enable the Link application to RAM prior to debugging.
Hope this is clear.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,270 Views
kenji
Contributor IV

Hi jeremyzhou-san

Do you know how to recover the MIMXRT1060-EVK, QSPI Flash?

0 Kudos
1,265 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply
1) Do you know how to recover the MIMXRT1060-EVK, QSPI Flash?
-- You can try this trick to recover.
1) Set the SW1 to Serial Downloader.
2) Power on the board, debug a simple demo project, such as hello_world demo.
3) After that, power off and recover the SW1 to the previous set, then power on again.
4) After that, you can give debug again to confirm the board is able to debug or not.
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,259 Views
kenji
Contributor IV

Hi jeremyzhou-san

I tried, but I couldn't recover the board.

Fist I couldn't download the firmware to MCU.
These are messages that I had from the IDE.

kenji_0-1625037171615.pngkenji_1-1625037185555.png

kenji_2-1625037208245.pngkenji_3-1625037248053.png

The reason why this happened is because I removed the QSPI resistor. Currently, I have restored it, but the firmware cannot be written.

Do you know other solution for this?

Also I try Flashloader_RT106x_1.0_GA tools, but I couldn't solve.

 

By the way, this is error message I had when use MCU Boot Utility.

kenji_0-1625038325963.png

 

 

0 Kudos
1,251 Views
jeremyzhou
NXP Employee
NXP Employee

Hi,
Thanks for your reply.
According to the below figure, it seems like the MCU fail to connect with the QSPI, so I guess the issue is related to the hardware and please check the hardware connection circuit with the QSPI.

kenji_0-1625038325963.png
Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
1,242 Views
kenji
Contributor IV

Hi jeremyzhou-san

One of the register for QSPI was broken. I replace it, and could write firmware and debug, following your instruction above.

Thank you!

0 Kudos