Advertisement
Guest User

Untitled

a guest
Apr 25th, 2021
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.63 KB | None | 0 0
  1. Here the TMC_Dumps.
  2.  
  3. Commit: 475d8a72ad3ded648d798052389be2fe7551bd64
  4. No physical load, belts detached. TMC_DUMP before homing.
  5.  
  6. > DUMP_TMC stepper_x
  7. > ========== Write-only registers ==========
  8. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  9. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  10. > TPWMTHRS: 00000000
  11. > COOLCONF: 00010000 sgt=1
  12. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  13. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  14. > ========== Queried registers ==========
  15. > GCONF: 00000004 en_pwm_mode=1
  16. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  17. > GSTAT: 00000000
  18. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  19. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  20. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  21. > LOST_STEPS: 00000000
  22. > MSCNT: 00000218 MSCNT=536
  23. > MSCURACT: 010b01db CUR_A=-37 CUR_B=-245
  24. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  25. > PWM_SCALE: 00000016 PWM_SCALE_SUM=22
  26. > PWM_AUTO: 00170022 PWM_OFS_AUTO=34 PWM_GRAD_AUTO=23
  27. > TSTEP: 000fffff TSTEP=1048575
  28. > DUMP_TMC stepper_y
  29. > ========== Write-only registers ==========
  30. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  31. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  32. > TPWMTHRS: 00000000
  33. > COOLCONF: 00010000 sgt=1
  34. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  35. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  36. > ========== Queried registers ==========
  37. > GCONF: 00000004 en_pwm_mode=1
  38. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  39. > GSTAT: 00000000
  40. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  41. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  42. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  43. > LOST_STEPS: 00000000
  44. > MSCNT: 000003f8 MSCNT=1016
  45. > MSCURACT: 00f701f5 CUR_A=-11 CUR_B=247
  46. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  47. > PWM_SCALE: 00000017 PWM_SCALE_SUM=23
  48. > PWM_AUTO: 00140024 PWM_OFS_AUTO=36 PWM_GRAD_AUTO=20
  49. > TSTEP: 000fffff TSTEP=1048575
  50. > DUMP_TMC stepper_z
  51. > ========== Write-only registers ==========
  52. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  53. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  54. > TPWMTHRS: 00000000
  55. > COOLCONF: 00000000
  56. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  57. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  58. > ========== Queried registers ==========
  59. > GCONF: 00000004 en_pwm_mode=1
  60. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  61. > GSTAT: 00000000
  62. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  63. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  64. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  65. > LOST_STEPS: 00000000
  66. > MSCNT: 000003b8 MSCNT=952
  67. > MSCURACT: 00e00197 CUR_A=-105 CUR_B=224
  68. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  69. > PWM_SCALE: 00000011 PWM_SCALE_SUM=17
  70. > PWM_AUTO: 000d001b PWM_OFS_AUTO=27 PWM_GRAD_AUTO=13
  71. > TSTEP: 000fffff TSTEP=1048575
  72. > DUMP_TMC stepper_z1
  73. > ========== Write-only registers ==========
  74. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  75. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  76. > TPWMTHRS: 00000000
  77. > COOLCONF: 00000000
  78. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  79. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  80. > ========== Queried registers ==========
  81. > GCONF: 00000004 en_pwm_mode=1
  82. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  83. > GSTAT: 00000000
  84. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  85. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  86. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  87. > LOST_STEPS: 00000000
  88. > MSCNT: 00000398 MSCNT=920
  89. > MSCURACT: 00c7016d CUR_A=-147 CUR_B=199
  90. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  91. > PWM_SCALE: 0004001d PWM_SCALE_SUM=29 PWM_SCALE_AUTO=4
  92. > PWM_AUTO: 000f0027 PWM_OFS_AUTO=39 PWM_GRAD_AUTO=15
  93. > TSTEP: 000fffff TSTEP=1048575
  94. > DUMP_TMC stepper_z2
  95. > ========== Write-only registers ==========
  96. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  97. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  98. > TPWMTHRS: 00000000
  99. > COOLCONF: 00000000
  100. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  101. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  102. > ========== Queried registers ==========
  103. > GCONF: 00000004 en_pwm_mode=1
  104. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  105. > GSTAT: 00000000
  106. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  107. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  108. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  109. > LOST_STEPS: 00000000
  110. > MSCNT: 00000398 MSCNT=920
  111. > MSCURACT: 00c7016d CUR_A=-147 CUR_B=199
  112. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  113. > PWM_SCALE: 00000018 PWM_SCALE_SUM=24
  114. > PWM_AUTO: 000f0025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=15
  115. > TSTEP: 000fffff TSTEP=1048575
  116. > DUMP_TMC extruder
  117. > ========== Write-only registers ==========
  118. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  119. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  120. > COOLCONF: 00000000
  121. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  122. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  123. > ========== Queried registers ==========
  124. > GCONF: 00000000
  125. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  126. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  127. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  128. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  129. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  130. > LOST_STEPS: 00000000
  131. > MSCNT: 00000008 MSCNT=8
  132. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  133. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  134. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  135. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  136. > TSTEP: 000fffff TSTEP=1048575
  137.  
  138.  
  139. DUMP_TMC after G28. No physical load, belts detached.
  140.  
  141. > DUMP_TMC stepper_x
  142. > ========== Write-only registers ==========
  143. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  144. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  145. > TPWMTHRS: 00000000
  146. > COOLCONF: 00010000 sgt=1
  147. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  148. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  149. > TCOOLTHRS: 00000000
  150. > ========== Queried registers ==========
  151. > GCONF: 00000004 en_pwm_mode=1
  152. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  153. > GSTAT: 00000000
  154. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  155. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  156. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  157. > LOST_STEPS: 00000000
  158. > MSCNT: 00000218 MSCNT=536
  159. > MSCURACT: 010b01db CUR_A=-37 CUR_B=-245
  160. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  161. > PWM_SCALE: 00000014 PWM_SCALE_SUM=20
  162. > PWM_AUTO: 00130026 PWM_OFS_AUTO=38 PWM_GRAD_AUTO=19
  163. > TSTEP: 000fffff TSTEP=1048575
  164. > DUMP_TMC stepper_y
  165. > ========== Write-only registers ==========
  166. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  167. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  168. > TPWMTHRS: 00000000
  169. > COOLCONF: 00010000 sgt=1
  170. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  171. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  172. > TCOOLTHRS: 00000000
  173. > ========== Queried registers ==========
  174. > GCONF: 00000004 en_pwm_mode=1
  175. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  176. > GSTAT: 00000000
  177. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  178. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  179. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  180. > LOST_STEPS: 00000000
  181. > MSCNT: 000003d8 MSCNT=984
  182. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  183. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  184. > PWM_SCALE: 00000013 PWM_SCALE_SUM=19
  185. > PWM_AUTO: 00130025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=19
  186. > TSTEP: 000fffff TSTEP=1048575
  187. > DUMP_TMC stepper_z
  188. > ========== Write-only registers ==========
  189. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  190. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  191. > TPWMTHRS: 00000000
  192. > COOLCONF: 00000000
  193. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  194. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  195. > ========== Queried registers ==========
  196. > GCONF: 00000004 en_pwm_mode=1
  197. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  198. > GSTAT: 00000000
  199. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  200. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  201. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  202. > LOST_STEPS: 00000000
  203. > MSCNT: 000001c8 MSCNT=456
  204. > MSCURACT: 01160052 CUR_A=82 CUR_B=-234
  205. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  206. > PWM_SCALE: 00000011 PWM_SCALE_SUM=17
  207. > PWM_AUTO: 0013001b PWM_OFS_AUTO=27 PWM_GRAD_AUTO=19
  208. > TSTEP: 000fffff TSTEP=1048575
  209. > DUMP_TMC stepper_z1
  210. > ========== Write-only registers ==========
  211. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  212. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  213. > TPWMTHRS: 00000000
  214. > COOLCONF: 00000000
  215. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  216. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  217. > ========== Queried registers ==========
  218. > GCONF: 00000004 en_pwm_mode=1
  219. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  220. > GSTAT: 00000000
  221. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  222. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  223. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  224. > LOST_STEPS: 00000000
  225. > MSCNT: 000001a8 MSCNT=424
  226. > MSCURACT: 012b007e CUR_A=126 CUR_B=-213
  227. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  228. > PWM_SCALE: 0000001c PWM_SCALE_SUM=28
  229. > PWM_AUTO: 000f002b PWM_OFS_AUTO=43 PWM_GRAD_AUTO=15
  230. > TSTEP: 000fffff TSTEP=1048575
  231. > DUMP_TMC stepper_z2
  232. > ========== Write-only registers ==========
  233. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  234. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  235. > TPWMTHRS: 00000000
  236. > COOLCONF: 00000000
  237. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  238. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  239. > ========== Queried registers ==========
  240. > GCONF: 00000004 en_pwm_mode=1
  241. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  242. > GSTAT: 00000000
  243. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  244. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  245. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  246. > LOST_STEPS: 00000000
  247. > MSCNT: 000001a8 MSCNT=424
  248. > MSCURACT: 012b007e CUR_A=126 CUR_B=-213
  249. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  250. > PWM_SCALE: 00030019 PWM_SCALE_SUM=25 PWM_SCALE_AUTO=3
  251. > PWM_AUTO: 00110023 PWM_OFS_AUTO=35 PWM_GRAD_AUTO=17
  252. > TSTEP: 000fffff TSTEP=1048575
  253. > DUMP_TMC extruder
  254. > ========== Write-only registers ==========
  255. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  256. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  257. > COOLCONF: 00000000
  258. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  259. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  260. > ========== Queried registers ==========
  261. > GCONF: 00000000
  262. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  263. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  264. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  265. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  266. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  267. > LOST_STEPS: 00000000
  268. > MSCNT: 00000008 MSCNT=8
  269. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  270. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  271. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  272. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  273. > TSTEP: 000fffff TSTEP=1048575
  274.  
  275. After Z_TILT_ADJUST. No physical load, belts detached.
  276. Observation: Motors are very loud, despite stealthchop. Motors were much quieter with G28.
  277.  
  278. > DUMP_TMC stepper_x
  279. > ========== Write-only registers ==========
  280. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  281. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  282. > TPWMTHRS: 00000000
  283. > COOLCONF: 00010000 sgt=1
  284. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  285. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  286. > TCOOLTHRS: 00000000
  287. > ========== Queried registers ==========
  288. > GCONF: 00000004 en_pwm_mode=1
  289. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  290. > GSTAT: 00000000
  291. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  292. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  293. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  294. > LOST_STEPS: 00000000
  295. > MSCNT: 00000118 MSCNT=280
  296. > MSCURACT: 01db00f4 CUR_A=244 CUR_B=-37
  297. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  298. > PWM_SCALE: 00000014 PWM_SCALE_SUM=20
  299. > PWM_AUTO: 00170027 PWM_OFS_AUTO=39 PWM_GRAD_AUTO=23
  300. > TSTEP: 000fffff TSTEP=1048575
  301. > DUMP_TMC stepper_y
  302. > ========== Write-only registers ==========
  303. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  304. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  305. > TPWMTHRS: 00000000
  306. > COOLCONF: 00010000 sgt=1
  307. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  308. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  309. > TCOOLTHRS: 00000000
  310. > ========== Queried registers ==========
  311. > GCONF: 00000004 en_pwm_mode=1
  312. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  313. > GSTAT: 00000000
  314. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  315. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  316. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  317. > LOST_STEPS: 00000000
  318. > MSCNT: 000000f8 MSCNT=248
  319. > MSCURACT: 000a00f7 CUR_A=247 CUR_B=10
  320. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  321. > PWM_SCALE: 00000013 PWM_SCALE_SUM=19
  322. > PWM_AUTO: 00130025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=19
  323. > TSTEP: 000fffff TSTEP=1048575
  324. > DUMP_TMC stepper_z
  325. > ========== Write-only registers ==========
  326. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  327. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  328. > TPWMTHRS: 00000000
  329. > COOLCONF: 00000000
  330. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  331. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  332. > ========== Queried registers ==========
  333. > GCONF: 00000004 en_pwm_mode=1
  334. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  335. > GSTAT: 00000000
  336. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  337. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  338. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  339. > LOST_STEPS: 00000000
  340. > MSCNT: 000003f8 MSCNT=1016
  341. > MSCURACT: 00f701f5 CUR_A=-11 CUR_B=247
  342. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  343. > PWM_SCALE: 00000012 PWM_SCALE_SUM=18
  344. > PWM_AUTO: 0010001c PWM_OFS_AUTO=28 PWM_GRAD_AUTO=16
  345. > TSTEP: 000fffff TSTEP=1048575
  346. > DUMP_TMC stepper_z1
  347. > ========== Write-only registers ==========
  348. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  349. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  350. > TPWMTHRS: 00000000
  351. > COOLCONF: 00000000
  352. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  353. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  354. > ========== Queried registers ==========
  355. > GCONF: 00000004 en_pwm_mode=1
  356. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  357. > GSTAT: 00000000
  358. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  359. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  360. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  361. > LOST_STEPS: 00000000
  362. > MSCNT: 000003d8 MSCNT=984
  363. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  364. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  365. > PWM_SCALE: 0001001b PWM_SCALE_SUM=27 PWM_SCALE_AUTO=1
  366. > PWM_AUTO: 000e0028 PWM_OFS_AUTO=40 PWM_GRAD_AUTO=14
  367. > TSTEP: 000fffff TSTEP=1048575
  368. > DUMP_TMC stepper_z2
  369. > ========== Write-only registers ==========
  370. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  371. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  372. > TPWMTHRS: 00000000
  373. > COOLCONF: 00000000
  374. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  375. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  376. > ========== Queried registers ==========
  377. > GCONF: 00000004 en_pwm_mode=1
  378. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  379. > GSTAT: 00000000
  380. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  381. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  382. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  383. > LOST_STEPS: 00000000
  384. > MSCNT: 000003d8 MSCNT=984
  385. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  386. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  387. > PWM_SCALE: 00000018 PWM_SCALE_SUM=24
  388. > PWM_AUTO: 000e0025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=14
  389. > TSTEP: 000fffff TSTEP=1048575
  390. > DUMP_TMC extruder
  391. > ========== Write-only registers ==========
  392. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  393. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  394. > COOLCONF: 00000000
  395. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  396. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  397. > ========== Queried registers ==========
  398. > GCONF: 00000000
  399. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  400. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  401. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  402. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  403. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  404. > LOST_STEPS: 00000000
  405. > MSCNT: 00000008 MSCNT=8
  406. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  407. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  408. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  409. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  410. > TSTEP: 000fffff TSTEP=1048575
  411.  
  412. Commit: 475d8a72ad3ded648d798052389be2fe7551bd64
  413. Physical load, belts attached. TMC_DUMP before homing.
  414.  
  415. > DUMP_TMC stepper_x
  416. > ========== Write-only registers ==========
  417. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  418. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  419. > TPWMTHRS: 00000000
  420. > COOLCONF: 00010000 sgt=1
  421. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  422. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  423. > TCOOLTHRS: 00000000
  424. > ========== Queried registers ==========
  425. > GCONF: 00000004 en_pwm_mode=1
  426. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  427. > GSTAT: 00000000
  428. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  429. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  430. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  431. > LOST_STEPS: 00000000
  432. > MSCNT: 00000118 MSCNT=280
  433. > MSCURACT: 01db00f4 CUR_A=244 CUR_B=-37
  434. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  435. > PWM_SCALE: 00000014 PWM_SCALE_SUM=20
  436. > PWM_AUTO: 00170027 PWM_OFS_AUTO=39 PWM_GRAD_AUTO=23
  437. > TSTEP: 000fffff TSTEP=1048575
  438. > DUMP_TMC stepper_y
  439. > ========== Write-only registers ==========
  440. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  441. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  442. > TPWMTHRS: 00000000
  443. > COOLCONF: 00010000 sgt=1
  444. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  445. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  446. > TCOOLTHRS: 00000000
  447. > ========== Queried registers ==========
  448. > GCONF: 00000004 en_pwm_mode=1
  449. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  450. > GSTAT: 00000000
  451. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  452. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  453. > Write g-code response
  454. > Traceback (most recent call last):
  455. > File "/home/pi/klipper/klippy/gcode.py", line 426, in _respond_raw
  456. > os.write(self.fd, msg+"\n")
  457. > OSError: [Errno 11] Resource temporarily unavailable
  458. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  459. > LOST_STEPS: 00000000
  460. > MSCNT: 000000f8 MSCNT=248
  461. > MSCURACT: 000a00f7 CUR_A=247 CUR_B=10
  462. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  463. > PWM_SCALE: 00000013 PWM_SCALE_SUM=19
  464. > PWM_AUTO: 00130025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=19
  465. > TSTEP: 000fffff TSTEP=1048575
  466. > DUMP_TMC stepper_z
  467. > ========== Write-only registers ==========
  468. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  469. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  470. > TPWMTHRS: 00000000
  471. > COOLCONF: 00000000
  472. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  473. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  474. > ========== Queried registers ==========
  475. > GCONF: 00000004 en_pwm_mode=1
  476. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  477. > GSTAT: 00000000
  478. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  479. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  480. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  481. > LOST_STEPS: 00000000
  482. > MSCNT: 000003f8 MSCNT=1016
  483. > MSCURACT: 00f701f5 CUR_A=-11 CUR_B=247
  484. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  485. > PWM_SCALE: 00000012 PWM_SCALE_SUM=18
  486. > PWM_AUTO: 0010001c PWM_OFS_AUTO=28 PWM_GRAD_AUTO=16
  487. > TSTEP: 000fffff TSTEP=1048575
  488. > DUMP_TMC stepper_z1
  489. > ========== Write-only registers ==========
  490. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  491. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  492. > TPWMTHRS: 00000000
  493. > COOLCONF: 00000000
  494. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  495. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  496. > ========== Queried registers ==========
  497. > GCONF: 00000004 en_pwm_mode=1
  498. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  499. > GSTAT: 00000000
  500. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  501. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  502. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  503. > LOST_STEPS: 00000000
  504. > MSCNT: 000003d8 MSCNT=984
  505. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  506. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  507. > PWM_SCALE: 0001001b PWM_SCALE_SUM=27 PWM_SCALE_AUTO=1
  508. > PWM_AUTO: 000e0028 PWM_OFS_AUTO=40 PWM_GRAD_AUTO=14
  509. > TSTEP: 000fffff TSTEP=1048575
  510. > DUMP_TMC stepper_z2
  511. > ========== Write-only registers ==========
  512. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  513. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  514. > TPWMTHRS: 00000000
  515. > COOLCONF: 00000000
  516. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  517. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  518. > ========== Queried registers ==========
  519. > GCONF: 00000004 en_pwm_mode=1
  520. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  521. > GSTAT: 00000000
  522. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  523. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  524. > IOIN: 30000052 REFR_DIR=1 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  525. > LOST_STEPS: 00000000
  526. > MSCNT: 000003d8 MSCNT=984
  527. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  528. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  529. > PWM_SCALE: 00000018 PWM_SCALE_SUM=24
  530. > PWM_AUTO: 000e0025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=14
  531. > TSTEP: 000fffff TSTEP=1048575
  532. > DUMP_TMC extruder
  533. > ========== Write-only registers ==========
  534. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  535. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  536. > COOLCONF: 00000000
  537. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  538. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  539. > ========== Queried registers ==========
  540. > GCONF: 00000000
  541. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  542. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  543. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  544. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  545. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  546. > LOST_STEPS: 00000000
  547. > MSCNT: 00000008 MSCNT=8
  548. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  549. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  550. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  551. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  552. > TSTEP: 000fffff TSTEP=1048575
  553.  
  554.  
  555. DUMP_TMC after G28
  556.  
  557. > DUMP_TMC stepper_x
  558. > ========== Write-only registers ==========
  559. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  560. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  561. > TPWMTHRS: 00000000
  562. > COOLCONF: 00010000 sgt=1
  563. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  564. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  565. > TCOOLTHRS: 00000000
  566. > ========== Queried registers ==========
  567. > GCONF: 00000004 en_pwm_mode=1
  568. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  569. > GSTAT: 00000000
  570. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  571. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  572. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  573. > LOST_STEPS: 00000000
  574. > MSCNT: 00000118 MSCNT=280
  575. > MSCURACT: 01db00f4 CUR_A=244 CUR_B=-37
  576. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  577. > PWM_SCALE: 00000013 PWM_SCALE_SUM=19
  578. > PWM_AUTO: 00140025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=20
  579. > TSTEP: 000fffff TSTEP=1048575
  580. > DUMP_TMC stepper_y
  581. > ========== Write-only registers ==========
  582. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  583. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  584. > TPWMTHRS: 00000000
  585. > COOLCONF: 00010000 sgt=1
  586. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  587. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  588. > TCOOLTHRS: 00000000
  589. > ========== Queried registers ==========
  590. > GCONF: 00000004 en_pwm_mode=1
  591. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  592. > GSTAT: 00000000
  593. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  594. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  595. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  596. > LOST_STEPS: 00000000
  597. > MSCNT: 000000d8 MSCNT=216
  598. > MSCURACT: 003b00f0 CUR_A=240 CUR_B=59
  599. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  600. > PWM_SCALE: 00000013 PWM_SCALE_SUM=19
  601. > PWM_AUTO: 00140024 PWM_OFS_AUTO=36 PWM_GRAD_AUTO=20
  602. > TSTEP: 000fffff TSTEP=1048575
  603. > DUMP_TMC stepper_z
  604. > ========== Write-only registers ==========
  605. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  606. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  607. > TPWMTHRS: 00000000
  608. > COOLCONF: 00000000
  609. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  610. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  611. > ========== Queried registers ==========
  612. > GCONF: 00000004 en_pwm_mode=1
  613. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  614. > GSTAT: 00000000
  615. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  616. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  617. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  618. > LOST_STEPS: 00000000
  619. > MSCNT: 000003f8 MSCNT=1016
  620. > MSCURACT: 00f701f5 CUR_A=-11 CUR_B=247
  621. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  622. > PWM_SCALE: 00000015 PWM_SCALE_SUM=21
  623. > PWM_AUTO: 00120020 PWM_OFS_AUTO=32 PWM_GRAD_AUTO=18
  624. > TSTEP: 000fffff TSTEP=1048575
  625. > DUMP_TMC stepper_z1
  626. > ========== Write-only registers ==========
  627. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  628. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  629. > TPWMTHRS: 00000000
  630. > COOLCONF: 00000000
  631. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  632. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  633. > ========== Queried registers ==========
  634. > GCONF: 00000004 en_pwm_mode=1
  635. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  636. > GSTAT: 00000000
  637. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  638. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  639. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  640. > LOST_STEPS: 00000000
  641. > MSCNT: 000003d8 MSCNT=984
  642. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  643. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  644. > PWM_SCALE: 0001001b PWM_SCALE_SUM=27 PWM_SCALE_AUTO=1
  645. > PWM_AUTO: 000f0029 PWM_OFS_AUTO=41 PWM_GRAD_AUTO=15
  646. > TSTEP: 000fffff TSTEP=1048575
  647. > DUMP_TMC stepper_z2
  648. > ========== Write-only registers ==========
  649. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  650. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  651. > TPWMTHRS: 00000000
  652. > COOLCONF: 00000000
  653. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  654. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  655. > ========== Queried registers ==========
  656. > GCONF: 00000004 en_pwm_mode=1
  657. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  658. > GSTAT: 00000000
  659. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  660. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  661. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  662. > LOST_STEPS: 00000000
  663. > MSCNT: 000003d8 MSCNT=984
  664. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  665. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  666. > PWM_SCALE: 00020017 PWM_SCALE_SUM=23 PWM_SCALE_AUTO=2
  667. > PWM_AUTO: 00100021 PWM_OFS_AUTO=33 PWM_GRAD_AUTO=16
  668. > TSTEP: 000fffff TSTEP=1048575
  669. > DUMP_TMC extruder
  670. > ========== Write-only registers ==========
  671. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  672. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  673. > COOLCONF: 00000000
  674. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  675. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  676. > ========== Queried registers ==========
  677. > GCONF: 00000000
  678. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  679. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  680. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  681. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  682. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  683. > LOST_STEPS: 00000000
  684. > MSCNT: 00000008 MSCNT=8
  685. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  686. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  687. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  688. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  689. > TSTEP: 000fffff TSTEP=1048575
  690.  
  691. DUMP_TMC after sending everything back to home with G1.
  692.  
  693. > DUMP_TMC stepper_x
  694. > ========== Write-only registers ==========
  695. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  696. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  697. > TPWMTHRS: 00000000
  698. > COOLCONF: 00010000 sgt=1
  699. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  700. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  701. > TCOOLTHRS: 00000000
  702. > ========== Queried registers ==========
  703. > GCONF: 00000004 en_pwm_mode=1
  704. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  705. > GSTAT: 00000000
  706. > DRV_STATUS: 80114000 stealth=1 CSACTUAL=17 stst=1
  707. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  708. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  709. > LOST_STEPS: 00000000
  710. > MSCNT: 00000118 MSCNT=280
  711. > MSCURACT: 01db00f4 CUR_A=244 CUR_B=-37
  712. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  713. > PWM_SCALE: 00040018 PWM_SCALE_SUM=24 PWM_SCALE_AUTO=4
  714. > PWM_AUTO: 00140025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=20
  715. > TSTEP: 000fffff TSTEP=1048575
  716. > DUMP_TMC stepper_y
  717. > ========== Write-only registers ==========
  718. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  719. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  720. > TPWMTHRS: 00000000
  721. > COOLCONF: 00010000 sgt=1
  722. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  723. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  724. > TCOOLTHRS: 00000000
  725. > ========== Queried registers ==========
  726. > GCONF: 00000004 en_pwm_mode=1
  727. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  728. > GSTAT: 00000000
  729. > DRV_STATUS: 80114000 stealth=1 CSACTUAL=17 stst=1
  730. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  731. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  732. > LOST_STEPS: 00000000
  733. > MSCNT: 000002d8 MSCNT=728
  734. > MSCURACT: 01c4010f CUR_A=-241 CUR_B=-60
  735. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  736. > PWM_SCALE: 00000014 PWM_SCALE_SUM=20
  737. > PWM_AUTO: 00140024 PWM_OFS_AUTO=36 PWM_GRAD_AUTO=20
  738. > TSTEP: 000fffff TSTEP=1048575
  739. > DUMP_TMC stepper_z
  740. > ========== Write-only registers ==========
  741. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  742. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  743. > TPWMTHRS: 00000000
  744. > COOLCONF: 00000000
  745. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  746. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  747. > ========== Queried registers ==========
  748. > GCONF: 00000004 en_pwm_mode=1
  749. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  750. > GSTAT: 00000000
  751. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  752. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  753. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  754. > LOST_STEPS: 00000000
  755. > MSCNT: 000003f8 MSCNT=1016
  756. > MSCURACT: 00f701f5 CUR_A=-11 CUR_B=247
  757. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  758. > PWM_SCALE: 00000015 PWM_SCALE_SUM=21
  759. > PWM_AUTO: 00120020 PWM_OFS_AUTO=32 PWM_GRAD_AUTO=18
  760. > TSTEP: 000fffff TSTEP=1048575
  761. > DUMP_TMC stepper_z1
  762. > ========== Write-only registers ==========
  763. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  764. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  765. > TPWMTHRS: 00000000
  766. > COOLCONF: 00000000
  767. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  768. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  769. > ========== Queried registers ==========
  770. > GCONF: 00000004 en_pwm_mode=1
  771. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  772. > GSTAT: 00000000
  773. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  774. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  775. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  776. > LOST_STEPS: 00000000
  777. > MSCNT: 000003d8 MSCNT=984
  778. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  779. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  780. > PWM_SCALE: 0001001b PWM_SCALE_SUM=27 PWM_SCALE_AUTO=1
  781. > PWM_AUTO: 000f0029 PWM_OFS_AUTO=41 PWM_GRAD_AUTO=15
  782. > TSTEP: 000fffff TSTEP=1048575
  783. > DUMP_TMC stepper_z2
  784. > ========== Write-only registers ==========
  785. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  786. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  787. > TPWMTHRS: 00000000
  788. > COOLCONF: 00000000
  789. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  790. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  791. > ========== Queried registers ==========
  792. > GCONF: 00000004 en_pwm_mode=1
  793. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  794. > GSTAT: 00000000
  795. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  796. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  797. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  798. > LOST_STEPS: 00000000
  799. > MSCNT: 000003d8 MSCNT=984
  800. > MSCURACT: 00f001c4 CUR_A=-60 CUR_B=240
  801. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  802. > PWM_SCALE: 00030018 PWM_SCALE_SUM=24 PWM_SCALE_AUTO=3
  803. > PWM_AUTO: 00100021 PWM_OFS_AUTO=33 PWM_GRAD_AUTO=16
  804. > TSTEP: 000fffff TSTEP=1048575
  805. > DUMP_TMC extruder
  806. > ========== Write-only registers ==========
  807. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  808. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  809. > COOLCONF: 00000000
  810. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  811. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  812. > ========== Queried registers ==========
  813. > GCONF: 00000000
  814. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  815. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  816. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  817. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  818. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  819. > LOST_STEPS: 00000000
  820. > MSCNT: 00000008 MSCNT=8
  821. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  822. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  823. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  824. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  825. > TSTEP: 000fffff TSTEP=1048575
  826.  
  827. DUMP_TMC after Z_TITLT_ADJUST
  828.  
  829. > DUMP_TMC stepper_x
  830. > ========== Write-only registers ==========
  831. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  832. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  833. > TPWMTHRS: 00000000
  834. > COOLCONF: 00010000 sgt=1
  835. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  836. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  837. > TCOOLTHRS: 00000000
  838. > ========== Queried registers ==========
  839. > GCONF: 00000004 en_pwm_mode=1
  840. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  841. > GSTAT: 00000000
  842. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  843. > FACTORY_CONF: 0000000f FACTORY_CONF=15
  844. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  845. > LOST_STEPS: 00000000
  846. > MSCNT: 00000118 MSCNT=280
  847. > MSCURACT: 01db00f4 CUR_A=244 CUR_B=-37
  848. > OTP_READ: 0000000f OTP_FCLKTRIM=15
  849. > PWM_SCALE: 00000014 PWM_SCALE_SUM=20
  850. > PWM_AUTO: 00170026 PWM_OFS_AUTO=38 PWM_GRAD_AUTO=23
  851. > TSTEP: 000fffff TSTEP=1048575
  852. > DUMP_TMC stepper_y
  853. > ========== Write-only registers ==========
  854. > GLOBALSCALER: 0000007d GLOBALSCALER=125
  855. > IHOLD_IRUN: 00061f10 IHOLD=16 IRUN=31 IHOLDDELAY=6
  856. > TPWMTHRS: 00000000
  857. > COOLCONF: 00010000 sgt=1
  858. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  859. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  860. > TCOOLTHRS: 00000000
  861. > ========== Queried registers ==========
  862. > GCONF: 00000004 en_pwm_mode=1
  863. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  864. > GSTAT: 00000000
  865. > DRV_STATUS: 80104000 stealth=1 CSACTUAL=16 stst=1
  866. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  867. > IOIN: 30000040 SD_MODE=1 VERSION=0x30
  868. > LOST_STEPS: 00000000
  869. > MSCNT: 00000318 MSCNT=792
  870. > MSCURACT: 0024010b CUR_A=-245 CUR_B=36
  871. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  872. > PWM_SCALE: 00020015 PWM_SCALE_SUM=21 PWM_SCALE_AUTO=2
  873. > PWM_AUTO: 00140025 PWM_OFS_AUTO=37 PWM_GRAD_AUTO=20
  874. > TSTEP: 000fffff TSTEP=1048575
  875. > DUMP_TMC stepper_z
  876. > ========== Write-only registers ==========
  877. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  878. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  879. > TPWMTHRS: 00000000
  880. > COOLCONF: 00000000
  881. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  882. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  883. > ========== Queried registers ==========
  884. > GCONF: 00000004 en_pwm_mode=1
  885. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  886. > GSTAT: 00000000
  887. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  888. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  889. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  890. > LOST_STEPS: 00000000
  891. > MSCNT: 00000388 MSCNT=904
  892. > MSCURACT: 00b7015a CUR_A=-166 CUR_B=183
  893. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  894. > PWM_SCALE: 00000015 PWM_SCALE_SUM=21
  895. > PWM_AUTO: 000e0020 PWM_OFS_AUTO=32 PWM_GRAD_AUTO=14
  896. > TSTEP: 000fffff TSTEP=1048575
  897. > DUMP_TMC stepper_z1
  898. > ========== Write-only registers ==========
  899. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  900. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  901. > TPWMTHRS: 00000000
  902. > COOLCONF: 00000000
  903. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  904. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  905. > ========== Queried registers ==========
  906. > GCONF: 00000004 en_pwm_mode=1
  907. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  908. > GSTAT: 00000000
  909. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  910. > FACTORY_CONF: 0000000a FACTORY_CONF=10
  911. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  912. > LOST_STEPS: 00000000
  913. > MSCNT: 000001c8 MSCNT=456
  914. > MSCURACT: 01160052 CUR_A=82 CUR_B=-234
  915. > OTP_READ: 0000000a OTP_FCLKTRIM=10
  916. > PWM_SCALE: 0000001c PWM_SCALE_SUM=28
  917. > PWM_AUTO: 000f002b PWM_OFS_AUTO=43 PWM_GRAD_AUTO=15
  918. > TSTEP: 000fffff TSTEP=1048575
  919. > DUMP_TMC stepper_z2
  920. > ========== Write-only registers ==========
  921. > GLOBALSCALER: 00000064 GLOBALSCALER=100
  922. > IHOLD_IRUN: 00061f14 IHOLD=20 IRUN=31 IHOLDDELAY=6
  923. > TPWMTHRS: 00000000
  924. > COOLCONF: 00000000
  925. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  926. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  927. > ========== Queried registers ==========
  928. > GCONF: 00000004 en_pwm_mode=1
  929. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  930. > GSTAT: 00000000
  931. > DRV_STATUS: 80144000 stealth=1 CSACTUAL=20 stst=1
  932. > FACTORY_CONF: 00000011 FACTORY_CONF=17
  933. > IOIN: 30000042 REFR_DIR=1 SD_MODE=1 VERSION=0x30
  934. > LOST_STEPS: 00000000
  935. > MSCNT: 00000038 MSCNT=56
  936. > MSCURACT: 00e80053 CUR_A=83 CUR_B=232
  937. > OTP_READ: 00000011 OTP_FCLKTRIM=17
  938. > PWM_SCALE: 00000019 PWM_SCALE_SUM=25
  939. > PWM_AUTO: 000e0027 PWM_OFS_AUTO=39 PWM_GRAD_AUTO=14
  940. > TSTEP: 000fffff TSTEP=1048575
  941. > DUMP_TMC extruder
  942. > ========== Write-only registers ==========
  943. > GLOBALSCALER: 00000020 GLOBALSCALER=32
  944. > IHOLD_IRUN: 00061c07 IHOLD=7 IRUN=28 IHOLDDELAY=6
  945. > COOLCONF: 00000000
  946. > PWMCONF: c40c001e PWM_OFS=30 pwm_autoscale=1 pwm_autograd=1 PWM_REG=4 PWM_LIM=12
  947. > TPOWERDOWN: 0000000a TPOWERDOWN=10
  948. > ========== Queried registers ==========
  949. > GCONF: 00000000
  950. > CHOPCONF: 14410153 toff=3 hstrt=5 hend=2 tbl=2 tpfd=4 MRES=4(16usteps) intpol=1
  951. > GSTAT: 00000005 reset=1(Reset) uv_cp=1(Undervoltage!)
  952. > DRV_STATUS: 80070000 CSACTUAL=7 stst=1
  953. > FACTORY_CONF: 0000000b FACTORY_CONF=11
  954. > IOIN: 30000050 DRV_ENN=1 SD_MODE=1 VERSION=0x30
  955. > LOST_STEPS: 00000000
  956. > MSCNT: 00000008 MSCNT=8
  957. > MSCURACT: 00f7000c CUR_A=12 CUR_B=247
  958. > OTP_READ: 0000000b OTP_FCLKTRIM=11
  959. > PWM_SCALE: 00000007 PWM_SCALE_SUM=7
  960. > PWM_AUTO: 0000001d PWM_OFS_AUTO=29
  961. > TSTEP: 000fffff TSTEP=1048575
  962.  
  963. I can do Z_TILT_ADJUST with the actual commit and stealthchop activated, if I do the procedure before with no physical load on the motors. I can attach the belts afterwards and do everything I want with stealthchop activated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement