hoi,
ik krijg openocd niet aan de gang, maar gaat het ook met een USB to RS-232 Converter , met een FTDI Chip, ik heb dit gevonden: (alleen hoe zet ik boot0 high en boot1 low)
Find BOOT0 pin and set it to HIGH.
On discovery boards, VDD pin is near BOOT0 pin, so if you have jumper, just put it on.
Find PB2 (BOOT1) pin and set it LOW. On discovery boards, GND pin is near PB2 pin, so if you have jumper, just put it on.
If you don’t have jumpers, you can take 2 provided on discovery board. They are on the GND, if you rotate discovery board, under ST-link.
Reset device
We need to connect our USB to UART converter with STM32F4 device.
STM32F4 supports many UART combination.
TX: PA9; RX: PA10
TX: PB10; RX: PB11
TX: PC10; RX: PC11
I tested with these pins, maybe there are more pins.
If you are working with STM32F4-Discovery, then pins PA9 and PA10 will not work, because they have capacitor for USB connected to this pin. Use any other combination.
Connect TX of STM32F4 with RX of converter and RX of STM32F4 with TX of converter.
Let’s go back to out flash loader.
Leave settings as they are, just change “Port Name“, to your port name. My is COM3.
Hit “Next”