Replace the default definition of #define MOTHERBOARD with your motherboard. It's default value is BOARD_RAMPS_14_EFB but it can be anything from boards.h in Arduino. Change it to the value of your motherboard from Boards.h. This line of code is on line 122. EFB stands for the setup up you can have with Ramps 1.4 motherboard that has one extruder, one fan, and one heated bed like most Prusa i3 variants. Here are the values you could change it to.
BOARD_RAMPS_OLD
MKS Gen 1.4 + GLCD 12864. MKS Gen 1.4 + MKS TFT 2.8 / 3.2. I/Os + wiring diagram. Security notice. Any wiring process requires attention and very basic logic. Any short circuit or wrong use of the board I/Os can generate fire hazard. WARNING: make sure to check max power requirements before using any devices on any I/Os. How to download and update firmware mks gen 1 4 firmware Download digital photo Cameras firmware: most of the camera s internal parts including lenses, autofocus, LCD screens etc. Are controlled by microprocessors. Microprocessors are controlled by firmware that enables the device to do the job it was purchased for.
BOARD_RAMPS_13_EFB // RAMPS 1.3 (Power outputs: Hotend, Fan, Bed) #define BOARD_RAMPS_13_EEB // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Bed) #define BOARD_RAMPS_13_EFF // RAMPS 1.3 (Power outputs: Hotend, Fan0, Fan1) #define BOARD_RAMPS_13_EEF // RAMPS 1.3 (Power outputs: Hotend0, Hotend1, Fan) #define BOARD_RAMPS_13_SF // RAMPS 1.3 (Power outputs: Spindle, Controller Fan)
#define BOARD_RAMPS_14_EFB // RAMPS 1.4 (Power outputs: Hotend, Fan, Bed) #define BOARD_RAMPS_14_EEB // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Bed) #define BOARD_RAMPS_14_EFF // RAMPS 1.4 (Power outputs: Hotend, Fan0, Fan1) #define BOARD_RAMPS_14_EEF // RAMPS 1.4 (Power outputs: Hotend0, Hotend1, Fan) #define BOARD_RAMPS_14_SF // RAMPS 1.4 (Power outputs: Spindle, Controller Fan)
BOARD_RAMPS_PLUS_EFB // RAMPS Plus 3DYMY (Power outputs: Hotend, Fan, Bed) BOARD_RAMPS_PLUS_EEB // RAMPS Plus 3DYMY (Power outputs: Hotend0, Hotend1, Bed)
BOARD_RAMPS_PLUS_EFF // RAMPS Plus 3DYMY (Power outputs: Hotend, Fan0, Fan1) BOARD_RAMPS_PLUS_EEF // RAMPS Plus 3DYMY (Power outputs: Hotend0, Hotend1, Fan) BOARD_RAMPS_PLUS_SF // RAMPS Plus 3DYMY (Power outputs: Spindle, Controller Fan)
BOARD_3DRAG // 3Drag Controller
BOARD_K8200 // Velleman K8200 Controller (derived from 3Drag Controller)
BOARD_K8400 // Velleman K8400 Controller (derived from 3Drag Controller)
BOARD_BAM_DICE // 2PrintBeta BAM&DICE with STK drivers
BOARD_BAM_DICE_DUE // 2PrintBeta BAM&DICE Due with STK drivers
BOARD_MKS_BASE // MKS BASE 1.0 BOARD_MKS_13 // MKS v1.3 or 1.4 (maybe higher) #define BOARD_MKS_GEN_L // MKS GEN L
BOARD_ZRIB_V20 // zrib V2.0 control board (Chinese knock off RAMPS replica)
BOARD_FELIX // Felix 2.0+ Electronics Board (RAMPS like)
BOARD_RIGIDBOARD // Invent-A-Part RigidBoard
BOARD_RIGIDBOARD_V2 // Invent-A-Part RigidBoard V2
BOARD_SAINSMART_2IN1 // Sainsmart 2-in-1 board BOARD_ULTIMAKER // Ultimaker BOARD_ULTIMAKER_OLD // Ultimaker (Older electronics. Pre 1.5.4. This is rare)
BOARD_AZTEEG_X3 // Azteeg X3
BOARD_AZTEEG_X3_PRO // Azteeg X3 Pro
BOARD_ULTIMAIN_2 // Ultimainboard 2.x (Uses TEMP_SENSOR 20)
BOARD_RUMBA // Rumba
BOARD_BQ_ZUM_MEGA_3D // bq ZUM Mega 3D
BOARD_MAKEBOARD_MINI // MakeBoard Mini v2.1.2 is a control board sold by MicroMake
BOARD_CNCONTROLS_11 // Cartesio CN Controls V11
BOARD_CNCONTROLS_12 // Cartesio CN Controls V12
BOARD_CHEAPTRONIC // Cheaptronic v1.0
BOARD_CHEAPTRONIC_V2 // Cheaptronic v2.0
BOARD_MIGHTYBOARD_REVE // Makerbot Mightyboard Revision E
BOARD_MEGATRONICS // Megatronics
BOARD_MEGATRONICS_2 // Megatronics v2.0
BOARD_MEGATRONICS_3 // Megatronics v3.0
BOARD_MEGATRONICS_31 // Megatronics v3.1
BOARD_RAMBO 301 // Rambo
BOARD_MINIRAMBO // Mini-Rambo
BOARD_MINIRAMBO_10A // Mini-Rambo 1.0a
BOARD_ELEFU_3 // Elefu Ra Board (v3)
BOARD_LEAPFROG // Leapfrog #define BOARD_MEGACONTROLLER 310 // Mega controller #define BOARD_SCOOVO_X9H // abee Scoovo X9H
BOARD_GT2560_REV_A // Geeetech GT2560 Rev. A
BOARD_GT2560_REV_A_PLUS 75 // Geeetech GT2560 Rev. A+ (with auto level probe)
BOARD_MINITRONICS // Minitronics v1.0/1.1
BOARD_SILVER_GATE // Silvergate v1.0
BOARD_SANGUINOLOLU_11 // Sanguinololu < 1.2
BOARD_SANGUINOLOLU_12 // Sanguinololu 1.2 and above
BOARD_MELZI // Melzi
BOARD_MELZI_MAKR3D // Melzi with ATmega1284 (MaKr3d version)
BOARD_MELZI_CREALITY // Melzi Creality3D board (for CR-10 etc)
BOARD_STB_11 // STB V1.1
BOARD_AZTEEG_X1 // Azteeg X1
BOARD_GEN3_MONOLITHIC // Gen3 Monolithic Electronics
BOARD_GEN3_PLUS // Gen3+
BOARD_GEN6 // Gen6
BOARD_GEN6_DELUXE // Gen6 deluxe
BOARD_GEN7_CUSTOM // Gen7 custom (Alfons3 Version)
BOARD_GEN7_12 // Gen7 v1.1, v1.2
BOARD_GEN7_13 // Gen7 v1.3
BOARD_GEN7_14 // Gen7 v1.4
BOARD_OMCA_A // Alpha OMCA board
BOARD_OMCA // Final OMCA board BOARD_SETHI // Sethi 3D_1
BOARD_ANET_10 // Anet 1.0 (Melzi clone)
// // Teensyduino - AT90USB1286, AT90USB1286P //
BOARD_TEENSYLU // Teensylu
BOARD_PRINTRBOARD // Printrboard (AT90USB1286)
BOARD_PRINTRBOARD_REVF // Printrboard Revision F (AT90USB1286)
BOARD_BRAINWAVE // Brainwave (AT90USB646)
BOARD_BRAINWAVE_PRO // Brainwave Pro (AT90USB1286)
BOARD_SAV_MKI // SAV Mk-I (AT90USB1286)
BOARD_TEENSY2 // Teensy++2.0 (AT90USB1286) - CLI compile: HARDWARE_MOTHERBOARD=84 BOARD_5DPRINT // 5DPrint D8 Driver Board
Bug Report
- Description: I have been unable to get the TMC2130 to move while in SPI mode.
As i have read in another issues #8480 & teemuatlut/TMC2130Stepper#13), the #Fysetc drivers come with the standalone bridge connected. It took me some time to find that issue so if anything this issue may help others who run into this first. As a test I removed all SPI cables and tested the TMC2130 in standalone mode, Everything works as expected.
When i removed the bridge to enable SPI the driver fails to energies the motor at all. I did manage to load Marlin 1.1.8 and run command M112, the out put is below. Any help in reading this output would be great, i dont know what it should look like.
For now i have put the drivers back in standalone mode. But it would be great if we can figure out how to make these Fysetc drivers work on SPI.
13:55:04.717 : N17 M122*20
13:55:04.717 : Y
13:55:04.717 : Enabled false
13:55:04.717 : Set current 800
13:55:04.717 : RMS current 1436
13:55:04.717 : MAX current 2025
13:55:04.717 : Run current 25/31
13:55:04.717 : Hold current 12/31
13:55:04.717 : CS actual 0/31
13:55:04.717 : PWM scale 0
13:55:04.717 : vsense 0=.325
13:55:04.717 : stealthChop false
13:55:04.717 : msteps 256
13:55:04.717 : tstep 0
13:55:04.717 : pwm
13:55:04.717 : threshold 0
13:55:04.717 : [mm/s] -
13:55:04.717 : OT prewarn false
13:55:04.717 : OT prewarn has
13:55:04.717 : been triggered false
13:55:04.717 : off time 0
13:55:04.717 : blank time 16
13:55:04.717 : hysterisis
13:55:04.717 : -end -3
13:55:04.733 : -start 1
13:55:04.733 : Stallguard thrs 0
13:55:04.733 : DRVSTATUS Y
13:55:04.733 : stallguard
13:55:04.733 : sg_result 0
13:55:04.733 : fsactive
13:55:04.733 : stst
13:55:04.733 : olb
13:55:04.733 : ola
13:55:04.733 : s2gb
13:55:04.733 : s2ga
13:55:04.733 : otpw
13:55:04.733 : ot
13:55:04.733 : Driver registers:
13:55:04.733 : Y = 0x00:00:00:00
13:55:04.717 : Y
13:55:04.717 : Enabled false
13:55:04.717 : Set current 800
13:55:04.717 : RMS current 1436
13:55:04.717 : MAX current 2025
13:55:04.717 : Run current 25/31
13:55:04.717 : Hold current 12/31
13:55:04.717 : CS actual 0/31
13:55:04.717 : PWM scale 0
13:55:04.717 : vsense 0=.325
13:55:04.717 : stealthChop false
13:55:04.717 : msteps 256
13:55:04.717 : tstep 0
13:55:04.717 : pwm
13:55:04.717 : threshold 0
13:55:04.717 : [mm/s] -
13:55:04.717 : OT prewarn false
13:55:04.717 : OT prewarn has
13:55:04.717 : been triggered false
13:55:04.717 : off time 0
13:55:04.717 : blank time 16
13:55:04.717 : hysterisis
13:55:04.717 : -end -3
13:55:04.733 : -start 1
13:55:04.733 : Stallguard thrs 0
13:55:04.733 : DRVSTATUS Y
13:55:04.733 : stallguard
13:55:04.733 : sg_result 0
13:55:04.733 : fsactive
13:55:04.733 : stst
13:55:04.733 : olb
13:55:04.733 : ola
13:55:04.733 : s2gb
13:55:04.733 : s2ga
13:55:04.733 : otpw
13:55:04.733 : ot
13:55:04.733 : Driver registers:
13:55:04.733 : Y = 0x00:00:00:00