Here are my procedures for flashing the bootloader on a fresh pill:
1. Move the top jumper to the right.
2. Use test clips to connect a usb-uart bridge's RX to PA9 and TX to PA10 on the board.
3. Plug usb-uart into Windows PC.
4. Plug board into Windows PC.
5. Check with devmgmt.msc what the serial port number is.
6. Run stm demonstrator.
Is there any way to cut any minutes in the process?
Note that I don't bother with connecting the ground between the usb-uart bridge and the board, since they're both plugged into USB on the same PC, and that seems to be good enough for connecting the grounds. I assume this is not best practices but it saves me dealing with another test clip, and hasn't given me any trouble. I also don't bother to solder anything at this stage, unless the board needs BOOT0/BOOT1 header pins to be soldered.
My one problem is that I keep on forgetting which which of PA9 and PA10 goes to RX and which goes to TX, and so I always have to google (and with the stm32duino wiki down, it's harder).
Bootloader installation
Re: Bootloader installation
Andreas Spiess who used to be a member in the old forum introduced the use of 'dupont wire shells'
https://youtu.be/eI3fxTH6f6I?t=196
i find it quite innovative as you can make your custom connecting wires
https://youtu.be/eI3fxTH6f6I?t=196
i find it quite innovative as you can make your custom connecting wires

-
- Posts: 505
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: Bootloader installation
For STM32 chips the Tx is the first and has the lower number.
So PA9 is Tx, the next (PA10) is Rx. This applies for other U(S)ART ports, too.
So PA9 is Tx, the next (PA10) is Rx. This applies for other U(S)ART ports, too.