Giter Club home page Giter Club logo

rhapsodyv / marlin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marlinfirmware/marlin

82.0 27.0 428.0 181.98 MB

Optimized firmware for RepRap 3D printers based on the Arduino platform.

Home Page: http://marlinfw.org

License: GNU General Public License v3.0

C++ 68.80% C 28.58% Makefile 0.27% Objective-C 0.08% Shell 0.69% CMake 0.04% Python 0.70% OpenSCAD 0.05% G-code 0.02% HTML 0.28% CSS 0.04% JavaScript 0.39% Assembly 0.04% GDB 0.01% Dockerfile 0.01% NASL 0.01%

marlin's Introduction

This repository is just a copy of the official Marlin, with Tronxy X5SA (and variants) pre-configured.

Right now, this repo don't work with marlin auto build

JUST uncomment the option for your machine

// #define V6_330_TITAN_TMC 1
// #define V6_330_TITAN_NO_TMC 1
// #define V6_330_NO_TITAN_TMC 1
// #define V6_330_NO_TITAN_NO_TMC 1
// #define V6_400_TITAN_TMC 1
// #define V6_400_NO_TITAN_TMC 1
// #define V6_500_TITAN_TMC 1

// #define V5_330_TITAN_TMC 1
// #define V5_330_TITAN_NO_TMC 1
// #define V5_330_NO_TITAN_TMC 1
// #define V5_330_NO_TITAN_NO_TMC 1
// #define XY3_V5_310_NO_TITAN_NO_TMC_NO_ABL 1

//to use the new UI
#define TFT_LVGL_UI

Marlin 3D Printer Firmware

GitHub GitHub contributors GitHub Release Date Build Status

Additional documentation can be found at the Marlin Home Page. Please test this firmware and let us know if it misbehaves in any way. Volunteers are standing by!

Marlin 2.0 Bugfix Branch

Not for production use. Use with caution!

Marlin 2.0 takes this popular RepRap firmware to the next level by adding support for much faster 32-bit and ARM-based boards while improving support for 8-bit AVR boards. Read about Marlin's decision to use a "Hardware Abstraction Layer" below.

This branch is for patches to the latest 2.0.x release version. Periodically this branch will form the basis for the next minor 2.0.x release.

Download earlier versions of Marlin on the Releases page.

Building Marlin 2.0

To build Marlin 2.0 you'll need Arduino IDE 1.8.8 or newer or PlatformIO. We've posted detailed instructions on Building Marlin with Arduino and Building Marlin with PlatformIO for ReArm (which applies well to other 32-bit boards).

Hardware Abstraction Layer (HAL)

Marlin 2.0 introduces a layer of abstraction so that all the existing high-level code can be built for 32-bit platforms while still retaining full 8-bit AVR compatibility. Retaining AVR compatibility and a single code-base is important to us, because we want to make sure that features and patches get as much testing and attention as possible, and that all platforms always benefit from the latest improvements.

Current HALs

AVR (8-bit)

board processor speed flash sram logic fpu
Arduino AVR ATmega, ATTiny, etc. 16-20MHz 64-256k 2-16k 5V no

DUE

boards processor speed flash sram logic fpu
Arduino Due, RAMPS-FD, etc. SAM3X8E ARM-Cortex M3 84MHz 512k 64+32k 3.3V no

ESP32

board processor speed flash sram logic fpu
ESP32 Tensilica Xtensa LX6 160-240MHz variants --- --- 3.3V ---

LPC1768 / LPC1769

boards processor speed flash sram logic fpu
Re-ARM LPC1768 ARM-Cortex M3 100MHz 512k 32+16+16k 3.3-5V no
MKS SBASE LPC1768 ARM-Cortex M3 100MHz 512k 32+16+16k 3.3-5V no
Selena Compact LPC1768 ARM-Cortex M3 100MHz 512k 32+16+16k 3.3-5V no
Azteeg X5 GT LPC1769 ARM-Cortex M3 120MHz 512k 32+16+16k 3.3-5V no
Smoothieboard LPC1769 ARM-Cortex M3 120MHz 512k 64k 3.3-5V no

