-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
External EEPROM works fine in Old Bug Fix. #21356
Comments
This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:
After seeking help from the community, if the consensus points to a bug in Marlin, then you should post a bug report. |
Bummer this was closed as I have the same issue with SKR Pro 1.1 and 2208s with external i2c eeprom... Seems related to recent changes in eeprom code but I am no developer. :( -William |
If you find any solution. Please let me know. And if i fond then i will inform you |
@Talha909 looks like lpc176x code does not use E2END
|
I think this needs looking into further |
That was done away with some time ago. See #18059 I just helped someone with a similar SKR 1.4 + external EEPROM issue and they were using old instructions which is why I closed this issue. Old/outdated instructions (where the Updated instructions: https://www.instructables.com/BigTreeTech-SKR-14-14T-Adding-a-EEPROM/ |
then code needs updated with warning that E2END is obsolete, and the 9 references in bugfix to E2END need fixed... |
this should be reopened. i have an ender 3 pro with skr v2 and bltouch. i got tired of keeping up with firmware so i decided to subscribe to https://marlin.crc.id.au/ 2 days ago and their firmware builds (both builder and nightly) for my exact make and board contain this bug. marlin firmware compiled from 14feb works as expected. latest doesn't. |
@chrisjc3 this is a compile time error. It stops you form building the firmware. How can you be be getting compile time errors when your not even compiling the code, Your getting precompiled firmwares.,,, |
that is a completely different error. Your provided config do not produce this error. |
@ellensp sorry. it was late and i didn't catch that. in february when i did compile it myself all i enabled was EEPROM_SETTINGS and EEPROM_AUTO_INIT and it worked perfect on the same make/board. i didn't need to dig into any of this. i assume this is related but i'm admittedly grasping at straws. |
Co-Authored-By: jafal99 <26922965+jafal99@users.noreply.github.com>
Just to add info, I've had multiple reports of this issue... Currently, I'm suspecting this commit: Builds before this commit correctly save to the EEPROM, builds after this commit do not. |
Duplicate of #21370 |
still no.. that addresses chrisjc3 unrelated issue, but is not the reason this issue was opened. |
My bad - I got lost in the comments :) |
Did you test the latest
bugfix-2.0.x
code?Yes, and the problem still exists.
Bug Description
I had download the new bug fix and add the external EPPROM and some lines in the end of config.adv file. In old bug fix it works good but in latest bug fix it gave me the error message and and did not compile.
#define MNV_SKRV1_4_512K_END 0xFFFF //64Kb
#define I2C_EEPROM
#define E2END MNV_SKRV1_4_512K_END
Bug Timeline
in new bug fix.
Expected behavior
I expected to work
Actual behavior
It does not able to compile.
Steps to Reproduce
Download the new bug fix and add external eeprom. And make the modification in the end of config.adv file. But it did not complie.
Version of Marlin Firmware
Bugfix 15-3-2021
Printer model
Ender
Electronics
SKR 1.4 Trubo with TMC 2130
Add-ons
Bltouch.
Your Slicer
No response
Host Software
No response
Marlin.zip
I download the new bug fix 15-3-2021 and compile it but it did not compile. And gave me the error message. I also write the lines regarding the eeprom. It woks fine in old bug fix.
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/nxplpc-arduino-lpc176x/nxp_lpc1769.html
PLATFORM: NXP Arduino LPC176x (0.1.3) > NXP LPC1769
HARDWARE: LPC1769 120MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
Converting Marlin.ino
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ off, Compatibility ~ strict
Found 3 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 1.0.0
|-- 0.7.1
|-- 0.4.3
Building in release mode
Unable to find destination disk (Autodetect Error)
Please select it in platformio.ini using the upload_port keyword (https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) or copy the firmware (.pio/build/LPC1769/firmware.bin) manually to the appropriate disk
Compiling .pio\build\LPC1769\src\src\HAL\shared\eeprom_if_i2c.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\bedlevel\bedlevel.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\bltouch.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\cooler.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\powerloss.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\tmc_util.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\tramming.cpp.o
Compiling .pio\build\LPC1769\src\src\feature\z_stepper_align.cpp.o
Marlin\src\HAL\shared\eeprom_if_i2c.cpp: In function 'void _beginTransmission(uint16_t)':
Marlin\src\HAL\shared\eeprom_if_i2c.cpp:55:7: error: 'MARLIN_EEPROM_SIZE' was not declared in this scope
55 | if (MARLIN_EEPROM_SIZE > 0x4000) { // Use two-byte addressing for EEPROMs >16kb
| ^~~~~~~~~~~~~~~~~~
Marlin\src\HAL\shared\eeprom_if_i2c.cpp: In function 'uint8_t eeprom_read_byte(uint8_t*)':
Marlin\src\HAL\shared\eeprom_if_i2c.cpp:92:1: warning: no return statement in function returning non-void [-Wreturn-type]
92 | }
| ^
*** [.pio\build\LPC1769\src\src\HAL\shared\eeprom_if_i2c.cpp.o] Error 1
The text was updated successfully, but these errors were encountered: