Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 13, 2020 02:45PM
Recently, I was flashing new marlin onto my ender 3 running SKR E3 V1.2 with TMC2209 stepper drivers. When the machine booted up, I did a small check, that everything is working. When moving Y axis, it was makind a weird sound. I used pronterface and the command M122 to check if everything is ok. The only thing missing was Y axis, it didnt show up. Does anybody know what to do with it?
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 13, 2020 07:26PM
Is it not showing up at all in the M122 output, or is it showing ALL LOW or ALL HIGH?

If the former, make sure you have
#define Y_DRIVER_TYPE  TMC2209

defined in Configuration.h.

If the latter, then it could be several things, from a bad driver to incorrect pins set up for controlling the driver. Without more details such as your configuration files it's hard to tell.
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 14, 2020 03:42AM
It is not showing in up at all and it is defined in .h file. The driver was working fine in previous version. Should I try a different one?

Edited 2 time(s). Last edit at 10/14/2020 03:43AM by Bermit.
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 14, 2020 08:46AM
How about share your config. It's hard to sniff what the issue is without this smiling smiley


http://www.marinusdebeer.nl/
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 18, 2020 08:49AM
Sorry for posting it so late. Here are the configuratin files.
Attachments:
open | download - Configuration.h (88.1 KB)
open | download - Configuration_adv.h (142.3 KB)
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 18, 2020 08:56AM
In Configuration.h you have

#define Y_DRIVER_TYPE  TMC2009
Note the 0 when it should be a 2. You need
#define Y_DRIVER_TYPE  TMC2209

You also have
#define E0_DRIVER_TYPE TMC2209jh

Edited 3 time(s). Last edit at 10/18/2020 09:02AM by Dust.
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 19, 2020 04:16AM
There is a PR in progress [github.com]

That will catch typos in driver types like this automatically in Marlin going forward.
Re: Marlin 2.0x Y TMC2209 stepper driver not showing in M122 command
October 19, 2020 05:55AM
Just a typo. I don't know how I couldn't see that. Thank you
Sorry, only registered users may post in this forum.

Click here to login