– Copied from customer email –
How do I program your boards?
– Copied from customer email –
How do I program your boards?
First you need to make the firmware programmer + cable assembly. For this, purchase…
Tag Connect 6 Pin header ($33.95)
STLink V2 ($14.95)
Jumper Wires ($2.10)
Heatshrink kit ($36.81) (Optional, useful to keep the jumper wires in place).
Download STM32 ST-Link Utility (free).
STEPS
Connect the ST Link V2 to the pogo pin 6 pin header. The photo below shows the pins to connect to on the pogo pin header. The corresponding pins on the ST-Link V2 are labelled on the device. Use any jumper cables less than 300mm.
Connect the ST-LINK V2 to computer
Connect the 6 pin segger to the board and power on the board.
Open up STM32 ST-LINK Utility
Go to Target > Settings…
Open settings and ensure the settings are as below. You will see an error if the computer cannot find the ST-Link V2. This can be because the drivers for the ST-Link V2 are not installed. Open Windows Device Manager and check this.
Click ok, if you see the message below, it means the target (board) is not connected properly, or there is no power.
You should see the following message (or something similar) if successful.
Open the .hex file.
Go to Target > Program and Verify…
Select the settings below and click start.
If successful, the message below will be displayed.
For faster programming, select automatic mode