Skip to main content
Associate
January 23, 2026
Solved

STM8S001J3M3 Programing/Flashing

  • January 23, 2026
  • 1 reply
  • 263 views
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.
    Best answer by Peter BENSCH

    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

    1 reply

    Peter BENSCH
    Peter BENSCHBest answer
    Technical Moderator
    January 29, 2026

    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

    DC_14Author
    Associate
    February 6, 2026

    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
    Technical Moderator
    February 6, 2026
    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