‎2020-08-11 07:47 AM
Hi =)
I am designing a custom board with an STM8. I have a couple of STM32 Nucleo and eval board but looking at the schematics the ST-link only seem to have the SWD interface, not the SWIM.
I do not have any STM8 board from ST have but I have another "cheap" ST-Link like the picture below. This one has a SWIM interface.
My questions:
1) Is this ST-Link enough to program my STM8?
2) Which pins do I need to access on the STM8 - is it only SWIM and RST (+ VDD & GND)?
3) Will the STM8 always respond to the SWIM pin when booting up? Because I see no "Boot" pin like the STM32's have. What if the pin is not configured as SWIM in the firmware?
Thank you!! :D
Simon
‎2020-08-11 09:35 AM
1-yes
2- gnd - rst - swim (and vcc if board power is off)
3- if swim used for another function, you can only connect to MCU under reset.
‎2020-08-11 11:47 AM
Ha! Easy :D
Perfect - thanks for the reply!