SAMD51

boards processor speed flash sram logic fpu
Adafruit Grand Central M4 SAMD51P20A ARM-Cortex M4 120MHz 1M 256k 3.3V yes

STM32F1

boards processor speed flash sram logic fpu
Arduino STM32 STM32F1 ARM-Cortex M3 72MHz 256-512k 48-64k 3.3V no
Geeetech3D GTM32 STM32F1 ARM-Cortex M3 72MHz 256-512k 48-64k 3.3V no

STM32F4

boards processor speed flash sram logic fpu
STEVAL-3DP001V1 STM32F401VE Arm-Cortex M4 84MHz 512k 64+32k 3.3-5V yes

Teensy++ 2.0

boards processor speed flash sram logic fpu
Teensy++ 2.0 AT90USB1286 16MHz 128k 8k 5V no

Teensy 3.1 / 3.2

boards processor speed flash sram logic fpu
Teensy 3.2 MK20DX256VLH7 ARM-Cortex M4 72MHz 256k 32k 3.3V-5V yes

Teensy 3.5 / 3.6

boards processor speed flash sram logic fpu
Teensy 3.5 MK64FX512VMD12 ARM-Cortex M4 120MHz 512k 192k 3.3-5V yes
Teensy 3.6 MK66FX1M0VMD18 ARM-Cortex M4 180MHz 1M 256k 3.3V yes

Teensy 4.0 / 4.1

boards processor speed flash sram logic fpu
Teensy 4.0 IMXRT1062DVL6A ARM-Cortex M7 600MHz 1M 2M 3.3V yes
Teensy 4.1 IMXRT1062DVJ6A ARM-Cortex M7 600MHz 1M 2M 3.3V yes

Submitting Patches

Proposed patches should be submitted as a Pull Request against the (bugfix-2.0.x) branch.

  • This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
  • Follow the Coding Standards to gain points with the maintainers.
  • Please submit Feature Requests and Bug Reports to the Issue Queue. Support resources are also listed there.
  • Whenever you add new features, be sure to add tests to buildroot/tests and then run your tests locally, if possible.
    • It's optional: Running all the tests on Windows might take a long time, and they will run anyway on GitHub.
    • If you're running the tests on Linux (or on WSL with the code on a Linux volume) the speed is much faster.
    • You can use make tests-all-local or make tests-single-local TEST_TARGET=....
    • If you prefer Docker you can use make tests-all-local-docker or make tests-all-local-docker TEST_TARGET=....

Credits

The current Marlin dev team consists of:

License

Marlin is published under the GPL license because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.

While we can't prevent the use of this code in products (3D printers, CNC, etc.) that are closed source or crippled by a patent, we would prefer that you choose another firmware or, better yet, make your own.

marlin's People

Contributors

alexborro avatar anhardt avatar bgort avatar bkubicek avatar bob-the-kuhn avatar boelle avatar croadfeldt avatar daid avatar ejtagle avatar ellensp avatar erikzalm avatar gmagician avatar insanityautomation avatar jbrazio avatar ludy87 avatar marcio-ao avatar nothinman avatar p3p avatar rhapsodyv avatar rmoravcik avatar robbycandra avatar roxy-3d avatar sjasonsmith avatar tcm0116 avatar teemuatlut avatar thinkyhead avatar thisiskeithb avatar tpruvot avatar wackerbarth avatar wurstnase avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

marlin's Issues

#define LEVEL_CORNERS_USE_PROBE BUG

So i uncommented #define LEVEL_CORNERS_USE_PROBEto use the probe for the level corners feature, but i appears theres a bug, it homes and then probes the first point, then moves to the second point, but repeatedly probes the second point and doesnt move on to point 3 or 4, just probes the second point over and over again

Steps to Reproduce

  1. [First Step] go to motion menu
  2. [Second Step]go to bed levelling
  3. [third step] go to level corners

Expected behavior: probe corners 1 through to 4

