#STM32C031C4G6
Explore tagged Tumblr posts
Text
Connect STM32C0 to computer
Notes to self because I'm sure I'll forget this in three months time.
STLink v2 (generic cheap clone) doesn't seem to work (or I'm being stupid)
STLink v3 MINIE is the weapon of choice
Does not have any useful plugs whatsoever but you can solder wires to the edge connector fingers at the bottom
That feels wrong but honestly when am I going to design a board that's gonna need those? My stuff is for model railroads I don't have space for an edge connector like that
TMS to SWDIO
CLK to SWCLK
RST to NRST (no special logic necessary, yes even though NRST is negated, it seems they didn't have space for that extra letter on the board). This is optional according to ST, and in my case the cable came off and everything still worked, so, you know
GND to GND
VCC to your target 3.3V output! The thing you have on your board to power your MCU. STLink v3 MINIE uses this only to find out what you're running the MCU at. Implied in this: You can't use this STLink to power your target board, you always have to provide external power.
Most important letter in STLink is the L.
It's really not that difficult once you've figured this all out, and thankfully I had ordered this STLink v3 on a whim earlier, but it's not directly apparent. I'm sure there's an application note or something that will tell you this even better.
#programming#microelectronics#electronics#mcu#stm32#stlink#stm32c0#STM32C031C4#STM32C031C4G6#say what you want but 48 MHz for the price of an ATTiny?#I don't even need 48 MHz for my model railroad train car lighting but if I can get it I mean why not
1 note
·
View note