How to erase QSPI flash with SD Boot

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

How to erase QSPI flash with SD Boot

997 Views
yuichi_takeda
Contributor I

Hello, Community

Previously, when I asked about how to recover from an abnormal image written on the MCIMX7SABRE board, I was advised to boot from an SD card.

Thank you for your suggestion!

I could start up from the included SD card with reference to the Quick Start Guide.
However, when I started U-Boot and tried to erase QSPI flash with the "erase" command, it did not work.
I tried other flash related commands ("flinfo", "protect"), but they didn't work as well.

There was no response to the command.

Do you know why?
If the QSPI flash erase method is wrong, please tell me the correct method.

I attached the image of the PC terminal at that time.

pastedImage_1.png

Best regards,

Yuichi Takeda

Labels (1)
0 Kudos
2 Replies

789 Views
igorpadykov
NXP Employee
NXP Employee

Hi Yuichi

one can try to follow sect.4.4.1.5 Flashing an Arm Cortex-M4 image on QuadSPI

attached Linux Guide and Demo Images from link i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

789 Views
yuichi_takeda
Contributor I

Hi, igor

Thank you for your reply!

I tried to check, but the "sf" command was not available.

pastedImage_1.png

There seems to be a similar problem as shown in the thread below.

How to add uboot "sf probe" command 

If it is the same problem, the specified resistors has been populated on the board.

So, does the following statement mean that we need to rebuild U-Boot?

------------------------------------------------------------------------------------------------------

also please check uboot configs CONFIG_SYS_USE_QSPI 

in include/configs/mx7dsabresd.h

------------------------------------------------------------------------------------------------------

Is it possible to erase the QSPI flash using the U-Boot included in the SD card included with the MCIMX7SABRE board?

 

Best regards,

Yuichi Takeda

0 Kudos