Actual behavior: Probes point 1, then moves to second probe point and continuously probes over and over not moving on to the 3rd and 4th point

Not compiling for XY-3se

Trying to compile marlin software for the XY-3SE. This is what I get:
PIO Core Call Error: "Processing chitu_f103 (board: genericSTM32F103ZE; platform: ststm32@~12.1; framework: arduino)\n--------------------------------------------------------------------------------\nVerbose mode can be enabled via -v, --verbose option\n\n\n\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:561:11: error: missing binary operator before token \"(\"\n 561 | #if EITHER(PARKING_EXTRUDER, MAGNETIC_PARKING_EXTRUDER)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1709:11: error: missing binary operator before token \"(\"\n 1709 | #if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:1896:11: error: missing binary operator before token \"(\"\n 1896 | #if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:39,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:2863:11: error: missing binary operator before token \"(\"\n 2863 | #if EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3042:11: error: missing binary operator before token \"(\"\n 3042 | #if BOTH(TOUCH_SCREEN_CALIBRATION, EEPROM_SETTINGS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration.h:3148:11: error: missing binary operator before token \"(\"\n 3148 | #if EITHER(RGB_LED, RGBW_LED)\n | ^\nIn file included from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfigPre.h:56,\n from buildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/MarlinConfig.h:28,\n from buildroot/share/PlatformIO/scripts/common-dependencies.h:29:\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:245:11: error: missing binary operator before token \"(\"\n 245 | #if BOTH(ADAPTIVE_FAN_SLOWING, PIDTEMP)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1109:11: error: missing binary operator before token \"(\"\n 1109 | #if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1138:11: error: missing binary operator before token \"(\"\n 1138 | #if EITHER(IS_ULTIPANEL, EXTENSIBLE_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1228:15: error: missing binary operator before token \"(\"\n 1228 | #if EITHER(HAS_MARLINUI_U8GLIB, TFT_COLOR_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1246:11: error: missing binary operator before token \"(\"\n 1246 | #if EITHER(SDSUPPORT, LCD_SET_PROGRESS_MANUALLY) && ANY(HAS_MARLINUI_U8GLIB, HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL, EXTENSIBLE_UI)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1864:11: error: missing binary operator before token \"(\"\n 1864 | #if EITHER(AUTO_BED_LEVELING_3POINT, AUTO_BED_LEVELING_UBL)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1899:11: error: missing binary operator before token \"(\"\n 1899 | #if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:1907:9: error: missing binary operator before token \"(\"\n 1907 | #if BOTH(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:2092:9: error: missing binary operator before token \"(\"\n 2092 | #if BOTH(SDSUPPORT, DIRECT_STEPPING)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3169:11: error: missing binary operator before token \"(\"\n 3169 | #if EITHER(SPINDLE_FEATURE, LASER_FEATURE)\n | ^\nbuildroot/share/PlatformIO/scripts/../../../../Marlin/src/inc/../../Configuration_adv.h:3868:11: error: missing binary operator before token \"(\"\n 3868 | #if EITHER(WIFISUPPORT, ESP3D_WIFISUPPORT)\n | ^\nError: Failed to parse Marlin features. See previous error messages.\n========================== [FAILED] Took 0.80 seconds ==========================\nEnvironment Status Duration\n------------- -------- ------------\nchitu_f103 FAILED 00:00:00.799\n==================== 1 failed, 0 succeeded in 00:00:00.799 ===================="
Trying to compile with Platform.io in Visual Code.

Autoleveling button do nothing

I use
#define V6_330_TITAN_TMC 1
#define TFT_LVGL_UI

I am trying to run the autolevevel by using the button in the tools menu bug nothing happen even after configuring the gcode command for autolevel (G28;G29)

Tronxy XY-2 PRO no TITAN does not install ( nor boot ).

Description

I've compiled with :
#define XY2_V6_255_NO_TITAN_TMC 1
#define TFT_LVGL_UI
and with
#define TFT_COLOR_UI

  1. Uncomment the two option
  2. Compile
  3. Put update.bcd on sd card
  4. put assets on sd card ( in case of LVGL )
  5. insert sd card
  6. poweron printer

