cancel
Showing results for 
Search instead for 
Did you mean: 

STM8S001J3M3 Programing/Flashing

DC_14
Associate
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.
1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

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.

View solution in original post

3 REPLIES 3
Peter BENSCH
ST Employee

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.

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.

  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.