Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EEPROM Datasize Error for BTT E3 Turbo #45

Open
ckiefer opened this issue Apr 16, 2022 · 1 comment
Open

EEPROM Datasize Error for BTT E3 Turbo #45

ckiefer opened this issue Apr 16, 2022 · 1 comment

Comments

@ckiefer
Copy link

ckiefer commented Apr 16, 2022

Hi

I am using the latest code from anycubic-kad-bugfix-2.0.x to compile the firmware for target anycubic_mega_zero2_btt_e3turbo_bl_e0fan.

Without doing any changes to the Marlin code, I am getting this error when powering up the printer:

Changing monitoring state from "Offline" to "Detecting serial connection"
Performing autodetection with 7 port/baudrate candidates: /dev/ttyACM0@115200, /dev/ttyACM0@250000, /dev/ttyACM0@230400, /dev/ttyACM0@57600, /dev/ttyACM0@38400, /dev/ttyACM0@19200, /dev/ttyACM0@9600
Trying port /dev/ttyACM0, baudrate 115200
Connecting to port /dev/ttyACM0, baudrate 115200
Handshake attempt #1 with timeout 2.0s
Connected to: Serial<id=0x60ab0630, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
Send: N0 M110 N0*125
Recv: Error:EEPROM datasize error.
Changing monitoring state from "Detecting serial connection" to "Error"
Send: M112
Send: N1 M112*32
Send: N2 M104 T0 S0*35
Send: N3 M140 S0*102
Changing monitoring state from "Error" to "Offline after error"
Connection closed, closing down monitor

These are the last lines from the build process:

Compiling .pio\build\anycubic_mega_zero2_btt_e3turbo_bl_e0fan\FrameworkArduino\main.cpp.o
Archiving .pio\build\anycubic_mega_zero2_btt_e3turbo_bl_e0fan\libFrameworkArduino.a
Linking .pio\build\anycubic_mega_zero2_btt_e3turbo_bl_e0fan\amz2_btt_e3turbo_bl_e0fan-bugfix-2.0.x-20220415-firmware.elf
Checking size .pio\build\anycubic_mega_zero2_btt_e3turbo_bl_e0fan\amz2_btt_e3turbo_bl_e0fan-bugfix-2.0.x-20220415-firmware.elf
Building .pio\build\anycubic_mega_zero2_btt_e3turbo_bl_e0fan\amz2_btt_e3turbo_bl_e0fan-bugfix-2.0.x-20220415-firmware.bin
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=====     ]  48.2% (used 15776 bytes from 32736 bytes)
Flash: [=====     ]  50.2% (used 238428 bytes from 475136 bytes)
============================================================================= [SUCCESS] Took 122.96 seconds =============================================================================
Environment                               Status    Duration
----------------------------------------  --------  ------------
anycubic_mega_zero2_btt_e3turbo_bl_e0fan  SUCCESS   00:02:02.964
============================================================================== 1 succeeded in 00:02:02.964 ==============================================================================

It's still working with the firmware I built a few months ago. I am sharing a zip file with the new, not-working firmware as well as the old, still working, firmware.
mz_btt_e3_turbo_firmware_20220416.zip

Any help is highly appreciated.
Christoph

@kad
Copy link
Owner

kad commented Jul 3, 2022

With drastic Marlin version changes (e.g. from 2.0.9.x to bugfix-2.0.x) it might be cases that layout of EEPROM is changed and might require re-initialisation from defaults+save those defaults to eeprom (M502+M500). If you have custom calibration values, don't forget to re-apply them and do M500 again.
If that doesn't fix the issue, let's have a look more in details. it might be so that something was broken in bugfix-2.0.x branch for those borads. I still need to update branches to latest 2.0.9.4/2.1 releases + rebase development on bugfix-2.1.x branch. Hopefully during vacation in the end of July I'll have more time for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants