Arduino IDE does't recognize STM8

Hi,
I followed the link:

and did all steps.
Installed STM driver and the device manager OK.
But the Arduino IDE does't recognize it, both my laptop same, why?
Thanks
Adam

Please provide a detailed description of what you mean by that. Make sure to post the full and exact text of any error or warning messages you might be getting.

Thanks.
The laptop has sound when the st-link v2 plugged in, Arduino didn't show a port.

As the tutorial says:

Note : Unlike Arduino boards, you do not have to select the right COM port for programming the board. You will use the COM port only for serial communication.

The ST-Link is a pure USB device, so it's not expected to provide a serial port.

Thanks.
As the picture shown, the 'port' is unpick-able.

That's normal and expected. The person in the tutorial did have a COM3, but there is no indication of what that was. It might have been a completely different device, or they might have had a USB to serial adapter connected to their STM8 board.

You won't get a COM port from only having an ST-Link connected, so don't bother looking for one.

I see you're getting an error while attempting to burn the bootloader. I only did a quick skim of the tutorial, but I didn't see any mention of burning a bootloader.

Thanks.
Fiestly please forgot the bootloader, it is a mistake click.
I do have a ST-Link with a STM8 board connected as the tutorial did. still no port active.

As I've told you multiple times now, that is normal and expected. Please try doing an upload.

Thanks.
Sorry I did't mention that I have tried upload many times and got error:

Arduino: 1.8.13 (Windows 7), Board: "STM8S103F3 Breakout Board"

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/bin/sdcc sketch\Blink.ino.cpp preproc\ctags_target_for_gcc_minus_e.cpp re12 -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ -E -MC -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/include -DARDUINO_LIB_DISCOVERY_PHASE

Mark re12:C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/bin/sdcc -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ -E -MC -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/include -DARDUINO_LIB_DISCOVERY_PHASE sketch\Blink.ino.cpp -o preproc\ctags_target_for_gcc_minus_e.cpp

cpp gefunden

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/bin/sdcc sketch\Blink.ino.cpp sketch\Blink.ino.cpp.o re2 -MMD -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ --less-pedantic -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/include

Mark re2:C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/bin/sdcc -MMD -c -Ddouble=float -DUSE_STDINT -D__PROG_TYPES_COMPAT__ --less-pedantic -mstm8 -DSTM8S103 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_STM8S_BLUE -DARDUINO_ARCH_STM8 -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\cores\sduino -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0\variants\standard -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\hardware\stm8\0.5.0/STM8S_StdPeriph_Driver/inc -IC:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\sdcc\build.11242/include sketch\Blink.ino.cpp -o sketch\Blink.ino.cpp.o

cpp gefunden

Sketch uses 1703 bytes (20%) of program storage space. Maximum is 8192 bytes.

Global variables use 72 bytes (7%) of dynamic memory, leaving 952 bytes for local variables. Maximum is 1024 bytes.

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\sduino\tools\STM8Tools\2019.02.05/win/stm8flash -cstlinkv2 -pstm8s103?3 -s flash -w C:\Users\HUA~1.DEL\AppData\Local\Temp\arduino_build_19721/Blink.ino.hex 

Determine FLASH area


libusb: warning [init_device] could not get node connection information for device '\\.\USB#VID_0483&PID_3748#6&2CA71F55&0&4': [87] The parameter is incorrect.

libusb: info [cache_config_descriptors] could not access configuration descriptor (dummy) for '\\.\USB#VID_138A&PID_0011#047350EAC9FD': [31] A device attached to the system is not functioning.

libusb: info [cache_config_descriptors] could not access configuration descriptor (dummy) for '\\.\USB#VID_8086&PID_0189#6&37D8F278&0&5': [31] A device attached to the system is not functioning.

libusb: warning [init_device] could not get node connection information for device '\\.\USB#VID_0483&PID_3748#6&2CA71F55&0&4': [87] The parameter is incorrect.

Could not open USB device.

An error occurred while uploading the sketch



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.