Welcome! Log In Create A New Profile

Advanced

Enabling EEPROM_SETTINGS results in TMC CONNECTION ERROR

Posted by CraftKing7777 
Enabling EEPROM_SETTINGS results in TMC CONNECTION ERROR
July 07, 2019 09:19AM
Hi everyone
I have an issue (or possibly a discovered bug) where I enable EEPROM_SETTINGS in Configuration.h and I get TMC CONNECTION ERROR on the LCD
M122 shows:

		X	Y	E
Enabled		false	false	false
Set current	0	0	0
RMS current	55	55	55
MAX current	78	78	78
Run current	0/31	0/31	0/31
Hold current	0/31	0/31	0/31
CS actual		0/31	0/31	0/31
PWM scale	0	0	0
vsense		0=.325	0=.325	0=.325
stealthChop	false	false	false
msteps		256	256	256
tstep		0	0	0
pwm
threshold
[mm/s]
OT prewarn	false	false	false
OT prewarn has
been triggered	false	false	false
off time		0	0	0
blank time	16	16	16
hysteresis
-end		-3	-3	-3
-start		1	1	1
Stallguard thrs	0	0	0
DRVSTATUS	X	Y	E
stallguard
sg_result		0	0	0
fsactive
stst
olb
ola
s2gb
s2ga
otpw
ot
Driver registers:
		X	0x00:00:00:00	 Bad response!
		Y	0x00:00:00:00	 Bad response!
		E	0x00:00:00:00	 Bad response!
Testing X connection... Error: All LOW
Testing Y connection... Error: All LOW
Testing E connection... Error: All LOW

( Z is not running a TMC driver)

With EEPROM_SETTINGS disabled I have no problems at all and can run the drivers in spreadCycle, stealthChop, and Stallguard works but as soon as I enable EEPROM_SETTINGS nothing works.

I have tried running an M502 to reset EEPROM and then an M122 which results in all "OK" from the TMC's but it still refuses to do anything. I have then tried an M500 after that to save what the M502 did and then a reboot and its back to the "ALL LOW" error.

My setup is an SKR 1.3 running the latest Marlin bugfix-2.0.x release from GitHub as of 2 days ago and 3 TMC 2130's on X, Y, and E0 configured with SW SPI because the SKR has it built in. I have an A4889 on the Z axis. Also connected is a "RepRap Discount Full Graphic Smart Controller" but removing this seems to have no impact. I have attached the zip with my configuration files. Configuration.zip Thanks in advance!
Sorry, only registered users may post in this forum.

Click here to login