0
$\begingroup$

I am getting this error when I try to enable the Z2 driver for MKS Gen L V2.1 Could anyone help?

Error "TMC2208 or TMC2209 on Z2 requires Z2_HARDWARE_SERIAL or Z2_SERIAL_(RX|TX)_PIN

Thanks

$\endgroup$
0
$\begingroup$

Your question is missing important information, but I can try to figure out something. You didn't say what kind of firmware it is. I assume it is Marlin.

Your problem is that there are no Tx Rx pins specified for Z2 (because there is X, Y, Z, E0, E1 by default on the MKS Gen L board)

I assume you want to use the E1 driver for the Z2 instead of a second extruder. In that case, you have to tell the firmware that you want to use that driver for Z2.

Search the source code for file "pins_MKS_GEN_L_V21.h" There should be E1_SERIAL_TX_PIN and E1_SERIAL_RX_PIN defined. Rename them to Z2_SERIAL_TX_PIN and Z2_SERIAL_RX_PIN.

driver uart pins

In "pins_RAMPS.h" file, find a block of a few lines that starts "E1_STEP_PIN", and rename E1 to Z2 for all those lines.

driver pins

It may (or may not) work now. If it doesn't, please somehow post those configuration files.

$\endgroup$
2
  • $\begingroup$ BTW: do you really want to have two independent drivers for Z? You can just connect two Z steppers to a single driver. $\endgroup$ – Jiří Maier Apr 20 at 15:45
  • $\begingroup$ Thank you so much for your response. unfortunately, I tried what you send and the motor still gets hot and now it developed noise! I'm sorry for the inconvenience but I don't know how to share the files, so in the following link I uploaded the configureation.h, configuration_adv.h, pins_RAMPS.h, and pins_MKS_GEN_L_V21.h files. drive.google.com/drive/folders/… $\endgroup$ – Rayan Apr 24 at 21:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.