Skip to main content
Associate
November 12, 2024
Solved

How to flash firmware from an sd card to the board without a bootloader or stm32IDE

  • November 12, 2024
  • 1 reply
  • 1294 views

Hello I am trying to currently flash and install a firmware file that is stored in a SD card in a STM32F746- Discovery board onto the board. I am new at working in this type the project the board its working as a mass storage device using the SD card as the storage and I want to be able to install any firmware files that is stored in the SD card tough an exe app I develop to be able and install it. I heard that using jumper it can be done, does anyone have any idea of how to do it or if anyone know any other way around.

Best answer by Tesla DeLorean

You have to actually write the code to make the magic happen. The ROM based System Loader doesn't provide for this mode of operation. It provides for Serial connectivity, and for USB-DFU mode

See Application Note AN2606

Perhaps look at

STM32Cube_FW_F7_V1.17.1\Projects\STM32746G-Discovery\Applications\USB_Device\DFU_Standalone

STM32Cube_FW_F7_V1.17.1\Projects\STM32746G-Discovery\Applications\FatFs\FatFs_uSD

STM32Cube_FW_F7_V1.17.1\Projects\STM32F769I_EVAL\Applications\IAP\IAP_Main\readme.txt

STM32Cube_FW_F7_V1.17.1\Projects\STM32756G_EVAL\Applications\USB_Host\FWupgrade_Standalone

 

1 reply

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
November 12, 2024

You have to actually write the code to make the magic happen. The ROM based System Loader doesn't provide for this mode of operation. It provides for Serial connectivity, and for USB-DFU mode

See Application Note AN2606

Perhaps look at

STM32Cube_FW_F7_V1.17.1\Projects\STM32746G-Discovery\Applications\USB_Device\DFU_Standalone

STM32Cube_FW_F7_V1.17.1\Projects\STM32746G-Discovery\Applications\FatFs\FatFs_uSD

STM32Cube_FW_F7_V1.17.1\Projects\STM32F769I_EVAL\Applications\IAP\IAP_Main\readme.txt

STM32Cube_FW_F7_V1.17.1\Projects\STM32756G_EVAL\Applications\USB_Host\FWupgrade_Standalone

 

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