Communications with this board is two part a) the board has a FT232RL serial to USB chip. Your operating system needs drivers to see this and talk to it. Also due to ftdigate (google it) , this converter chip may be bricked (its old enough to have been caught by this) b) the MPU has to be running some code to respond to serial. This includes the baud rate Most common baudrate is 115200 orby Dust - General
You need to make a few small code changes to have a second uart on esp32 In standard diff format. Make these changes diff --git a/Marlin/src/HAL/ESP32/FlushableHardwareSerial.cpp b/Marlin/src/HAL/ESP32/FlushableHardwareSerial.cpp index 145662215a..29804d34e9 100644 --- a/Marlin/src/HAL/ESP32/FlushableHardwareSerial.cpp +++ b/Marlin/src/HAL/ESP32/FlushableHardwareSerial.cpp @@ -25,5 +25,6 @@by Dust - Firmware - Marlin
esp32 does not have sufficient IO pins for most 3d printers, so an IO expander chip is used There are two different types of io expanders currently implemented One is via serial, pins >= 100 on this type of IO expander are on the expander. The other is via i2s when pinis with bit 8 is set ie >= 128 are on the expander. See Marlin/src/HAL/ESP32/fastio.h for more details.by Dust - Firmware - Marlin
The linked URL is the default Configuration, its only use was to show you where the two lines where QuoteDust check these are correct #define X_MIN_POS 0 #define Y_MIN_POS 0 These are your home positions Ie When you home X, the X endstop trigger point sets where X0 is for the hotend , if the hotend is actually left of the bed X_MIN_POS should be a negative number, so moving the positive ofby Dust - Firmware - Marlin
It is in the Configuration.h file on Lines 1731 and 1732 seeby Dust - Firmware - Marlin
Please try a little harder to help yourself. Searching text files for a string is a very basic computer skill.by Dust - Firmware - Marlin
check these are correct #define X_MIN_POS 0 #define Y_MIN_POS 0 These are your home positions Ie When you home X, the X endstop trigger point sets where X0 is for the hotend , if the hotend is actually left of the bed X_MIN_POS should be a negative number, so moving the positive of that value will nove to X0 When you home Y, the Y endstop position point sets where Y0 is for the hotend. if theby Dust - Firmware - Marlin
Long discussion about it on github MP_SCARA Issue is basically fixed but user is not using a mp_scara but a scara arm with individual endstops and other changesby Dust - Firmware - Marlin
you have Z_PROBE_SERVO_NR 0 this is fine. are you sure its a ramps 1.3 ? as the only difference from a ramps 1.3 to the ramps 1.4 (firmware wise) is the servo0 pin changed #ifdef IS_RAMPS_13 #define SERVO0_PIN 7 #else #define SERVO0_PIN 11 #endifby Dust - Firmware - Marlin
No one has done this yet, I gave it a quick look, but it looks like stock platformio doesn't recognize the board yet, a known issue This would be a lot of work. Every new type of board needs a HAL level (since it is a STM32H747XI, may be able to use stm32 HAL) eg there is AVR and DUE a GIGA would need addedby Dust - Firmware - Marlin
The 5A power in provides power to: fans hotends vin (atmega2560 power supply) and stepper motors If you remove D1 then the mega is safe from getting to much voltage. but what of the fans or the hotend? You don't have to replace the 11A fuse if your not putting any power into that circuit. You may want to take look atby Dust - RAMPS Electronics
There should be no need to use the reset button. The CH340 DTR line is connected to avr reset, avrdude knows to assert this line to reset the controller to start upload. This can bee seen on the last page of the circuit diagram You either have a hardware fault or the boot loader has been damaged, Install stock atmega2560 boot loader, using a avrisp. see as one example on how to do this.by Dust - Firmware - mainstream and related support
"But I do use a micro-sd card on the printer. Will this still work?" Yes it works fine, you just tried to tell marlin you have the deluxe hyper speed sdcard when you only have the standard slower one.by Dust - Firmware - Marlin
the MKS_TS35_V2_0 screen is driven by marlin firmware, there are 3 user interface options * TFT_CLASSIC_UI - Emulated DOGM - 128x64 Upscaled * TFT_COLOR_UI - Marlin Default Menus, Touch Friendly, using full TFT capabilities * TFT_LVGL_UI - A Modern UI using LVGL only TFT_LVGL_UI uses has assets to be copied to the sdcard You selected TFT_COLOR_UI in the provided Configuration.hby Dust - Firmware - Marlin
You have added #define ONBOARD_SDIO to the Configuration.h The BOARD_MKS_ROBIN_NANO_V3_1 does not have the SDIO feature. This is the robin onboard sdcard circuit diagram from And this is from a btt octopus that does have SDIO from Note how the btt octopus has Data0,Data1,Data2 and Data3 This allows for 4 bit data transfers ie SDIO while the Robin only has a single data bit, so it is onby Dust - Firmware - Marlin
You have 2 things using P2_04 by default FAN1_PIN is using P2_04 nd default chamber fan is going to use this fan but you have set #define HEATER_CHAMBER_PIN P2_04 /// pin for the chamber heaterby Dust - General
you are pressing the encoder arnt you? It goes left/right and it clicks downby Dust - Firmware - Marlin
Try this In file Marlin/src/pins/ramps/pins_RAMPS.h is #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) #define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder #endif change it to #if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER) //#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder #endif see if thaby Dust - Firmware - Marlin
These lines are wrong /*#define SWITCHING_TOOLHEAD /*#define MAGNETIC_SWITCHING_TOOLHEAD it should be //#define SWITCHING_TOOLHEAD //#define MAGNETIC_SWITCHING_TOOLHEAD this stops the hundreds of "Marlin/src/module/../inc/../../Configuration.h:321:1: warning: "/*" within comment [-Wcomment]" but doesn't make any difference to your issue. Using your configs on my hardware. works as expeby Dust - Firmware - Marlin
Please attach the Configuration.h and Configuration_adv.h you usedby Dust - Firmware - Marlin
I cannot replicate this issue using arduino ide or platformio. Best guess, you have defined something else to use the encoder pin 35 or its a hardware fault. Test your hardware withby Dust - Firmware - Marlin
You should use Platformio under vscode, its is 100x faster to build and uses correct libraries automatically.by Dust - Firmware - Marlin
no real idea on that, my guess your programmer isnt connected to reset so running code is blocking the connection.by Dust - Firmware - Marlin
STM32F103C8 officially only has 64K of flash and 20K of ram, this is insufficient for Marlin 2.1.x (I suspect Marlin 2.0 will be the same) A minimal build with the added STM32F103C8 build environment errors with `FLASH' overflowed by 22472 bytes If you force it to use 128k (ie make it think its a STM32F103CB, as some actually do have the extra flash ) it will build RAM: [==== ] 36.6by Dust - Firmware - Marlin
platform atmelsam is not stm32f103C8 In platformio.ini default_envs should be set to a stm32 environment or if using command line -E some stm32 environmentby Dust - Firmware - Marlin
@trieudung That is not an error Its a warning. That you have no screen or HOST_PROMPT_SUPPORT or EMERGENCY_PARSER or any other way to give feedback enabled The full thing is #warning "Your Configuration provides no method to acquire user feedback! (Define NO_USER_FEEDBACK_WARNING to suppress this warning.)" And it tells you how to just turn off the waning if you really dont want anything lby Dust - Firmware - Marlin
dual x is not going change anything accuracy wise. When you enable a driver type X2 marlin auto allocates the first unused E as X2, so the first X is plugged into X plug and the X2 is plugged into E0 or E1 plugs (what ever is still un allocated) (unless you have changed the pins files to explicitly define the X2 pins)by Dust - Firmware - Marlin
Use platformio under vscode. But its most likely that you have very slow computer / harddriveby Dust - Firmware - Marlin
marlinfw.org and the link I provided point to the same place.by Dust - Firmware - Marlin
there are no references to MINIMUM_PLANNER_SPEED in current marlin bugfix. MINIMUM_PLANNER_SPEED was removed on Oct 28, 2023.... update your code.by Dust - Firmware - Marlin