Skip to main content
Jul 16, 2023 9:07 PM UTC
Solved

How make external loader w25q256 for STM32H723zgt6?

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

Thanks.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 20, 2023 1:11 AM UTC

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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

13 replies

Tesla DeLorean
Guru
Jul 16, 2023 11:04 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Jul 17, 2023 5:50 AM UTC

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

KDJEM.1
ST Technical Moderator
Jul 17, 2023 7:33 AM UTC

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 "Best answer" on the reply which solved your issue or answered your question.
Jul 17, 2023 12:51 PM UTC

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
ST Technical Moderator
Jul 18, 2023 2:57 PM UTC

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 "Best answer" on the reply which solved your issue or answered your question.
Tesla DeLorean
Guru
Jul 17, 2023 7:09 PM UTC

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 Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..