makerbase-mks / MKS-Robin-E3-E3D

MKS Robin E3 E3D 32Bit Control Board 3D Printer parts with tmc2209 Uart mode driver For Creality Ender 3 CR-10
https://www.aliexpress.com/item/4000781744682.html
GNU General Public License v3.0
118 stars 97 forks source link

Error saving config in TFCard #13

Closed KiZDGGit closed 4 years ago

KiZDGGit commented 4 years ago

Hello, I'm just trying to save config with "stock firmware", but settings are not storing in SDCard not EEPROM.

How can I save config?

Thanks in advance.

DocYester commented 4 years ago

Build Marlin from latest bugfix branch by yourself and see how to get the saving done to flash by emulation there -> https://github.com/makerbase-mks/MKS-Robin-E3-E3D/issues/3

KiZDGGit commented 4 years ago

Thank you for your answer. Desisted to update using https://github.com/makerbase-mks/MKS-Robin-E3-E3D/tree/master/firmware/marlin2.0%20for%20Ender3

With Arduino IDE, many errors: ATENCIÓN: la librería U8glib pretende ejecutarse sobre arquitectura(s) avr, sam y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) STM32F1. ATENCIÓN: la librería TMCStepper pretende ejecutarse sobre arquitectura(s) avr y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) STM32F1. In file included from sketch/src/inc/MarlinConfig.h:38:0, from sketch/src/Marlin.h:24, from sketch/src/Marlin.cpp:31: sketch/src/inc/SanityCheck.h:2084:4: error: #error "TMC2208 Software Serial is supported only on AVR, LPC1768, STM32F1 and STM32F4 platforms."

error "TMC2208 Software Serial is supported only on AVR, LPC1768, STM32F1 and STM32F4 platforms."

and with Platformio... some others (...and I don't like/understand how it works).

Is there any way to save settings somewhere with stock fw? I can't setup PID, extrusion...

Thanks!!

DocYester commented 4 years ago

If you use the real bugfix branch -> https://github.com/MarlinFirmware/Marlin it works

€dit : and see https://github.com/makerbase-mks/MKS-Robin-E3-E3D/wiki/Build-and-Update-firmware

I havent tested the stock firmware at all - so i cant tell you how if or where it could be saved at all

The only way else would be to put all together in a gcode startscript. Most slicers support that.

KiZDGGit commented 4 years ago

Updated with real bugfix branch!! motors rotated in the opposite direction, but now it's solved.

Thanks!

DocYester commented 4 years ago

Look for

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR true
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true

in the Configuration.h

KiZDGGit commented 4 years ago

Look for

// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
#define INVERT_X_DIR true
#define INVERT_Y_DIR false
#define INVERT_Z_DIR true

in the Configuration.h

Yes, that is the way I've solved. Now printing, but too high motor temperature, will check drivers settings again.

Thank you for your support.

DocYester commented 4 years ago

TMC2209 and Ender3 Stock motors ? Define the steppers in Configuration.h

#define X_DRIVER_TYPE  TMC2209
#define Y_DRIVER_TYPE  TMC2209
#define Z_DRIVER_TYPE  TMC2209
#define E0_DRIVER_TYPE  TMC2209

Make them silent in Configuration_adv.h

#define STEALTHCHOP_XY
#define STEALTHCHOP_Z
#define STEALTHCHOP_E

Standard 2209-current settings in Marlin (800mA) is enough for them and they dont get too hot Lowering them to 500-600-700 is possible but needs attention and testing if they still work fine

mks-viva commented 4 years ago

MKS Robin E3 E3D firmware has update to marlin 2.0.6, you can download and update it and data can be save by M500...

makerbase-mks commented 4 years ago

We will temporarily close this issue.