Open mightycoco opened 2 years ago
@mightycoco thank you for reporting this issue! I thought this was a "quirk" of the XIAO and not related to Platformio. Having to manually put XIAO into bootloader mode with the pins is as you say is very cumbersome! I experience a high upload failure rate quite often as well when using Platformio.
Do you get different / better success rates from Arduino IDE?
@mightycoco thank you for reporting this issue! I thought this was a "quirk" of the XIAO and not related to Platformio. Having to manually put XIAO into bootloader mode with the pins is as you say is very cumbersome! I experience a high upload failure rate quite often as well when using Platformio.
Do you get different / better success rates from Arduino IDE?
Haven't tried using arduino ide lately. But a good point, I need to test out.
Currently I unplug the device and replug after the compiler is done. That way, the upload works more often than not.
The thing is, I've rarely experienced this on my old amd machine. So I guess it has something to do with my hardware configuration.
Haven't tried using arduino ide lately. But a good point, I need to test out.
I will test and see as well and see if there is any differences in success rates.
Currently I unplug the device and replug after the compiler is done. That way, the upload works more often than not.
I'll try that too and see if it works any better for me as well.
The thing is, I've rarely experienced this on my old amd machine. So I guess it has something to do with my hardware configuration.
I am using an older Mac laptop on an older Mac OS (10.14) for reference.
I'm experiencing the same problem using the latest PlatformIO. When the upload fails I get the error message:
Forcing reset with 1200bps
Uploading a cpp project to Seeeduino XIAO failes at about 50% of the time. The bossac executable stops after "Uploading...":
a working upload looks like this
The upload always works if
Prior uploading the device is put to programming mode in pioupload.py using TouchSerialPort which works only about 50% of the time.
I never had issues with uploading on my old PC but after having to upgrade to a new workstation, the situation is as described.