…a bit premature it seems…
I had the printer up and running for a bit and was fiddling with settings when I decided to re-flash it because I was not 100% sure I had gotten the right version for the BLtouch and the dual extruder. Basically when I went to set the Z offset with the M851 command to -4 it gave me an out of range error, and it didn’t seem to be accepting the offsets I was setting for X and Y, but was still parking the nozzle over the Z end stop to home the Z axis.
So I tried to re-flash it and it’s now failing with every version that I try, so I downloaded the source for r38 and tried compiling myself in visual studio code, which worked, but when I went to upload I got this error:
CONFIGURATION: Redirecting...
PLATFORM: Atmel AVR (3.4.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: Library Dependency Finder → Library Dependency Finder (LDF) — PlatformIO latest documentation
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 6 compatible libraries
Scanning dependencies…
Dependency Graph
|-- U8glib-HAL @ 0.5.2
| |-- Wire @ 1.0
| |-- SPI @ 1.0
|-- Wire @ 1.0
|-- SPI @ 1.0
|-- EEPROM @ 2.0
|-- SoftwareSerial @ 1.0
Building in release mode
Checking size .pio\build\rambo\firmware.elf
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [========= ] 90.5% (used 7414 bytes from 8192 bytes)
Flash: [==========] 99.3% (used 256228 bytes from 258048 bytes)
Configuring upload protocol…
AVAILABLE: wiring
CURRENT: upload_protocol = wiring
Looking for upload port…
Auto-detected: COM5
Uploading .pio\build\rambo\firmware.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: reading input file “.pio\build\rambo\firmware.hex”
avrdude: writing flash (256228 bytes):
Writing | ################################################## | 100% 40.80s
avrdude: 256228 bytes of flash written
avrdude: verifying flash memory against .pio\build\rambo\firmware.hex:
avrdude: load data flash data from input file .pio\build\rambo\firmware.hex:
avrdude: input file .pio\build\rambo\firmware.hex contains 256228 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 32.79s
avrdude: verifying …
avrdude: verification error, first mismatch at byte 0x3c000
0x00 != 0xff
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK (E:FD, H:D0, L:FF)
avrdude done. Thank you.
*** [upload] Error 1
=========================================================== [FAILED] Took 82.53 seconds ===========================================================
Environment Status Duration
rambo FAILED 00:01:22.535
…so it seems to be failing to verify the firmware which is the same problem that I get the web tool uploader.
Am I running out of memory?
Or is the compile somehow corrupted?
Edit: I’ve googled this issue and found no definitive answers but the non-definitive answers seem to point to something with the board?