You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi !
When uploading code to an arduino leonardo, the normal serial port doesn't re-appears after uploading. Instead, the arduino stays on the bootloader serial port.
Import project in Eclipse and add main.cpp source code
Upload a first time. It should work, but the serial port is lost. You will see instead "Arduino leonardo bootloader" in the device manager.
Re-upload. It will fail.
You can unbrick the board by uploading a sketch using Arduino IDE(1.8.1). (set the port corresponding to Arduino leonardo bootloader). The normal serial port re-appears (Arduino Leonardo).
Actual Results
After an upload, the serial COM present is the bootloader, not the normal COM port. The uploaded code is running (blink demo code, tested with several delay). But the Serial communication doesn't work, and it's not possible to re-upload using Platformio.
Expected Results
For a normal uploading, the IDE reset the board. The bootloader shows up, the code is uploaded, and then the normal serial port goes on. Here, it doesn't, even after manual reset.
#include<Arduino.h>
#defineWLED13// Most Arduino boards already have an LED attached to pin 13 on the board itselfvoidsetup()
{
pinMode(WLED, OUTPUT); // set pin as output
Serial.begin(9600);
}
voidloop()
{
digitalWrite(WLED, HIGH);
delay(200);
digitalWrite(WLED, LOW);
delay(200);
Serial.println("test");
}
Additional info
This problem looks like #178 , but according to the thread, the issue should have been solved in the 1.5.0 version. I tried with two Leonardo, same result on both.
The text was updated successfully, but these errors were encountered:
Configuration
Operating system: Windows 7 64bit
PlatformIO Version (
platformio --version
): 3.2.1Description of problem
Hi !
When uploading code to an arduino leonardo, the normal serial port doesn't re-appears after uploading. Instead, the arduino stays on the bootloader serial port.
Steps to Reproduce
platformio init --ide eclipse --board leonardo
Actual Results
After an upload, the serial COM present is the bootloader, not the normal COM port. The uploaded code is running (blink demo code, tested with several delay). But the Serial communication doesn't work, and it's not possible to re-upload using Platformio.
Expected Results
For a normal uploading, the IDE reset the board. The bootloader shows up, the code is uploaded, and then the normal serial port goes on. Here, it doesn't, even after manual reset.
If problems with PlatformIO Build System:
The content of
platformio.ini
:Source file to reproduce issue:
Additional info
This problem looks like #178 , but according to the thread, the issue should have been solved in the 1.5.0 version. I tried with two Leonardo, same result on both.
The text was updated successfully, but these errors were encountered: