But if I use
platform = atmelsam
I can upload the code only once but then it “kills” the port and I can’t read Serial data nor upload new code !
The only way to get it back to upload is to force a reset with a double clic.
(but still, the com port is not working)
I am quite new to arduino and just discovered platformIO today which looks amazing!
I have the exact same problem. It has been driving me crazy all afternoon. Now I change platformio to be platform = atmelsam@3.6.1 and monitor is working.
I notice upload and monitor is too “fast” - the USB magic that happens in teh M0 hasn’t happened yet, but when I do monitor, it seems to work okay.
Is this a bossac problem or …?
I am on win10.
The problem is reproducible with Adafruit M0 wifi feather and an adalogger feather. I will get some other boards so I can test if that helps.
looking forward to using platformIO … fingers crossed.
Still not working for me
after uploading code with 3.8.0 I can’t get the monitor port to appear
can you post more details of your solution?
I am doing this
The other poster reverted back to platform = atmelsam@3.6.1 and then had the issue of the serial monitor re-opening too fast. Meaning the underlying issue you have still hasn’t been resolved.