bigtreetech / BTT-Expansion-module

BTT EXP MOT V1.0、BTT RRF WiFi V1.0、BTT EEPROM V1.0
72 stars 15 forks source link

EEPROM install #11

Open Cabinfourus opened 3 years ago

Cabinfourus commented 3 years ago

I have been trying to install the external EEPROM for more than two months. I keep getting the error for data size mismatch. I have tried different versions of Marlin, along with different configs. SKR 1.4 Turbo with TMC 2209 sensorless homing and 3D Touch sensor. I have tried adding #define I2C_EEPROM to the pins file without any luck.

sdavos commented 3 years ago

I have the same problem, unable to make eeprom working

fc1967 commented 3 years ago

The same for me, I have installed the external BTT EEPROM and tried many different configs in Marlin but I always keep the same error. I have a SKR 1.4 Turbo with TMC 2209, 3D Touch sensor and Smart Sensor. I have tried adding #define I2C_EEPROM and also MARLIN_EEPROM_SIZE to the pins file and config file without luck.

MrFielding commented 3 years ago

Same for me,anybody find a solution???tried with any tutorial but nothing worked.

fc1967 commented 3 years ago

I've also tried with two different boards but nothing, the same problem. there is any way to contact the technical assistance?

tgkgate commented 3 years ago

Same issue, though; I use endstops and a genuine bltouch w/ 2209's. I'm also using power_control w/ dedicated 5v supplied to the board separately.

radek8 commented 3 years ago

Hello. I use the EEPROM expansion module together with the SKR V1.4 board. I don't have a module from BBT but a clone from Aliexpress. But the use is the same. In order for it to work, it is necessary to edit the pin layout file. If anyone is interested, I can attach the necessary adjustments to make the module work. The module is connected to the I2C connector The first time you start, you need to initialize the EEPROM

// EEPROM I2C

define I2C_EEPROM

ifdef E2END

undef E2END

endif

define E2END 0x7FFF // EEPROM end address 24C256 (32 kB = 8 kB)

//# define E2END 0xFFFF // end address EEPROM 24C512 (64 kB = 8 kB)

radek8 commented 3 years ago

The patch was merged today In the pin layout file (pins_BTT_SKR_V1_4.h) just delete the comment on line # define I2C_EEPROM

So the entry will look like this // EEPROM

if NO_EEPROM_SELECTED

define I2C_EEPROM // EEPROM on I2C-0

// # define SDCARD_EEPROM_EMULATION

endif

if ENABLED (I2C_EEPROM)

define MARLIN_EEPROM_SIZE 0x8000 // 32Kb

elif ENABLED (SDCARD_EEPROM_EMULATION)

define MARLIN_EEPROM_SIZE 0x800 // 2Kb

endif