Welcome! Log In Create A New Profile

Advanced

Trying to upgrade a Rambo 1.3 board to Marlin 2.1.2.2

Posted by PJMoore 
Trying to upgrade a Rambo 1.3 board to Marlin 2.1.2.2
May 18, 2024 07:47PM
My custom printer ( highly modified Mendel) uses a Rambo 1.3 board successfully using Marlin 1.1.9-bugfix. I wish to upgrade to Marlin 2.1.2.2. When I try to flash the firmware I get the error
"avrdude:stk500v2_ReceiveMessage():timeout". I checked that my baudrate was set to 115200 on COM3 (works on 1.1.9-bf). I used VSCode / PlatformIO clean, then build, and then upload. Clean is good, as is build, but upload returns the following:

* Executing task: C:\Users\pat\.platformio\penv\Scripts\platformio.exe run --target upload
Processing rambo (board: reprap_rambo; platform: atmelavr@~4.0.1; framework: arduino)
CONFIGURATION: [docs.platformio.org]
PLATFORM: Atmel AVR (4.0.1) > RepRap RAMBo
HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 252KB Flash
DEBUG: Current (avr-stub) External (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 -> [bit.ly]
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 5 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Wire @ 1.0
|-- SPI @ 1.0
Building in release mode
Compiling .pio\build\rambo\src\src\inc\Warnings.cpp.o
Marlin\src\inc\Warnings.cpp:74:4: warning: #warning "Your Configuration provides no method to acquire user feedback!" [-Wcpp]
#warning "Your Configuration provides no method to acquire user feedback!"
^~~~~~~
Linking .pio\build\rambo\firmware.elf
Checking size .pio\build\rambo\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [=== ] 31.5% (used 2580 bytes from 8192 bytes)
Flash: [== ] 23.0% (used 59288 bytes from 258048 bytes)
Configuring upload protocol...
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port...
Auto-detected: COM3
Uploading .pio\build\rambo\firmware.hex
avrdude: stk500v2_ReceiveMessage(): timeout

I have no idea what I am doing wrong. Would a kind soul point me in the right direction?

Thank you ahead of time.

Edited 1 time(s). Last edit at 05/18/2024 07:49PM by PJMoore.


Often in error, but rarely in doubt.
Re: Trying to upgrade a Rambo 1.3 board to Marlin 2.1.2.2
May 18, 2024 10:51PM
The error message is basically saying it cannot talk to the boot loader

One thing to note is that serial ports are locked to the first program that opens them, so make sure that all other programs are closed. Ie restart windows and only run vscode
Re: Trying to upgrade a Rambo 1.3 board to Marlin 2.1.2.2
May 19, 2024 12:58AM
That worked! Thank you so much.


Often in error, but rarely in doubt.
Sorry, only registered users may post in this forum.

Click here to login