Expected behavior: [What you expect to happen]
boot, upgrade firmware and work.

Actual behavior: [What actually happens]
two beeps and nothing more.

Additional Information

Configs.zip

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

tronxy x5sa pro no usb connection

i got to compile and install the firmware in the chitu mb, all work inboard, but cant get any program to connect to it , did i need to change something ine the config ?

does not compile (anymore?)

hi,
I hope this is still with maintenance :)

I got my hands on a rather old Tronxy XY2 Pro with a V5 Mainboard and would like to try out Marlin on this thing.

Following this guide (https://github.com/EddyBeaupre/Tronxy-XY2-Pro#restore-stock-tronxy-firmware-and-settings) to the point I only get this result when building

 *  Executing task in folder Marlin-tronxy-full-mks-tft2: C:\Users\Oli\.platformio\penv\Scripts\platformio.exe run 

Warning! Ignore unknown configuration option `monitor_flags` in section [env]
Warning! `src_filter` configuration option in section [env:include_tree] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:DUE] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:esp32] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_build_flags` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_flags` instead      
Warning! `src_filter` configuration option in section [env:linux_native] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:SAMD51_grandcentral_m4] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:malyan_M300] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy31] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy35] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy36] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Warning! `src_filter` configuration option in section [env:teensy41] is deprecated and will be removed in the next release! Please use `build_src_filter` instead
Processing chitu_f103 (platform: ststm32@~12.1; board: marlin_CHITU_F103; framework: arduino)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/ststm32/marlin_CHITU_F103.html
PLATFORM: ST STM32 (12.1.1) > CHITU STM32F103Z (64k RAM. 512k Flash)
HARDWARE: STM32F103ZET6 72MHz, 59.12KB RAM, 469.03KB Flash
DEBUG: Current (blackmagic) External (blackmagic, jlink, stlink)
PACKAGES:
 - framework-arduinoststm32-maple @ 3.10000.201129 (1.0.0)
 - tool-stm32duino @ 1.0.2
 - toolchain-gccarmnoneeabi @ 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Library Manager: Installing SoftwareSerialM
Unpacking 0% 10% 20% 30% 40% 50% 60% 70% 80% 90% 100%
Library Manager: [email protected] has been installed!
Found 27 compatible libraries
Scanning dependencies...
Dependency Graph
|-- SoftwareSerialM @ 1.0.0
|-- STM32ADC @ 1.0
|-- EEPROM
|-- USBComposite for STM32F1 @ 0.99
|-- Wire @ 1.0
|-- Servo(STM32F1) @ 1.1.2
Building in release mode
RuntimeError: deque mutated during iteration:
  File "C:\Users\Oli\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 182:
    env.SConscript(env.GetExtraScripts("post"), exports="env")
  File "C:\Users\Oli\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 598:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\Oli\.platformio\packages\tool-scons\scons-local-4.5.2\SCons\Script\SConscript.py", line 285:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\Oli\Desktop\Tronxy\Firmware\Marlin\Repository\Marlin-tronxy-full-mks-tft2\buildroot\share\PlatformIO\scripts\chitu_crypt.py", line 8:
    marlin.relocate_firmware("0x08008800")
  File "C:\Users\Oli\Desktop\Tronxy\Firmware\Marlin\Repository\Marlin-tronxy-full-mks-tft2\buildroot\share\PlatformIO\scripts\marlin.py", line 27:
    replace_define("VECT_TAB_ADDR", address)
  File "C:\Users\Oli\Desktop\Tronxy\Firmware\Marlin\Repository\Marlin-tronxy-full-mks-tft2\buildroot\share\PlatformIO\scripts\marlin.py", line 20:
    for define in env['CPPDEFINES']:
======================================================================================================================================= [FAILED] Took 8.98 seconds =======================================================================================================================================

Environment    Status    Duration
-------------  --------  ------------
chitu_f103     FAILED    00:00:08.977
================================================================================================================================== 1 failed, 0 succeeded in 00:00:08.977 ==================================================================================================================================
 *  The terminal process "C:\Users\Oli\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. 

