tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
355 stars 217 forks source link

How to select Port in Windows ? #31

Closed albertlu2013 closed 6 years ago

albertlu2013 commented 6 years ago

I can not find the Port for the stm8s105c6t6 discovery in the Arduino IDE. How to select Port for it in Win7 ?

image

tenbaht commented 6 years ago

The upload is done via the builtin ST-Link interface using stm8flash. That means it doesn't use a serial port and there is no need to select any, but you need to download and install the ST-Link/v2 driver before you plug in the flash tool: STSW-LINK009 driver download (Registration required, but very easy)

albertlu2013 commented 6 years ago

Hi Michael Mayer

Thanks for your reply . I have installed the STSW-Link009 driver . I get the error message :

Determine FLASH area

libusb: info [cache_config_descriptors] could not access configuration descriptor (dummy) for '\.\USB#VID_0A5C&PID_21E6#B8763FAE915E': [31] 連結到系統的某個裝置失去作用。 libusb: info [cache_config_descriptors] could not access configuration descriptor (dummy) for '\.\USB#VID_147E&PID_2020#6&30868024&0&3': [31] 連結到系統的某個裝置失去作用。 Could not open USB device. An error occurred while uploading the sketch

Do you know How can I to do ?

Thanks

2017-11-14 7:30 GMT+08:00 Michael Mayer notifications@github.com:

The upload is done via the builtin ST-Link interface using stm8flash. That means it doesn't use a serial port and there is no need to select any, but you need to download and install the ST-Link/v2 driver before you plug in the flash tool: STSW-LINK009 driver download http://www.st.com/en/development-tools/stsw-link009.html (Registration required, but very easy)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tenbaht/sduino/issues/31#issuecomment-344094475, or mute the thread https://github.com/notifications/unsubscribe-auth/AD2PNiyZ5MFJYHdBthz-TuiRuemiY_w5ks5s2NENgaJpZM4QbHT4 .

-- Best regards

阿貴 Albert Lu