STM32 Programming Connector Standard
Introduction
For a long time this has been an undefined situation on WARG how we want to connect to STM32 microcontrollers for programming. Document to be developed more by electrical and firmware over time.
Table of Contents
Relevant Context
Past Conversations
https://discord.com/channels/776618956638388305/1112150333137895474/1229167301413179594
https://discord.com/channels/776618956638388305/1025822610958843956/1063154891595456563
https://discord.com/channels/776618956638388305/871635283886637117/1038241743033872484
https://discord.com/channels/776618956638388305/929940600692813834/1152000543787581543
https://discord.com/channels/776618956638388305/1239273530022039674/1242579629580095518
Why we like STM32?
other micros have nice flashing features
ST micro is pretty good, idk, firmware people to fill this out
Solutions
WARG Historical Connector Usage
We considerred putting STLINK on pcba isnt viable for space reasons. cost wise also tough. also weight. we are devving for drones.
previous I dont know
ZP3 uses x and y
6-pin JST
esc can adapter
Single Servo Module
6s servo module
6S Power Module
LED board 30.5x30.5
rpi interface rev b
LED board motor mount
Tag connect
none yet
Tag Connect
TAG-Connect for flashing bootloader. cheap on pcb side, expensive on user side bc the cables they sell are quite expensive. we should switch to this primarily? takes some board space and needs through holes
tag connect link
Adafruit JTAG adapter JTAG (2x10 2.54mm) to SWD (2x5 1.27mm) Cable Adapter Board
Bootloaders
programming over CAN, USB, or another higher level protocol after the bootloader is flashed. flash bootloader with tagconnect? we cant rlly flash bootloader in factory
JST-GH 6-pin
Using a JST connector then we can use a JST to adapt to anything we want to such as the adafruit STM programming STLink. STLInk is an SWD to USB adapter. Should be used whenever we have space.
Pinout chosen somewhat arbitrarily shown below:
Â
Â