Trying, for the first time, to implement a Seedstudio aft display onto an Arduino Uno. Using VSC getting the following: > Executing task: platformio run --target upload <
Processing mega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Atmel AVR (3.2.0) > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
DEBUG: Current (avr-stub) On-board (avr-stub, 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 → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 14 compatible libraries
Scanning dependencies…
Dependency Graph
|-- 1.5.0
| |-- 1.0
|-- 1.19.1
|-- 1.0
|-- 1.0
|-- 2.0
|-- 1.0
Building in release mode
Checking size .pio/build/mega2560/firmware.elf
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [===== ] 54.6% (used 4474 bytes from 8192 bytes)
Flash: [====== ] 58.6% (used 148738 bytes from 253952 bytes)
Configuring upload protocol…
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port…
Auto-detected: /dev/cu.usbmodem14201
Uploading .pio/build/mega2560/firmware.hex
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
*** [upload] Error 1
=============================================== [FAILED] Took 29.54 seconds ===============================================
Environment Status Duration
mega2560 FAILED 00:00:29.536
========================================== 1 failed, 0 succeeded in 00:00:29.536 ==========================================
The terminal process “platformio ‘run’, ‘–target’, ‘upload’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
Executing task: platformio run --target upload <
Processing mega2560 (platform: atmelavr; board: megaatmega2560; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: Redirecting...
PLATFORM: Atmel AVR (3.2.0) > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560)
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash
DEBUG: Current (avr-stub) On-board (avr-stub, 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 → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 14 compatible libraries
Scanning dependencies…
Dependency Graph
|-- 1.5.0
| |-- 1.0
|-- 1.19.1
|-- 1.0
|-- 1.0
|-- 2.0
|-- 1.0
Building in release mode
Checking size .pio/build/mega2560/firmware.elf
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [===== ] 54.6% (used 4474 bytes from 8192 bytes)
Flash: [====== ] 58.6% (used 148738 bytes from 253952 bytes)
Configuring upload protocol…
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port…
Auto-detected: /dev/cu.usbmodem14201
Uploading .pio/build/mega2560/firmware.hex
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude done. Thank you.
*** [upload] Error 1
=============================================== [FAILED] Took 28.93 seconds ===============================================
Environment Status Duration
mega2560 FAILED 00:00:28.930
========================================== 1 failed, 0 succeeded in 00:00:28.930 ==========================================
The terminal process “platformio ‘run’, ‘–target’, ‘upload’” terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.
I believe that I have downloaded and installed the required drivers, and using one of the example files.