bigtreetech / BIGTREETECH-GTR-V1.0

BIGTREETECH GTR V1.0 motherboard is a high-performance 3D printer main control board with the core controller STM32F407IGT6, which was launched by the 3D printing team of ShenZhen BigTree Technology CO.,LTD ., aiming at solving some problems existing in the motherboard market. The BIGTREETECH GTR V1.0 is the motherboard, and the BIGTREETECH M5 V1.0 is the expansion board.
90 stars 55 forks source link

TMC2209 giving TMC Connection Error #23

Closed marshcroft closed 4 years ago

marshcroft commented 4 years ago

I have the GTR board installed with the following 24V PSU 5 x TMC2209 Genuine BLTOUCH

When board boots the Marlin screen displays

TMC CONNECTION ERROR

I couldn't get sensor less homing to work at all even with it set at 255, to get the end stops to work I removed the pins from the X and Y Drivers only

Running the M122 Command from Promterface I get the following output

SENDING:M122 X Y Z E Address 0 0 0 0 Enabled false false false false Set current 800 800 800 800 RMS current 1436 1436 1436 1436 MAX current 2025 2025 2025 2025 Run current 25/31 25/31 25/31 25/31 Hold current 12/31 12/31 12/31 12/31 CS actual 0/31 0/31 0/31 0/31 PWM scale 0 0 0 0 vsense 0=.325 0=.325 0=.325 0=.325 stealthChop false false false false msteps 256 256 256 256 tstep 0 0 0 0 pwm threshold [mm/s] OT prewarn false false false false OT prewarn has been triggered false false false false off time 0 0 0 0 blank time 16 16 16 16 hysteresis -end -3 -3 -3 -3 -start 1 1 1 1 Stallguard thrs 0 0 0 0 DRVSTATUS X Y Z E stst olb ola s2gb s2ga otpw ot 157C 150C 143C 120C s2vsa s2vsb Driver registers: X 0x00:00:00:00 Bad response! Y 0x00:00:00:00 Bad response! Z 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 Z connection... Error: All LOW Testing E connection... Error: All LOW

I have attached my configuration files

I have tried this compiled on the latest firmware on from BTT, which has TMCStepper@>=0.6.2,<1.0.0

I previous version that had the TMC driver version TMCStepper@>=0.5.2,<1.0.0

And the latest vanilla Marlin all give the same results, any help would be appreciated.

Configuration_adv.txt Configuration.txt

marshcroft commented 4 years ago

Took out all drivers and jumpers placed them back in and the single jumper on the UART pin, started and error message is now gone and Pronterface is showing correct results. Also running this on the latest BTT build with TMCStepper@>=0.6.2,<1.0.0