Unable to read tmc uart 'stepper_z' register IFCNT
Hello, i have the vcore 3.0 500
steppers from ratrig
tmc 2209
btt skr pro 1.2
raspberry pi 3b
revo hemera xs
running klippers with mainsail
I've been setting up the machines and now i'm at the point where klippers will give me no error when i load it up I can heat up the bed and extruder, but when i try to do any move z, x, y or even extruder, i get the error in the title and all of the fans start spooling, then i have to reset the btt. Now, i'm not sure if i have 2 issues but......
I noticed that some of the little led lights that coincide with each driver are not all on ( or off ). The three on top for the z drivers are lit up red, the extruder is off, but the xy left led is on, while the right is off ( see pic ).
possible problem #1
---- so i did a bit of experimenting, and i unplugged my end stops, and now i have all lights on except for just the extruder led.
---- turns out it's the x end stop that makes the bottom led go off. i switched the wires, and same thing. plug in only the Y end stop and all lights on ( bottom 2 + the three top ones, no extruder light )
problem #2
---- I reboot the mcu and the extruder driver light will flash then back off again.
----i unplug the extruder stepper motor, and i pull out the stepper driver and now the led is on.
1. the error message? anyone know what happening?
2. is the extruder led light supposed to be off? shouldn't it be on?
3. shouldn't the 2 endstop leds be off when you cut off the diagnostic pins off the driver? ( read that somewhere )
4. anyone have the same setup that can verify the led status on all of the steppers?
2 steps forward, 1 step back 😦
i hope someone can give some insight. thanks!
i hope someone can give some insight. thanks!
62 Replies
Do you have a multimeter to check that your board has 24V?
I do. But I did purchase the 24v power supply from rat rig when I bought the kit. I'll try a multi across the stepper motor power supply inputs on the board when I get back from work. Strange how the others will light up though. Not sure if I mentioned before, but I'll have the stepper unplugged and driver out and the led will light up. Plug in driver but no stepper and the led goes off again.
so, i measured at the mcu motor terminals and i am getting 24.5 volts so it's getting the required power. i did a test and tried one of the drivers from the x y with the diag pin clipped and i got the led to light up. so now i have 4 led's lit up and the x y not lit which i think is how it's supposed to look now. only problem. exact same error. just as the title states 😦 running out of ideas. could it be something in printer.cfg?
could it be this? [include RatOS/extruders/hemera.cfg] ? i'm calling up hemera, but it's an hemera xs. thats a smaller stepper motor. the config is different maybe?
Googling it looks like you need to have the uart setting match between the board and klipper. Gonna have to dig into the docs to figure that part out
i would have thought the presets would have been done already by following the ratrig guide 😦 i'm not even sure where the uart setting is on a skr pro 1.2
would it help if i posted the printer.cfg here?
ok so there was a klippers update, and now i have to reflash mcu. will do that first and see what happens
updated mcu firmware. same error 😦 i'm certain it has something to do with this being a hemera xs vs a regular hemera with different stepper motors
old hemera Motor cable length: 1000mm
Phase no: 2 phases
Rated voltage: 2.8V
Current: 1.33A
Resistance: 2.1Ω per phase
Inductance: 2.5mH
Holding torque: 3.2 kgcm
Detent torque: 0.12kgcm
Rotate direction: ABÄ€B CW
Max starting PPS: 2800 PPS
Max slewing PPS: 3500 PPS
Insulation: ≥ 100MΩ (DC 500V)
HI POT: AC 600V/1mA/1S
Insulation class: Class B
Rotor inertia: 35gcm²
Connector: JST - 56B - PH
Step angle: 1.8°
hemera xs Motor cable length: 1000mm
Phase no: 2 phases
Rated voltage per phase: 3.22V
Recommended Current: 1.40A Peak (~0.99A RMS)
Resistance: 2.3Ω per phase
Inductance: 2.5mH
Holding torque: 180mNm
Detent torque: 10mNm
Rotate direction: ABÄ€BÌ… CW
Insulation class: Class B
Rotor inertia: 24.3gcm²
Connector: JST - 56B - PH
Step angle: 1.8°
Motor mass: 160g
maybe not much of a difference?
Can you provide a photo of the jumper settings under the stepper drivers?
there is also this:
i'll take a pic. so i have to use other drivers? i thought 2209's and skr pro 1.2 and ratrigs was a popular set up?
jumpers look right (based on my read of the manual), and the above warning may be old, can't say for certain, just saw it on their site when looking for the SKR manual.
UNCOOLED TMC 2209 + LDO-42STH48-2504AC
[include RatOS/printers/v-core-3/tmc2209.cfg]
[include RatOS/printers/v-core-3/speed-limits-basic.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-x.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-y.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z1.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-z2.cfg]
in printer.cfg. the extruder stepper is missing?
also based on schematics shouldn't they be labelled e0,e1,e2?
another also, if the uart is labelled z, shouldn't the extruder uart pin be Z instead of e? "e_uart_pin"
i'm seeing inconsistencies from how the call ups are working vs the schematics labelling. i thought they'd have to be the same.
i'm confusing schematics with the klippers config settings. maybe i should be looking at the z steppers in klipper, and not the extruder. after all, the error seems to point to left stepper??? labelled E's on the board, but Z on configs
i apologize for the disorganization. i'm going everywhere with this trying to figure it out and as i explore, it gets more confusing. as i post, you can kind of see my line of thinking and troubleshooting
Its a lot to trace pinout on the driver, to the mcu, to the HAL, to Klipper :/
as an aside, PLEASE tell me you named your printer KITT
it makes it hard to follow when the naming changes from one section to another. i thought i was on to something when i saw the extruder uart labelled Z on the board, but then E ( e_uart_pin) on the tmc2209.cfg. and then also there's no call up of the extruder in printer.cfg where all of the other steppers are included. i'm going to be an expert once i can make sense of this all. i thought building a printer from a kit would have been fun 😦
The difficulties make success that much sweeter. Which doesn't help right now 🙂
My kit is coming soon, but it'll have the Octopus not the SKR Pro. Which I think is standard at least now, so I'm not sure how much the official docs will help
well, it started with blowing a rail due to using a 3rd party endstop sensor for my filament run out. bought a new board ( didn't plug in the sensor again, even though i think wiring is correct now ). then board firmware and klipper was set up and a lot of error were fixed. super happy when no more errors popped up at boot up. then i checked extruder heat and bed. they worked. super happy again. then tried moving the steppers and got the current error that i'm now stuck at 😦
i am considering changing the board. i really dont want to because i dont want extra holes punched into the mounting board because i want it nice and clean, and because i'd have to redo the firmware and klipper yet again, but maybe it's the board thats the issue. i wish btt had some type of diagnostic software to run to verify everything was working correctly.
yeah, just a "can you talk to the stepper driver" would be good
narrow it down to the board or klipper
good thing is that i can carry over everything including 2209's i'll have to look for a comparison of the pro 1.2 vs octopus or other boards
And all steppers are giving the same error right?
x, y, z(s), extruder?
when i click on x or y, it gives the z_stepper error. i notice that klipper doesn't display multiple errors at once, so maybe if z was fixed, i'd get a y and x error following it? not sure
i think i warmed up extruder and then tried extruder and it also gave same error. i can try that again
just to see
I'm flippin through the SKR manual, thinking you could try changing the uart settings, something different for each one. Then try moving each axis and see if any work
oh nvm, I thought there were baudrate settings via jumper
ok, so i found where klipper sets the variables ( or whatever ) from each pin to it's name in klipper. doesn't help me, but it clarifies things in my head.
Why is the second set of "Z MOTO" pins jumpered? I can't find anything about that in this manual
not sure where i see that. unless you're talking about the 2 jumpers to the left of the drivers, sandwiched in between the 2 plugs. i think it disables the option for a second extruder running off the 1 extruder driver.
yeah that one
there are 6 drivers but 7 "outs" and didn't see what to do with the extra
If you are going to do an octopus, I recommend the h723 version.
Two outs share one driver
Interesting. Wonder how bad things could go if one of those steppers lost steps and the other didn't. Would depend what they were doing I guess.
it's intended to be a shared Z:
there's also this part for the TMC2209 and the SKR:
problem is i disconnect the steppers, keep drivers in, and get same error when i try to move any stepper except for the extruder. that one actually works.
funny enough, you'd think this error should proc when the steppers are disconnected, but it does it either way
whats stall guard? currently, only the x y and extruder pin is cut off on the driver
ok, i'm going to try moving the 3 pin-clipped drivers from the xy and e, to the 3 z's lets see if i can trigger a different error, or even....god forbid...it starts working.
oh! I didn't realize any of the motors were working. Definitely triple-check whats different there, and start swapping parts around to see where the success moves to
the error is about being able to communicate with the steppers, so it wouldn't matter if they are there or not as it can't communicate with them either way
all steppers are the ratrig kit motors except for the hemera xs. i can't see all being bad. question...i'm assuming stepper_z is z0?
i rechecked the cabling yesterday. i'm assuming that the wiring plug configuration is correct right from ratrig? i purchased their wiring harnesses
the colours seem correct, when compared to the online diagrams
I doubt they are bad, just a misconfig of some sort preventing communication
I had the same/similiar error when moving to 2290's... turns out the ones I got don't support UART at all and I had to reconfigure for SPI
until I got the SPI settings just right I got the error you're getting
cabling from the stepper driver to the motor won't result in this error, this is purely about communicating with the stepper driver itself (AFAIK)
I'll be traveling later today, but if you want to upload your configs I'll poke through them and the manuals and see if I can find anything that jumps out at me as misconfigured. I'll need the exact files you are using. So, not just the printer.cfg, but each of the actual included files for the steppers
will do. also, update
Unable to read tmc uart 'stepper_z1' register IFCNT error after moving the 3 pin clipped drivers up to the 3 z's, and the 3 that were unclipped pin drivers to the x y and e
which files will you need? printer.cfg and?
this is the printer.cfg i should have renamed it before uploading 😦
everything around the steppers and the base board
so the board include and the stepper inlcudes
holy jesus, i got it to work. 4 bad stepper drivers!! i kept playing musical chairs with the drivers, as i had purchased 6 more drivers. i must have burnt out the drivers when i messed up the older board. luckily 2 of the drivers were the newer ones and i could follow the error, and swap more drivers with new ones. i got it to home x and y now and z dropped down a couple inches when pressing the home button so that works as well.
🎉
BIG 🎉
glad you got it working! sad you have some bad drivers
thank you to all for holding my hand through this. you didn't necessarily fix the problem, but were there for my mental support as i struggled through this. lol
hey rubber ducks do a crap ton of work
amen. Got several on my desk at the office 😄
might be why the BTT kits tend to ship a duck with the parts
jamin, it could have been worse, i was ready to press the order button for another mcu today, had i not figured it out. lol i'd take 30 dollars drivers over 70 dollar board
I get what you're saying but you'd have loved the Octopus H723, of that I'm sure
at this point I'll be sticking with the Octopus for most of my builds
that can be a future upgrade 🙂
i was even considering tinkering with a mantis and cb1 as a future upgrade. lol i'm an expert now
took a stock 400mm Rat Rig from the stock Octopus w/ 2209s to the H723 with 2290s loving it
what was the difference in performance?
this level of debugging and tinkering is why I build my own
faster in every way
MCU is 3-4x faster, drivers are using SPI which is faster than UART, and the drivers have per stepper temp reporting
starting work on increasing the speed now
well, i'm coming from a cr10s with stock steppers, mcu. only upgrades were hemera with volcano, and a 120v heated bed and octopi, so i have a feeling this ratrig will already be a HUGE upgrade
it will, and it will spoil you... glad you got it working
that stepper temp is a very nice feature
many thanks again. very happy this discord is here!! now i can move on to the general section when i need some tweaking done.
also, plan on getting an ebb42
someo f those are running pretty hot. petg stepper mounts holding up okay?
then again, i dont know what their running temp range is, so i dont know
to finish this post. when troubleshooting this type of error. 1. make sure power from psu is connected to the motor power section of the mcu ( as per other peoples issues from googling ) 2. start swapping your stepper drivers to see if the error follows the driver in question. as soon as you see the stepper error change, you know its the driver. 3. make sure the wiring is correct if 1 and 2 are ok.
This is the driver itself, not the motor