#define EXTRUDERS 1 Up this number Just defining the stepper driver is not enough as you can have mixing extrudes...by Dust - Firmware - Marlin
Also extruders have protection, they will refuse to move if hotend is not hot. use M302 P1 ; disable cold extrusion checking And yes each extruder is a tool T0 G1 E20 ; move current extruder 20mm T1 G1 E20 T2 G1 E20by Dust - Firmware - Marlin
you DEFAULT_MAX_ACCELERATION e value is silly highby Dust - Firmware - Marlin
1) your using it wrong, probably due to documentation being out of date See comment in the code /** * M605: Set multi-nozzle duplication mode * * S2 - Enable duplication mode * P - Bit-mask of nozzles to include in the duplication set. * A value of 0 disables duplication. * E - Last nozzle index to include in the duplication set. * A valueby Dust - Firmware - Marlin
Most likely your not opening the folder with the file platformio.ini in it.by Dust - Firmware - Marlin
yes you probably killed it Motors have back emf, you have to protect the mosfet from the motor by putting a diode over the motor pins egby Dust - Firmware - Marlin
marlin expect SERIAL_PORT to talk gcode.. end of story. attempting to use for for anything else will end badly. All received data is sent to the gcode passer use LCD_SERIAL_PORT You have to look at the pin diagrams for your board or the schematic The tft port uses hardware uart 1by Dust - Firmware - Marlin
If your using Marlin 2.0.9.5 code you need to use Marlin examples config for that release ie https://github.com/MarlinFirmware/Configurations/archive/refs/heads/release-2.0.9.5.zipby Dust - Firmware - Marlin
SERIAL_PORT in marlin are for devices that talk gcode LCD_SERIAL_PORT is for serial lcds talking custom protocols Marlin already support a nextion display // // 320x240 Nextion 2.8" serial TFT Resistive Touch Screen NX3224T028 // //#define NEXTION_TFT So look at all code that references NEXTION_TFT mostly in Marlin/src/lcd/extui/nextion take a close look at ReadTFTCommand() Marlin uses aby Dust - Firmware - Marlin
Read the Configuration files These is a lot of documentation in the files. Basic config set #define MOTHERBOARD BOARD_BTT_SKR_MINI_E3_V3_0 #define SERIAL_PORT -1 this is the minimal config you need this sets up the board your using, and all the IO pins for defaults use And sets up the USB serial port so you can send gcode to the controller. What next?? depends what you need it to doby Dust - Firmware - Marlin
Core xy 101: Two steppers A and B control X and Y together when A and B move in the same direction X moves when A and B move in opposite directions Y moves One of you steppers is inverted to flip X and Y Your have #define INVERT_X_DIR false #define INVERT_Y_DIR true Try both set to false.by Dust - Firmware - Marlin
FYI PA8, //D8 You might have better luck with M42 P8 S255 M42 P66 S255 makes no sense ignoring the wrong port, you are trying to set the pin you have defined as a inpout for your switch as an output via gcode??? how have you wired the switch? normally the switch would connect the io pin to gnd with a pull up resistor to vcc So open it reads high and closed it read low Port identificationby Dust - Firmware - Marlin
Your have #define SDIO_SUPPORT Does this controller support SDIO? not according to the circuit diagram, it just has regular SPI SD support Disable thisby Dust - Firmware - Marlin
use ramps test code super simple, moves all stepper motors back and forward, and toggles mosfets on and off (so unplug heaters) no checks, no configuration,by Dust - General
you cannot have M900 without LIN_ADVANCE There is zero sane reason to remove that #ifby Dust - Firmware - Marlin
TMC COM error has many causes. 1) power, these drivers need 12/24v before or at same time as logic voltage. So powering the board just over USB will cause this error. 2) board pins are not set correctly TMC UART moder set O O O M0 O O O M1 O=O O M2 O O MKS TMC2209, MKS TMC2225, MKS TMC2208 plug in to use UART mode directly 3) some tmc stepper driver have a jumper toby Dust - Firmware - Marlin
Has #define MKS_TS35_V2_0 with #define TOUCH_SCREEN Is a spi screen, under marlin control. not a serial touch screenby Dust - Firmware - Marlin
Marlln is not a new project, all of this is already doneby Dust - Firmware - Marlin
Some clarification.... Two tress provides this directory The Config file provided in this firmware directory robin_nano35.cfg.txt is not standard for anything . It is not a platformio config file its is not a Marlin config file. (but parts of it clearly are based on marlin Config files) What two trees has done is to heavily customize Marlin, This allows for settings that are normally comby Dust - Firmware - Marlin
Finally spotted why those driver TERN's where not working #define Z_DRIVER_TYPE TERN(SAPPHIRE_PLUS_TMC_UART,TMC2209.TMC2209_STANDALONE) has a full stop in it, not a comma between TMC2209 and TMC2209_STANDALONEby Dust - Firmware - Marlin
But there are many other issues #define Z2_DRIVER_TYPE TERN(SAPPHIRE_PLUS_TMC_UART,TMC2209,TMC2209_STANDALONE needs a closing bracket But using a TERN here doesn't work anyways just set it manually #define X_DRIVER_TYPE TMC2209 //TERN(SAPPHIRE_PLUS_TMC_UART,TMC2209,TMC2209_STANDALONE) #define Y_DRIVER_TYPE TMC2209 //TERN(SAPPHIRE_PLUS_TMC_UART,TMC2209,TMC2209_STANDALONE) #define Z_DRIVER_Tby Dust - Firmware - Marlin
You have #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_1_3_F4 Missing a very important V character You need #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V1_3_F4 But you say you have a V3.1 So it really should be #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V3_1by Dust - Firmware - Marlin
The driver are very probably dead It is a simple matter to test them, if you do hobbyist electronic or better Its the same as this the advanced feature such as settings driver settings with uart are not tested with this, but I suspect they will fail even this simple test alternatively The MKS Gen L V1.0 is just a simple mega2560 based controller you can use the ramps test sketch Thisby Dust - General
Show what you have in your Configuration.h In the #define MOTHERBOARD areaby Dust - Firmware - Marlin
Your making your life so much harder than it has to be. Yes MS is the devil incarnate but vscode is just an editor + programming features and is cross platform. You don't go looking for configs for this board. you look for example configurations for your printer, and hope there is an example or your controller,and if not you adapt it to your board You change #define MOTHERBOARD BOARD_Mby Dust - Firmware - Marlin
Make sure e1_det jumper is disconnected (under E1 stepper driver) If E1 stepper driver is unplugged, its not thatby Dust - Firmware - Marlin
That is the beeper on the lcd the skr mini has a serial port on it lcd connector PA9 and PA10 are serial port 1 When used as a CR10_STOCKDISPLAY You must make sure you don't have serial port 1 enabled anywhere check these defines, none should be set to 1 SERIAL_PORT SERIAL_PORT_2 SERIAL_PORT_3 LCD_SERIAL_PORTby Dust - Firmware - Marlin
@dlamet Nope. I've just seen those symptoms many times before and knew to check if that settings was enabled in the configs.by Dust - Firmware - Marlin
disable #define SOFTWARE_DRIVER_ENABLE These driver use an IO pinby Dust - Firmware - Marlin
Did you try this with 12v enabled? As TMC stepper drivers need this (even to talk over uart or SPI) And 12v needs to be turned on at the same time or before 5v, not after 5v is active.by Dust - Firmware - Marlin