I have this error and I haven't figured out how to fix it
Executing task: C:\Users\ionel.platformio\penv\Scripts\platformio.exe run --target upload
Processing melzi (board: sanguino_atmega1284p; platform: atmelavr@~3.4; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/sanguino_atmega1284p.html
PLATFORM: Atmel AVR (3.4.0) > Sanguino ATmega1284p (16MHz)
HARDWARE: ATMEGA1284P 16MHz, 16KB RAM, 124KB Flash
DEBUG: Current (simavr) On-board (simavr)
PACKAGES:
framework-arduino-avr @ 5.1.0
tool-avrdude @ 1.60300.200527 (6.3.0)
toolchain-atmelavr @ 1.70300.191015 (7.3.0)
Converting Marlin.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 6 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LiquidCrystal @ 1.5.1
|-- SPI @ 1.0
|-- Wire @ 1.0
Building in release mode
Compiling .pio\build\melzi\src\src\inc\Warnings.cpp.o
Linking .pio\build\melzi\firmware.elf
Checking size .pio\build\melzi\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [=== ] 25.9% (used 4249 bytes from 16384 bytes)
Flash: [======== ] 84.7% (used 107544 bytes from 126976 bytes)
Configuring upload protocol...
AVAILABLE: arduino
CURRENT: upload_protocol = arduino
Looking for upload port...
Auto-detected: COM4
Uploading .pio\build\melzi\firmware.hex
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x67
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xda
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xd6
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf6
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xd6
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xfe
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x67
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xda
avrdude done. Thank you.
*** [upload] Error 1
========================================================================= [FAILED] Took 12.93 seconds =========================================================================
Environment Status Duration
I have this error and I haven't figured out how to fix it
Processing melzi (board: sanguino_atmega1284p; platform: atmelavr@~3.4; framework: arduino) -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/sanguino_atmega1284p.html PLATFORM: Atmel AVR (3.4.0) > Sanguino ATmega1284p (16MHz) HARDWARE: ATMEGA1284P 16MHz, 16KB RAM, 124KB Flash DEBUG: Current (simavr) On-board (simavr) PACKAGES:avrdude done. Thank you.
*** [upload] Error 1 ========================================================================= [FAILED] Took 12.93 seconds ========================================================================= Environment Status Duration
melzi FAILED 00:00:12.932 ==================================================================== 1 failed, 0 succeeded in 00:00:12.932 ====================================================================