Option 'aliases' in section 'board_pins fysetc_spider_tmc2209' must have 2 elements

I'm getting an "unable to read tmc uart stepper_z register ifcnt" on movement after messing with my board (Fysetc Spider). First assumption: dead driver. Swap out the driver, no luck. Swap again, no luck. Second assumption: dead motor port. Swap board definition for z0 to use E1 motor socket instead of E4. Result= "Option 'aliases' in section 'board_pins fysetc_spider_tmc2209' must have 2 elements " Third assumption: pin definition used twice/missing commas. Triple confirmed that commas are correct, confirmed that pin definitions are not used in multiple locations. (pictured, original definitions on the include line) Fourth assumption: Ratos does something under the hood with the pin definitions.
I'd appreciate any help in diagnosing this pin definition problem, or any info relating to the underlying problem.
No description
No description
No description
17 Replies
blacksmithforlife
blacksmithforlife•2y ago
Are you using ratos 2.0?
MONSOONO
MONSOONOOP•2y ago
Yeah, custom header for the spider board. I'm also using 2208s, but it was working just fine before.
blacksmithforlife
blacksmithforlife•2y ago
Custom header?
MONSOONO
MONSOONOOP•2y ago
Uhh, pin definition. I don't know why I said header.
blacksmithforlife
blacksmithforlife•2y ago
ok. What's the reason you have your own pin definition instead of using the ratos 2.0 one?
MONSOONO
MONSOONOOP•2y ago
The pins are slightly different
No description
MONSOONO
MONSOONOOP•2y ago
I have the 2.2, and the definition is for 1.1
blacksmithforlife
blacksmithforlife•2y ago
Gotcha. Well as long as you define the aliases correct it should just work. Can you upload your pins file?
MONSOONO
MONSOONOOP•2y ago
They're at the top of the config file. I commented out the include for the ratos board definition since my first screenshot.
blacksmithforlife
blacksmithforlife•2y ago
It's a long shot, but remove the comment # V2.2 from line 20
MONSOONO
MONSOONOOP•2y ago
No luck, and as soon as I swap out the definition for the one that is commented out (original), it boots just fine. I changed the name to ....._2208 as well
blacksmithforlife
blacksmithforlife•2y ago
I'm on mobile so I can't diff the two easily right now. But that's what I would do just to double check what is different
MONSOONO
MONSOONOOP•2y ago
It's very minimal. I just move the "#" up or down a line. I also tried swapping their order and removing the unused one.
No description
blacksmithforlife
blacksmithforlife•2y ago
Found it. z0_diag_pin_null should be z0_diag_pin=null Line 25
MONSOONO
MONSOONOOP•2y ago
Even when you typed it out, I read it 15 times before seeing what happened. Trying it out now! Ah, I think something is much more wrong here. "Unable to read tmc uart 'stepper_z' register IFCNT" on all motors. RIP. Thanks for your help though.
blacksmithforlife
blacksmithforlife•2y ago
Yeah, can't help you there. But at least it's not a config typo anymore? 😅
MONSOONO
MONSOONOOP•2y ago
That's an improvement :)
Want results from more Discord servers?
Add your server