branch: tronxy-full-mks-tft
Platform IO: Core 6.1.9·Home 3.4.4
VS Code: Version: 1.80.0 (user setup)
OS: Windows_NT x64 10.0.19045

Filament Sensor always on

Description

Printer: Tronxy XY Pro 2, no mods, no titan extruder.

Migrated from stock firmware to Marlin, after printing some parts realized that the filament sensor is not working, physically it turns off the light when filament runs over, double checked that it is activated on screen and with gcode and it always shows as triggered.

I downloaded the code and uncommented the lines for my printer model

Steps to Reproduce

  1. Turn the sensor on

  2. remove the filament

  3. start a print

  4. starts printing

  5. Turn the sensor on

  6. execute M119 with filament

  7. M119 response filament: TRIGGERED

  8. Remove filament and execute M119

  9. M119 response filament: TRIGGERED

If i get back to the original stock firmware, the runout filament works

Will add the conf.h files when get home

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

Tronxy XY-2 Pro - UBL not working

Description:
I have updated to the latest version of Marlin for my Tronxy XY-2 Pro. When I run the G29 P1 command on a freshly imaged board, the command stops at point 36/100. This point happens to coincide exactly where the device homes. The probe simply does not move once it moves above point 36 nor deploys.

Config:
XY2_V6_255_NO_TITAN_TMC

Commands:
M502
M500
G28
G29 P1

Configuration.h.log

LCD glitch during a long print

I've flashed this firmware on the stock XY2PRO-Titan last year, runs mostly OK apart 2 or 3 minor things, the only major issue is LCD touch screen glitches sometimes.

In some scenarios it's just an overlapping of characters between menus while printing, in some case it is more severe like during a continuous long print after two hours or so the screen looks like this:

IMG_20221113_163555
IMG_20221113_163608

Is there a way to update the Marlin to the latest version? Does this repo has only configuration changes or some source files have been touched as well?

Thanks.

Encoder with Chitu

The Chitu CXY-V6-191017 actually supports an encoder for navigating the UI. The signals are present in the ribbon cable to the display as follows but they are not terminated on the display board. Note that Pin1 is transposed on the PCB so I've listed the conjugate pin numbers in brackets:

EXT_ENC_A | MCU Pin44 PC4 | Ribbon Pin2(39)
EXT_ENC_B | MCU Pin45 PC5 | Ribbon Pin3(38)
EXT_ENC_PRESS | MCU Pin46 PB0 (shared with beeper) | Ribbon Pin4(37)

I would like to retrofit this and enable it, but I don't see any place in the firmware to define the above pins. These are active-high contact closures to +3.3V. Can this be accommodated, and if not then may I know some hints about where in the source code to look? I am not a programmer but am willing to spend some time on it.

tronxy xy 2 pro homing problem

Hello, I hace a problem with homing, when I imput AUTO HOME or try to print, it takes me to the (board) Center, and gives homing error message.

E-Steps for TItan TMC configuration

I noticed I had under extrusion issues with the e-step value of 764.

I was undextruding by 2 centimetes.

Though e-step testing I had to change the estep value to 899.9.

which brough the extrison back in alignment.

Not really an issue, just leaving the ticket for those who may come behind me.

I can see where the value is being set in configuration.h

#if WITH_TMC && WITH_BMG
  #define DEFAULT_AXIS_STEPS_PER_UNIT   { 160, 160, 800, 830 }
#elif WITH_TMC && WITH_TITAN
  **#define DEFAULT_AXIS_STEPS_PER_UNIT   { 160, 160, 800, 764 }**
#elif WITH_TMC && !WITH_TITAN && !WITH_BMG
  #define DEFAULT_AXIS_STEPS_PER_UNIT   { 160, 160, 800, 186 }
#elif WITH_TITAN && !WITH_TMC
  #if defined(T2_LEADSCREW)
    #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 1600, 420 }
  #else
    #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 400, 420 }
  #endif
