Skip to main content
July 16, 2023
Solved

How make external loader w25q256 for STM32H723zgt6?

  • July 16, 2023
  • 4 replies
  • 8683 views

Hi How to make external OctoSPI loader for STM32H723zgt6 with octospi and w25q256

Thanks.

This topic has been closed for replies.
Best answer by Tesla DeLorean

I can't spend hours debugging / fixing your project.

Based on my existing Winbond implementation https://github.com/cturvey/stm32extldr/blob/main/h7_w25q256/CLIVEONE-W25Q256_STM32H72X-PB2-PG6-PF8-PF9-PF7-PF6.stldr

4 replies

Tesla DeLorean
Guru
July 16, 2023

The mechanics of the loaders are the same for QUAD and OCTO SPI. If you have a working BSP for your part on your board you should be able to migrate that into a loader. Getting the Erase and Write performing correctly in your BSP and an App you can debug will help speed the process.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
July 17, 2023

Thanks, but I don't know how to make it for stm32h723zgt6 and w25q256

KDJEM.1
Technical Moderator
July 17, 2023

Hello @unknown ;

The OCTOSPI provides a flexible hardware interface, that enables the support of multiple hardware configurations: Single-SPI (legacy SPI), Dual-SPI, Quad-SPI, Dual-quad-SPI and Octo-SPI.

The W25G25 is a serial flash memory with DUAL/QUAD SPI.

To configure this QUAD memory, I recommend you to refer to AN5050 table 6.

 Also I think How to create an external QSPI loader MOOC can help you.

When your question is answered, please close this topic by choosing "Accept as Solution". This will help other users find that answer faster.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
July 17, 2023

Thank you, but can I use an external loader that I previously wrote for stm32h743iit6 and for Quad spi  for this micro?

If possible, give a project to generate the stldr by octospi

KDJEM.1
Technical Moderator
July 18, 2023

Hello @unknown ,

Thanks to STM32CubeProgrammer software description you can create a a new external memory loader. For that, please follow the steps shared in UM2237 and precisely 2.3.3 Developing customized loaders for external memory section.

 Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
July 17, 2023

They are very similar, but the HAL / peripheral for the OCTOSPI is different, so you'll need to port to the new forms/structures for the commands, width, etc.

Unfortunately ST doesn't compensate or sponsor my work.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..