OLIMEX© 2016
STM32-H405 user's manual
3.3 Powering the board
The board can be powered in one of the following ways:
1) Using the JTAG or SWD debugger – the board gets powered via the 20-pin 0.1” step JTAG
connector; note that some tool might hold the board in RESET state – make sure to release the
microcontroller from RESET to be able to see the execution of your code
2) Using USB cable – the board gets powered via the USB connector; the power is provided,
typically, by your computer's USB port
3) Using external power supply – in this case, the board gets powered via the EXT2 header –
p5V DC to pin #26 of this header; then connect the power supply's GND to pin #25 of
EXT2.
3.4 Programming the board
The programming of the board is also fairly straight forward (unlike the software development for
the board):
3.4.1 Using JTAG debugger
This is the recommended method of changing the software of the board. This is fairly simple from
hardware point of view – just plug the male 20-pin JTAG connector of your hardware tool to the 20-
pin female JTAG connector of STM32-H405.
Refer to the documentation of your debugger and also to the documentation of the software of
choice on instructions how to set the environment.
3.4.2 Using USB cable
The board can be programmed without a debugger tool. In this case you only need a personal
computer that is able to run Windows software and an USB cable.
STM32-H405 has a built-in USB DFU bootloader that allows such programming.
Programming STM32-H405 via the bootloader is a slow process that requires the re-configuration
of SMD jumper. It is not recommend for initial evaluation, research and development (use any
ARM JTAG debugger instead). Using the bootloader might be good idea only if you need to
program the board once or twice.
How to do it:
1. Change the position of one of the boot SMD jumpers – B0_H/B0_L (the bottom one). By default
it is set to position B0_L – you need to change it to B0_H. This requires soldering.
2. After the adjustment is done you can connect to the DfuSe software released by STM. It available
for download from STM's official web-site. Search for “STSW-STM32080”.
3. Install the software and run it.
Page 12 of 30