#else
  #if defined(T2_LEADSCREW)
    #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 1600, 93 }
  #else
    #define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 400, 93 }
  #endif
#endif

TronXY X5SA Z position wrong after stop / start

Hi all,
I'm new with Marlin, just upgraded from the TronXY Firmware to Marlin.
I have a TronXY X5SA with the following parameter V6_330_TITAN_TMC 1
I use the following GitHub [github.com] as this a great capability for TronXY 3D printer.

My problem is that when ever I stop and start my 3D printer I have to manually adjust the Bed to the correct level.
When I press Auto Home it move correctly but the Z position goes every time down for a couple of cm, when I press again Auto home it goes even more down (to the + direction) and not uses the sensor to adjust the bed level.

Does anybody has an idea what is wrong?

Thanks for help
Regards
Roland

Archiv.zip

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

XY3-Pro Z Homing Issue

Description

I just flashed my XY-3 Pro. Because there wasn't a prewrote "#define" for my printer I had to get creative In config.h I used the
XY-3_V5_330_NO_TITAN_TMC_NO_ABL
I changed the following...
#define MOTHERBOARD BOARD_CHITU3D_V6
#define WITHOUT_ABL 1
#define WITH_TITAN 1
#define X_BED_SIZE 300
#define Y_BED_SIZE 300
#define Z_MAX_POS 400
I enabled Mesh Bed Leveling and LCD mesh bed leveling
Changed grid to 6x6
I enabled homing of individual axes on LCD
I COMPILED and she worked.

ISSUE I sent an auto home, x and y home fine, z went to the middle of the bed and crashed into the bed. so I thought probe settings were on. So I disabled them all

Expected behavior: [Z to home, and stop when actuating the end stop]

Actual behavior: [It ignores the end stop signal and will continue to move down crashing into the bed]

Additional Information

After the problem I did the following....
check switch to board to made sure it was working and secure (wired NO)
Commented z_ min_probe_uses_z_min_endstop
Commented use_probe_for_z_homing
Commented safe z probing feature
I tried it with manual probing on and off
i went through the config.h and commented everything under zprobe
Config.zip

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.

CXY-V9-200415 Board

Is support for this board here? If not, I can provide pictures. The stock firmware keeps crashing the bed into the nozzle so the printer is currently unusable. ANY help is appreciated.
1
2
3
4

New Board

Hi someone has made this for a Tronxy Xy 2 PRO with a MKS Robin Nano V1.2 with bl touch? I,ve beeen trying to make marlin work for this board but some things really just don t work for me. If someone can please configure the MArlin for this board and this printer It will really help me with my printer.

Question

I have a very recent (jan2021) tronxy x5sa-400 (not pro).

Conventional wisdom says this is non titan and has a4988 stepper drivers, however my machine seems to have a Titan extruder and has the TMC2208 drivers. On paper both PRO features.

I noticed that the recently released -400 to -400 Pro upgrade kit doesn't have a new board which kinda confirms my first observation, but confusingly does have a Titan extruder. Which looks identical to the one already on my system. Obviously this makes it hard to workout exactly which hardware I have, and what I need to configure marlin for.

Secondly, I dumped my current chitu settings and did the calculation on the esteps and got a completely different value for the one hardcoded for the 400, Titan, TMC, I get 160, 160, 800,. 92.6, which is not what the configure.hpp time has hard wired for that config.

Any Ideas?

Can other recent owners confirm what I am seeing?

Issue compiling for TronXY X5SA-Pro

Hello everyone!
I've followed the README.MD for the X5SA but for the X5SA-Pro. I've managed to go through all the issues that presented as I was moving forward.
But there's on that's got me scratching my head. The #define TFT_LVGL_UI option seems to fail at compiling. I've "seen" a couple of working setups; a couple of posts talking about issues with the LVGL but after successful compilation, a youtube video where the OP is showing the functioning screen/GUI so I must be missing something.

Description

When trying to compile with #define TFT_LVGL_UI (using VS Code), the terminal output is attached as a text file.
error log.txt

Steps to Reproduce

