Installing U-Boot to the STM32F7 Discovery Board Print

 

Use the procedure documented below to install the U-Boot firmware to the internal Flash of the STM32F7 on the STM32F769I Discovery board. Having completed the installation, the STM32F7 will run U-Boot as a primary firmware on next reset / power on.

Please note that the installation will erase whatever other firmware may be installed on your STM32F7 Discovery at the moment and install the U-Boot image instead.

Here is the procedure:

  1. Set the CN3 jumper to the stlk position, to provide power to the board from the CN16 ST-LInk connector.
  2. Connect a USB type A to Micro-B cable between a Windows PC and the board ST-Link USB connector (CN16). This will also power the target up.
  3. Copy the U-Boot binary file (u-boot.bin) from the Emcraft Linux software distribution to the Windows PC.
  4. On the Windows PC, start the ST LINK Utility. In the ST LINK Utility interface, go to File -> Open file ..., browse to the u-boot.bin file and open it. Make sure the ST LINK Utility reports that the file has been successfully opened:
  5. In the ST LINK Utility interface, go to Target -> Program & Verify ... and make sure that the load address is set to 0x08000000, corresponding to the start of the STM32F7 internal Flash:
  6. Push the Start button to program the U-Boot binary into the internal Flash of the STM32F7. Make sure that that the ST LINK Utility reports that the programming and verification has completed successfully:
  7. Next reset / power-on should bring up the U-Boot command interface to the serial console of the STM32F7. Refer to the Connecting Serial Console to the STM32F7 Discovery application note on how to get access to the serial console port of the STM32F7 Discovery board. The initial U-Boot serial console interface should look as shown below:
  8. U-Boot 2010.03-cortexm-2.3.2 (Mar 14 2017 - 12:50:13)

    CPU : STM32F7 (Cortex-M7)
    Freqs: SYSCLK=216MHz,HCLK=216MHz,PCLK1=54MHz,PCLK2=108MHz
    Board: STM32F769I-DISCO Revision B-01, www.emcraft.com
    DRAM:   16 MB
    In:    serial
    Out:   serial
    Err:   serial
    QSPI: 64 MB mapped at 0x90000000
    Net:   STM32_MAC
    Hit any key to stop autoboot: 0
    STM32F7669I-DISCO>