Bootloader installation
Posted: Sat Dec 28, 2019 12:47 am
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).
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).