I have the exact same issue here on Linux Mint 1.8 and Arduino DUE board.
I have platformio 2.11.0 with platforms:
toolchain-gccarmnoneeabi: version 3
framework-arduinosam: version 16
tool-bossac: version 3
tool-openocd: version 1
tool ldscripts: version 23
I have the udev rules installed too.
I did these steps:
- I opened the Blinky example in Arduino IDE 1.6.9 and uploaded the sketch to my Arduino DUE. It worked as expected, the led was blinking.
- I issued the command "pio init --ide eclipse --board due" in a new folder. The command completed successfully.
- In Eclipse I imported the newly created project and created a source file with name main.cpp.
- I copy pasted the code from Arduino IDE to main.cpp and added #include "Arduino.h" at the top of the file
- Double clicked build target and the source got compiled ([SUCCESS] Took 1.95 seconds) creating .pioenvs/due/firmware.elf file.
- Double clicked upload target and a lot of similar messages appeared along with the DUE's TX/RX led blinking rapidly:
then the command finished with success message
- Then however nothing happened in the sense that the Arduino DUE's led stopped blinking the way it did when I uploaded the code with Arduino IDE.
I tried different sources too, with Serial, but nothing happened, no communication at all. It appears to me as if the binaries created were not good for due and while it can be uploaded it could not be run but I'm not quite sure.