Timeline for Unable to upload sketch using Platformio (but Arduino IDE works)
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 22, 2020 at 8:54 | answer | added | Angkon | timeline score: 1 | |
| Jan 13, 2020 at 21:00 | history | tweeted | twitter.com/StackArduino/status/1216827419149160448 | ||
| May 26, 2019 at 8:41 | comment | added | Hein du Plessis | I'm having the exact same issue. I'm abandoning platform io because of this. It's rather more difficult than the arduino IDE. | |
| Sep 25, 2018 at 4:46 | comment | added | Juraj♦ | and why did you do that? is it possible that you changed to different bootloader? | |
| Sep 24, 2018 at 18:55 | comment | added | albert | I used/tried to use an Arduino Uno as ISP since I do not have my original AVR ISP mkII on hand currently | |
| Sep 24, 2018 at 18:52 | comment | added | Juraj♦ | how do you flash the bootloader? | |
| Sep 24, 2018 at 14:41 | comment | added | albert | @Im_Int: Updated to Arduino 1.8.7 and tryied to reflash boot-loader. Reflashing did not work with Arduino 1.8.7 but with 1.8.5. After that still not able to upload code using Platformio. Tried another Arduino Nano clone: Was able to upload code once with Platformio, but never again. Uploading with Arduino IDE 1.8.7 works, unable to re-flash bootloader to this board as well. There are several discussions around the Internet about the transfer protocol, the use of reset signal on Reset pin (RST) and a capacitor. So this might me a hardware/board-related issue due to cheap Arduino clones... :/ | |
| Sep 23, 2018 at 21:53 | comment | added | ex-punctis | I've tried replicating this issue using a nano clone on mac os 10.12.6 using platformio IDE, and there were no issues. I would try two things: upload a simple blink sketch (or an empty loop) using arduino IDE to make sure the board doesn't try to connect over UART thus interfering with the upload process under platformio; and if this doesn't help, then I would re-flash the bootloader. Also, if platformio is not up to date, it is certainly a good idea to update it to make sure it uses the latest avrdude + config file. | |
| Sep 23, 2018 at 21:02 | comment | added | albert | There is a 'normal' and a 'new' option. Both not working. The only difference seems to be the baud rate at first glance. I might have a look at the upload scripts for further differences... | |
| Sep 23, 2018 at 21:00 | history | edited | albert | CC BY-SA 4.0 |
added 1250 characters in body
|
| Sep 23, 2018 at 21:00 | comment | added | Juraj♦ | has Platformio an "old bootloader" option for Nano? | |
| Sep 23, 2018 at 20:49 | comment | added | albert |
@Juraj: Using Uno instead of Nano does not work as well.
|
|
| Sep 23, 2018 at 20:40 | comment | added | Juraj♦ | try to upload to Nano with Uno selected as board | |
| Sep 23, 2018 at 19:13 | history | asked | albert | CC BY-SA 4.0 |