Skip to main content
Sindhu Vadde
Associate III
November 17, 2021
Solved

How do we write read and erase the QSPI memory(NOR flash) in Stm32mp157a Uboot?

  • November 17, 2021
  • 1 reply
  • 876 views

Hi,

We are using Stm32mp157a processor and uboot2018.11 version.We have QSPI interface to NOR flash. We want to write,Read and erase the Data in Qspi Memory(i.e,Nor flash).We want to boot the image from Nor flash,How can we do that ?

Thanks in Advance.

This topic has been closed for replies.
Best answer by Kevin HUBER

Hello @Sindhu Vadde​ ,

The boot from a NOR flash is supported. This wiki page explains this mode for the ROM: https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Boot_from_serial_NOR

Then you can find the environment variable to set to U-boot here: https://wiki.st.com/stm32mpu/wiki/U-Boot_overview#U-Boot_environment_variables

Do not hesitate to read the wiki, a lot of information are on it.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

1 reply

Kevin HUBER
Kevin HUBERBest answer
ST Employee
November 18, 2021

Hello @Sindhu Vadde​ ,

The boot from a NOR flash is supported. This wiki page explains this mode for the ROM: https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Boot_from_serial_NOR

Then you can find the environment variable to set to U-boot here: https://wiki.st.com/stm32mpu/wiki/U-Boot_overview#U-Boot_environment_variables

Do not hesitate to read the wiki, a lot of information are on it.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question.