Skip to main content
Associate
Jan 23, 2026 10:54 AM UTC
Solved

STM8S001J3M3 Programing/Flashing

We have provided SWIM, 5V, and GND connections to the microcontroller for programming and debugging purposes. 
Is it possible to program the ST8S001J3M3 MCU using the ST-Link V2 or V3 via the 5V, SWIM, and GND connections?
Please find the attached reference schematic for your review.
DC_14_2-1769164885709.png

 

Additionally, if there are any recommendations or required corrections in the schematic related to programming connection, kindly let us know.
 
We look forward to your valuable response.
    Peter BENSCH
    Peter BENSCHBest answer
    ST Technical Moderator
    Jan 29, 2026 10:46 AM UTC

    Welcome @DC_14, to the community!

    With your assignment of SWIM, VCC and GND, you can debug and program, but only with ST-LINK/V2, ST-LINK/V2-1 and ST-LINK/V2-ISOL, not with ST-LINK V3.

    Please note: there are many illegal clones of ST-LINK/2, for which functionality cannot be guaranteed (see, for example, the discussion about clones, even if it initially concerns the target platform STM32).

    Does it answer your questions?

    Regards
    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

    3 replies

    Peter BENSCH
    Peter BENSCHBest answer
    ST Technical Moderator
    Jan 29, 2026 10:46 AM UTC

    Welcome @DC_14, to the community!

    With your assignment of SWIM, VCC and GND, you can debug and program, but only with ST-LINK/V2, ST-LINK/V2-1 and ST-LINK/V2-ISOL, not with ST-LINK V3.

    Please note: there are many illegal clones of ST-LINK/2, for which functionality cannot be guaranteed (see, for example, the discussion about clones, even if it initially concerns the target platform STM32).

    Does it answer your questions?

    Regards
    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    DC_14Author
    Associate
    Feb 6, 2026 8:49 AM UTC

    Hi Peter,

    Thank you for your response.

    I need some clarification regarding this controller:

    1. Which IDE and version of Cube MX should be used for configuring and building the project for this controller?

    2. Please confirm whether the ELF file can be flashed using STM32CubeProgrammer via SWIM.

    3. Could you also confirm whether these tools are supported on Windows 11? If not, please specify which operating system is required.

    Peter BENSCH
    ST Technical Moderator
    Feb 6, 2026 10:58 AM UTC
    1. You can find the tools for your device on the product website under Tools & Software. STMicroelectronics provides STVD as an IDE, which can also be used under Windows 11 if you install it in a directory with a short path containing only ASCII characters, e.g. C:\ST (here in the community, you will find some tips under the keyword STVD).
      Alternatively, you can use the C compiler from Cosmic.
    2. ELF is only supported for STM32, it does not work with STM8
    3. see 1

    Regards
    /Peter

    In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.