Installing U-Boot to the STM32F7 Discovery Board
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:
- Set the CN3 jumper to the stlk position, to provide power to the board from the CN16 ST-LInk connector.
- 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.
- Copy the U-Boot binary file (u-boot.bin) from the Emcraft Linux software distribution to the Windows PC.
- 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:
- 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:
- 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:
- 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:
U-Boot 2010.03-cortexm-2.3.2 (Mar 14 2017 - 12:50:13)
CPU : STM32F7 (Cortex-M7)
Board: STM32F769I-DISCO Revision B-01, www.emcraft.com
DRAM: 16 MB
QSPI: 64 MB mapped at 0x90000000
Hit any key to stop autoboot: 0