Hey everyone,
Not sure who this may help but it would have saved me a ton of time if I would have checked this sooner.
If you receive an error similar to below (avrdude: stk500v2_ReceiveMessage(): timeout) , there is a good chance (as many have posted) that your board is not powered. You do need to have the 12V power supply hooked to the board to be able to upload to it.
Sadly my power supply was bad and was not supplying any power to the board, I only found this out once I hooked it up to a voltage tester and was getting 0V out of it at the connectors. This was 100% my fault since I must have shorted it while testing another project, but definitely something else to check for if you have issues.
Hope you all have a safe and wonderful holiday!
Error Message Below:
Executing task: platformio run --target upload <
Processing rambo (platform: atmelavr; board: reprap_rambo; framework: arduino)
Verbose mode can be enabled via -v, --verbose
option
PLATFORM: Atmel AVR (3.3.0) > RepRap RAMBo
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 252KB 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 Modes: Finder ~ chain, Compatibility ~ soft
Found 6 compatible libraries
Scanning dependenciesâŚ
Dependency Graph
|-- 0.4.5
| |-- 1.0
| |-- 1.0
|-- 1.0
|-- 1.0
Building in release mode
Checking size .pio/build/rambo/firmware.elf
Advanced Memory Usage is available via âPlatformIO Home > Project Inspectâ
RAM: [====== ] 59.0% (used 4834 bytes from 8192 bytes)
Flash: [==== ] 42.4% (used 109514 bytes from 258048 bytes)
Configuring upload protocolâŚ
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload portâŚ
Auto-detected: /dev/cu.usbmodem14201
Uploading .pio/build/rambo/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 36.84 seconds =========================================
Environment Status Duration
rambo FAILED 00:00:36.843
==================================== 1 failed, 0 succeeded in 00:00:36.843 ====================================
The terminal process âplatformio ârunâ, ââtargetâ, âuploadââ terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.