Skip to main content
pk84
Associate III
September 19, 2022
Question

Which configurations do I have to consider if I want to use a STM32H750B-Disco example as e.g. "TIM_TimeBase" with another board that uses a different QSPI flash memory (program code on external qspi-flash)?

  • September 19, 2022
  • 1 reply
  • 3161 views

Here is my approach:

1) I think I have to adjust the pin configuration in the "memory_msp.h" of the ExtMem_Boot project first

2) Then I would have to include the correct QSPI driver in the "qspi.c" file.

3) Provide the correct ".stldr" external loader file

What else do I need to consider?

  • Does it need changes in the "STM32H750XBHx_FLASH.Id" file? If yes, how do I approach this?
  • ...

Thank you

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
September 19, 2022

Does the Linker script describe internal or external memory?

TIM shouldn't care.

Can you run from internal?

If a bootloader has already run you shouldn't need to touch QSPI setup or clocks again. ​

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
pk84
pk84Author
Associate III
September 19, 2022

>>Can you run from internal?

No, I specifically want to load the code onto an external flash. And I want to learn how to configure all this.

I currently have two STM32 examples running via external flash on the DISCO. Now I want to get it running on another board that uses a different QSPI flash.