# Mks genL pin weird problem

**URL:** <https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560>\
**Category:** General Discussion\
**Created:** [December 9, 2024, 6:45pm UTC](https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560 "2024-12-09T18:45:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![C3DRIC](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@C3DRIC](https://klipper.discourse.group/u/C3DRIC)\
**Post date:** [December 9, 2024, 6:45pm UTC](https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560/1 "2024-12-09T18:45:08Z")

</div>

### Basic Information:

Printer Model: ender 3v2  
 MCU / Printerboard: MKS genL 2.1  
 Host / SBC: linux mint  
 klippy.log

### Describe your issue:

I have decided to upgrade my old ender board than i couldnt get to flash, so i am now using an mks gen L 2.1 board. i have used the generic suggested config for such a board (i think) yet i find a strange issue:

 ![462583310_1300536411081789_4073822034986425370_n](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/3/1/31ccd986c75d6057c0ca3c7a66bcb0d97a72e6b7.jpeg)  
If you have any pointers on how i can fix my mess i would gladly welcome any help!

…  
[klippy.log](https://klipper.discourse.group/uploads/short-url/wNHEbIcveGvl8QQ1w8Q8hqz6R6Y.log) (7.2 KB)  
[moonraker.log](https://klipper.discourse.group/uploads/short-url/uYvcwOWjtSBLjyhlNeU1zGTUJc6.log) (28.9 KB)

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [December 10, 2024, 11:11am UTC](https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560/2 "2024-12-10T11:11:26Z")

</div>

Your config seems not to match this board at all.

This is the pin-out and pin names of an ATMega2560:

 ![Pinout-Mega2560rev3_latest](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/d/2/d25be2b99abede4a7b0f38c4d82be0951ba04a30.png)

This is the pin-out of your board. Unfortunately, it contains the old pin-numbering logic, and you will need to translate it:

> **[MKS%20GEN\_L%20V2.1\_001%20PIN.pdf](https://github.com/makerbase-mks/MKS-GEN_L/blob/master/hardware/MKS%20Gen_L%20V2.1_001/MKS%20GEN_L%20V2.1_001%20PIN.pdf)**

Example:

```auto
[stepper_x]
step_pin: PF0 # Old name: A0
dir_pin: PF1 # Old name: A1
enable_pin: !PD7 # Old name: D38

```

For the translation, you can also cross-reference this: [klipper/config/sample-aliases.cfg at b7233d1197d9a2158676ad39d02b80f787054e20 · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/blob/b7233d1197d9a2158676ad39d02b80f787054e20/config/sample-aliases.cfg#L16-L41)

Generally, it looks like MKS is following the RAMPS layout. If you are lucky, the config [klipper/config/generic-ramps.cfg at master · Klipper3d/klipper · GitHub](https://github.com/Klipper3d/klipper/blob/master/config/generic-ramps.cfg) should at least match to a large extent, but I did not fully verify it.

---

<div class="post-metadata">

**Author:** ![C3DRIC](https://avatars.discourse-cdn.com/v4/letter/c/5daacb/32.png) [@C3DRIC](https://klipper.discourse.group/u/C3DRIC)\
**Post date:** [December 12, 2024, 10:53pm UTC](https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560/3 "2024-12-12T22:53:49Z")

</div>

Thanks it seems to have worked at least im able to connect to it! i have a few new problems now, but since they’re not related to this problem (i think) i’ll make a new discussion.  
Thanks again for the continuous help!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [January 12, 2025, 8:54am UTC](https://klipper.discourse.group/t/mks-genl-pin-weird-problem/20560/4 "2025-01-12T08:54:20Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
