platformio / platform-atmelavr

Atmel AVR: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/atmelavr
Apache License 2.0
136 stars 104 forks source link

Can't upload to ATmega2561 once Serial Monitor is opened. #198

Closed gudnimg closed 3 years ago

gudnimg commented 4 years ago

Hi. I upload once to the ATmega2561, open the Serial Monitor. Then I close the Serial Monitor and upload again and I get

ser_open(): can't open device "\.\COM8"

I have no problems with ATmega2560. When I open my code with Arduino IDE it always works which makes me think there is a bug in PlatformIO. For reference I am using MegaCore.

gudnimg commented 3 years ago

I'm closing this... I've been using the ATmega2561 for the past few weeks and I can't seem to replicate the issue anymore. This rarely happens now for whatever reason.