1- Test build with Marlin 2.0 bug fix (latest) and standard config files
2- Swapping configuration.h and configuations_adv.h with the examples>TronXY>X5SA
3- Modifications following the README.MD file from X5SA examples folder.
4- Enablin TFT_LVGL_UI
5- Compiling

Expected behavior: Successful compilation
Actual behavior: Failure to compile - #error xxxx requires a programmable LCD controler.

Included config files (with #define TFT_LVGL_UI enabled)
config.zip

Marlin 2.09?

Any chance of updating to Marlin 2.09? I tried using the config files from this applied to 2.09 but there are errors about them being from and "old" version and suggesting I update to newer config files.

Question - Does the V6 board hardware support Bed PID setup, or will it cause overheating components?

Hello, does anyone know if the V6 board hardware support Bed PID setup, or will it cause overheating components? I see this note in configuration.h:

    /**
     * PID Bed Heating
     *
     * If this option is enabled set PID constants below.
     * If this option is disabled, bang-bang will be used and BED_LIMIT_SWITCHING will enable hysteresis.
     *
     * The PID frequency will be the same as the extruder PWM.
     * If PID_dT is the default, and correct for the hardware/configuration, that means 7.689Hz,
     * which is fine for driving a square wave into a resistive load and does not significantly
     * impact FET heating. This also works fine on a Fotek SSR-10DA Solid State Relay into a 250W
     * heater. If your configuration is significantly different than this and you don't understand
     * the issues involved, don't use bed PID until someone else verifies that your hardware works.
     */

Extruder stops working near the end (Linear Adv is off)

Description

Extruder motor stops near the end of the print when there's fine details

Steps to Reproduce

Noticed it occurring randomly (but often) with Marvin key chain model and then also with the Jungle boat. Boat takes ~3h to print with my current settings so not a fun thing to try to reproduce.
Marvin is quicker to try.
My S3D profile is attached for detailed settings.

Expected behavior: Finish printing.

Actual behavior: Extruder motor stops and stays torque off for the rest of the print

Additional Information

I'm having an issue with the extruder motor stopping near the end of the print when there are fine details. This seems to only happen near the end of the print, not in the middle even with models with a lot of fine details (like the jungle boat).

I noticed this first with the small Marvin key chain, as sometimes the chain loop wasn't printing. Sometimes it was. I thought it was temperature issue. Then I tried printing this Jungle boat and noticed extruder stopping near the end when printing the chimney. Tried to print it again and it stopped pretty much exactly at the same spot (measured with caliber). If I print this chimney alone, (by dropping the model height in S3D), it prints fine, so nothing in the model as such.

Setup:

This is not:

  • Clogging. The motor just stops even trying.
  • Linear advance issue as it is turned off (verified by M900 not being recognized)
  • Stepper motor over heating. It's around 40C.
  • Stepper driver over heating. I added a heat sink and A LOT of airflow. Haven't touched in the current adjustment so it's factory setting and as the motor isn't overheating, I doubt it's too much.

P.S. never mind the stringing and otherwise bad quality. Experimenting with this new hotend (and not succeeding)
img_20210320_171924

conf.zip
S3DS Tronxy X5S - PLA.zip

CXY-V9-200415

Hello. I have a X5SA - 500 Pro and the board name is

CXY-V9-200415

Will this work do you think?

Lost SD card support after flashing X5SA Pro with Marlin

Hi all, as the title states the SD card slot on my Tronxy is no longer working after i flashed to marlin, Can someone help?
I've re-flashed back to Chitu3d and tested the SD card and it works. I flashed marlin again and the SD card slot isn't detecting.

Filament Runout Not Working

CXY-V6-191017

Filament Runout Sensor not pausing print when filament runs out (not a critical issue).

Steps: 1. Start print with limited filament
2. Let filament run out
3. Print continues

Newer tronxy x5sa does not work with your source not does the update.cbd in latest bugfix.

Description

Update.cbd nor direct flash of your source does not work with newer tronxy x5sa non pro tmc. I believe I have a bit of a rare/newer version. My board is a v6 with tmc, my boot version is 1.58 and software version is 1.19. according to octoprint(I am not using the CBD fix plugin) the software is actually marlin 2.0.7.2(April 17 build) from the factory. I am assuming the bootloader's header is updated so the update.cbd file does not update the firmware. Directly flashing the printer with firmware.bin using stm32core successful flashes but it does not boot at all( no screen, still shows as a com port in stm32core. Octoprint will not connect.). Using the latest bugfix with my own config I can boot marlin using direct flash but the update.cbd still does not work(tested with stock firmware on, not marlin).

Steps to Reproduce

  1. Select my printer using the config you provide
  2. Select a screen mode (tft_color_ui)
  3. Build
    4a. Put update.cbd on sdcard, place sdcard in printer, power on printer.
    4b. Connect printer to stm32core, erase all sectors, program firmware.bin(this step works fine on newest bugfix)

Expected behavior: sd update.cbd or firmware.bin flash to install marlin and boot.

Actual behavior: update.cbd boots printer as normal on stock firmware, direct flash does nothing.

Additional Information

  • If you could provide steps to get the encryption info from the stock firmware I can update it for myself since I have a bit of a rare case. Or I can provide the firmware dump to you so you can check it out yourself.
  • See How Can I Contribute for additional guidelines.

sd card not working - any way to upload firmware to mainboard?

I had the firmware working and my SD card reader quit on me. Tronxy had me try and reload the original firmware and in the process essentially bricked my system. I do not have a usable SD card. Is there anyway to load Marlin on the board without an SD card? I have been trying with VScode to no avail. Not sure if there are extra steps I am missing.

Tronxy XY 2 PRO TFT_LVGL_UI not booting

Hi,
I build the project with
#define XY2_V6_255_TITAN_TMC 1
#define TFT_LVGL_UI

This does not boot up. It seems to flash correct (couple beeps while flashing).
But then it powercycles.

Any ideas why ?

.gcode files listed as folders

I'm seeing an issue where certain .gcode files are being listed as folders. So when you try to select one to print it, it actually thinks you're trying to navigate down into that folder.

The file listing appears to be in order of the last file put on the sd card is first in the list. With that said the first 3 .gcode files were showing as folders.

I figured out that if I place 3 dummy / empty .gcode files on the sd card, the ones after that would display as files and could be selected to print.

I'm not sure if posting this issue here is the correct place or should it be posted in the main Marlin group?

Thanks for any advice on how to correct.
Ken

Documentation

It should be documented that if you are building for a Chitu V6 board that the following line in platformio.ini (near top of the file)

"default_envs = chitu_v5_gpio_init # LPC1769"

should be changed to

"default_envs = chitu_f103"

so that the binaries are built for the STM32F1 when using the default "clean all" and "build all" actions in VSCode

Test

Description

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior: [What you expect to happen]

Actual behavior: [What actually happens]

Additional Information

  • Include a ZIP file containing your Configuration.h and Configuration_adv.h files.
  • Provide pictures or links to videos that clearly demonstrate the issue.
  • See How Can I Contribute for additional guidelines.

x5sa 330 v6

having strange issue it seems the printer doesnt see the full bed size it only uses like 3 inch on the front left corner

trouble cancelling with octoprint

trouble cancelling print with octoprint not sure if an octoprint or marlin issues it did work correctly with chitu firmware

Steps to Reproduce

  1. start print in octoprint
  2. cancel print in octoprint
  3. expected result octoprint cancels print and machine goes into stop mode
  4. result print does stop but the machine never goes fully into stop mode until i manually go through the menu and hit stop print

[Tronxy X5SA 400 Pro] update.cbd does not work

Hi. I'm trying to flash Marlin on my new Tronxy X5SA 400 Pro. I have a CXY-V6-191017 board, and I am able to compile with Visual Studio Code and PlatformIO.

I have tried several things, including compiling for F103, with no success. The board boots normally with update.cbd on the uSD.

OEM firmware is utter garbage, and it constantly disconnects from OctoPrint. Please advise.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.