spaceneedle / Chromeduino

Arduino IDE and programmer (avrchick) for ChromeOS/Chrome Browser
38 stars 14 forks source link

"Could not set baudrate" error #20

Open twsobey opened 4 years ago

twsobey commented 4 years ago

We're using Chromeduino with high school students and about 10% are getting an error saying, "Could not set baudrate" when attempting to upload code to their Arduino. It usually doesn't happen at first, but only after they've successfully uploaded a few times. Sometimes rebooting the chromebook seems to help, but not always. I didn't see anywhere we could set the baudrate and have only found one reference to this error online with no solution. Any help? Thanks

mrfrase3 commented 4 years ago

I'm not sure why this is happening. You can set the baud rate in the serial monitor. The baud rate is also automatically set before programming.

What model of Chromebook are you using? This sounds like an issue with Chrome's serial api.

On Fri, 23 Oct 2020, 05:47 Woody, notifications@github.com wrote:

We're using Chromeduino with high school students and about 10% are getting an error saying, "Could not set baudrate" when attempting to upload code to their Arduino. It usually doesn't happen at first, but only after they've successfully uploaded a few times. Sometimes rebooting the chromebook seems to help, but not always. I didn't see anywhere we could set the baudrate and have only found one reference to this error online with no solution. Any help? Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spaceneedle/Chromeduino/issues/20, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZKU3XSWBGXMMYAK26YQVDSMCR7BANCNFSM4S3YPMAA .

twsobey commented 4 years ago

Thanks for the reply. We're using HP Chromebook x360 11 G1 EE

I don't think this has to do with the serial monitor since it happens when they're uploading code and most have not started using the serial monitor yet. A few had this problem start when they were programming the built-in LED to blink, but maybe there's more going on behind the scenes with the serial monitor than I know.

mrfrase3 commented 4 years ago

Hm, want to give version 3.0 a go? It uses the new Web Serial API. You can find it here: https://duino.app

twsobey commented 4 years ago

Thank you. We'll try that and I'll let you know how it goes.