Skip to main content
Associate
April 28, 2025
Question

stm32h7s78-dk how to run FATfs Multi Access

  • April 28, 2025
  • 1 reply
  • 385 views

Hi Team,


I'm trying to run Fatfs Multi Access example in the stm32h7s78-dk. Im having hard time understanding the Readme instructions.  I have the switch set to boot0.

Im using stmcube progrmamer. I have added external loader: MX66UW1G45G_STM32H7S78-DK.stldr too then loaded the code. but it doesn't work. 

Am I missing something? What should I do with 

Template_XIP_Boot.hex file? A clear step by step intructions would be great


Thank you
Rohit

1 reply

MOBEJ
ST Employee
April 29, 2025

Hello @ropodi17 , 

To ensure the program functions correctly, follow these steps using STM32CubeIDE: 

  • Compile the example/application; the elf file is required to configure the debug profile (the “active configuration” must be “debug”, else only assembly debug is available)
  • Open the menu [Run]->[Debug configuration] and double click on [STM32 C/C++ Application] (it creates a default debug configuration for the current project selected)
  • In [Debugger] tab, section “External loaders” add the external loader corresponding to your Board/Memory as described below:
  • In “External loaders” section, click on [Add]
  • Select the loader among the available list (MX25UW25645G_NUCLEO-H7S3L8.stldr or MX66UW1G45G_STM32H7S78-DK.stldr)
  • Option “Enabled” checked and Option “Initialize” unchecked
  • In “Misc” section, uncheck the option “Verify flash download”
  • In [Startup] tab, section “Load Image and Symbols”:
    • Click on [Add]
    • If your project contains a boot project:
      • click on “Project” and then select the boot project.
      • click on Build configuration and select “Use active”.
      • then select the following options:
        • “Perform build” checked.
        • “Download” checked.
        • “Load symbols” unchecked.
    • If your project doesn’t contain a boot project:
      • click on [File System] and select the Boot HEX file corresponding to your board

        Boot_XIP.hex can be found in folder [Binary] on each Template_XIP project

        You may need to force the capability to select a .hex file by typing " * " + pressing the “Enter” key in the file name dialog

      • then select the following options:
        • “Download” checked.
        • “Load symbols” unchecked.
        • Click Ok
      • Back in the in the [Startup] tab, move down the boot project for it to be in second position
  • Our debug configuration is ready to be used.

Thank you, and I hope this helps!

 

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.
ropodi17Author
Associate
April 29, 2025

Hi @MOBEJ ,

 

Thanks for the detailed steps in STM32cubeIDE, 
Actually I would like to know how to program the board using STM32CUBE Programmer. To program it permanently.

Thanks