code:
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
uploading error:
Determine FLASH area
libusb: error [init_device] device '\\.\USB#VID_0B05&PID_1939&MI_02#6&40FE908&0&0002' is no longer connected!
Due to its file extension (or lack thereof), "C:\Users\ADMIN\AppData\Local\Temp\arduino\sketches\90599553AFA460531A92D8B03EA160E0/Blink.ino.hex" is considered as INTEL HEX format!
1821 bytes at 0x8000... Tries exceeded
Failed uploading: uploading error: exit status 0xffffffff
Tool -> Board: STM8S103F3 breakout board
Tool -> Programmer: ST-link/V2
how to solve this uploading error.
Thank you
Your topic fits better in the Avrdude, stk500, Bootloader issues - Arduino Forum section that is more tailored to board detection and upload problems and hence has been moved.
@medex
Did you install an Arduino extension for STM8 boards?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.