mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-12-11 16:00:54 -07:00
parent
19a5ee4a0b
commit
1eb36fdc13
1 changed files with 123 additions and 151 deletions
|
|
@ -1,244 +1,216 @@
|
|||
# Table of Contents <!-- omit in toc -->
|
||||
- [# Back up your Working Printer Firmware](#back-up-your-working-printer-firmware)
|
||||
- [Save Printer Settings (Optional, but recommended)](#save-printer-settings-optional-but-recommended)
|
||||
- [Backup your Chitu Firmware (Optional, but strongly recommended)](#backup-your-chitu-firmare-optional-but-strongly-recommended)
|
||||
- [Configuring Marlin for your Printer](#configuring-marlin-for-your-printer)
|
||||
# Table of Contents
|
||||
|
||||
- [Back Up Your Working Printer Firmware](#back-up-your-working-printer-firmware)
|
||||
- [Save Printer Settings (Optional, but Recommended)](#save-printer-settings-optional-but-recommended)
|
||||
- [Backup Your Chitu Firmware (Optional, but Strongly Recommended)](#backup-your-chitu-firmware-optional-but-strongly-recommended)
|
||||
- [Configure Marlin for Your Printer](#configure-marlin-for-your-printer)
|
||||
- [1. Board Version](#1-board-version)
|
||||
- [2. Bed size](#2-bed-size)
|
||||
- [2. Bed Size](#2-bed-size)
|
||||
- [3. Stepper Drivers](#3-stepper-drivers)
|
||||
- [4. Steps / mm](#4-steps--mm)
|
||||
- [5. Other Marlin Config](#5-other-marlin-config)
|
||||
- [Flashing Marlin JUST USING SD](#flashing-marlin-just-using-sd)
|
||||
- [Flashing Marlin Firmware MANUALLY (OBSOLETE!)](#flashing-marlin-firmware-manually-obsolete)
|
||||
- [Flash Marlin Using SD Card](#flash-marlin-using-sd-card)
|
||||
- [Flash Marlin Manually (Obsolete)](#flash-marlin-manually-obsolete)
|
||||
- [Known Issues](#known-issues)
|
||||
- [Suggested Printing Workflow](#suggested-printing-workflow)
|
||||
|
||||
# See X5SA readme
|
||||
See the [X5SA readme](https://github.com/MarlinFirmware/Configurations/tree/import-2.1.x/config/examples/Tronxy/X5SA) for general information about this printer and its predecessor.
|
||||
---
|
||||
|
||||
# Back up your Working Printer Firmware
|
||||
## See X5SA Readme
|
||||
|
||||
## Save Printer Settings (Optional, but recommended)
|
||||
For general information about the X5SA printer and its predecessor, see the
|
||||
[X5SA Readme on GitHub](//github.com/MarlinFirmware/Configurations/tree/import-2.1.x/config/examples/Tronxy/X5SA).
|
||||
|
||||
You can (OR MUST) dump the current settings of your printer. It may help you to figure out some configs, like steps/mm of your extruder.
|
||||
---
|
||||
|
||||
1. Create a file named `savesettings.gcode` with the following content:
|
||||
```gcode
|
||||
M6046 ; sdcard access
|
||||
M8512 "currentconfig.gcode" ; save settings to file
|
||||
```
|
||||
2. Save it on the printer's SD card
|
||||
3. Put the card in the printer and "print" this file
|
||||
4. The printer won't do anything. Just wait a few seconds and stop the print.
|
||||
5. Your current printer settings are stored in the file: `currentconfig.gcode`
|
||||
## Back Up Your Working Printer Firmware
|
||||
|
||||
You can read more about it in [this guide](https://www.facebook.com/notes/tronxy-turnigy-x5s-x5sa-x3s-3d-printer-drucker-users/tronxy-firmware-configuration-guide-by-keith-varin-addermk264bit-tuning/649799805579765/).
|
||||
### Save Printer Settings (Optional, but Recommended)
|
||||
|
||||
Thanks to KEITH VARIN.
|
||||
Dumping your current settings can help you determine values such as steps/mm for the extruder.
|
||||
|
||||
## Backup your Chitu Firmare (Optional, but strongly recommended)
|
||||
1. Create a file named `savesettings.gcode` on your SD card with the following contents:
|
||||
|
||||
1. Turn off your printer
|
||||
2. Open your board case
|
||||
3. Remove the "boot" jumper (1) as the image.
|
||||
4. Change the "v source" jumper (2) from 5V to USB.
|
||||
5. Open [STM Cube Programmer](https://www.st.com/en/development-tools/stm32cubeprog.html) (linux, mac, windows) or [FLASHER-STM32](https://www.st.com/en/development-tools/flasher-stm32.html) (only windows)
|
||||
6. The size must be **512kb -> 0x80000**
|
||||
7. Save the file. It must have exactly 524288 bytes (512kb)
|
||||
8. Disconnect
|
||||
10. Unplug USB cable
|
||||
11. Put back the "boot" jumper (1).
|
||||
12. Put back the "v source" jumper to 5V.
|
||||
```gcode
|
||||
M6046 ; SD card access
|
||||
M8512 "currentconfig.gcode" ; save settings to file
|
||||
```
|
||||
|
||||

|
||||
2. Insert the SD card into the printer and “print” this file.
|
||||
3. The printer will do nothing—just wait a few seconds and then stop the print.
|
||||
4. Your settings will be stored in `currentconfig.gcode`.
|
||||
|
||||
For more information, see [this guide](//www.facebook.com/notes/tronxy-turnigy-x5s-x5sa-x3s-3d-printer-drucker-users/tronxy-firmware-configuration-guide-by-keith-varin-addermk264bit-tuning/649799805579765/).
|
||||
|
||||
# Configuring Marlin for your Printer
|
||||
### Backup Your Chitu Firmware (Optional, but Strongly Recommended)
|
||||
|
||||
You need to edit `Configuration.h` to set up your printer, and ensure platformio.ini is using the environment "chitu_f103".
|
||||
1. Turn off the printer.
|
||||
2. Open the board case.
|
||||
3. Remove the “boot” jumper (1) as shown in the image.
|
||||
4. Switch the “V source” jumper (2) from 5V to USB.
|
||||
5. Open **STM Cube Programmer** (Linux, macOS, Windows) or **FLASHER‑STM32** (Windows only).
|
||||
6. The firmware image must be **512KB (0x80000)**. The file must be exactly 524,288 bytes.
|
||||
7. Save the image.
|
||||
8. Disconnect the USB cable.
|
||||
9. Re‑install the “boot” jumper (1).
|
||||
10. Re‑install the “V source” jumper to 5V.
|
||||
|
||||
## 1. Board Version
|
||||
---
|
||||
|
||||
For ***V6***
|
||||
## Configure Marlin for Your Printer
|
||||
|
||||
Edit `Configuration.h` and ensure that `platformio.ini` uses the `chitu_f103` environment.
|
||||
|
||||
### 1. Board Version
|
||||
|
||||
For the V6 board:
|
||||
|
||||
```cpp
|
||||
// For V6
|
||||
#define MOTHERBOARD BOARD_CHITU3D_V6
|
||||
```
|
||||
|
||||
## 2. Bed size
|
||||
### 2. Bed Size
|
||||
|
||||
```cpp
|
||||
// The size of the printable area
|
||||
#define X_BED_SIZE 330
|
||||
#define Y_BED_SIZE 330
|
||||
...
|
||||
#define Z_MAX_POS 400
|
||||
```
|
||||
|
||||
## 3. Stepper Drivers
|
||||
### 3. Stepper Drivers
|
||||
|
||||
X5SA Pro models have TMC2225 drivers. Due to the code interface being the same as the TMC2208 drivers, Marlin has you use them. Currently UART mode is not known to work with the CXY-V6-191017 board, so the _STANDALONE version is used.
|
||||
|
||||
X5SA Pro (with TMC Drivers):
|
||||
The X5SA Pro models use TMC2225 drivers. Marlin treats them like TMC2208 drivers, so use the “stand‑alone” mode. UART mode is not yet supported on the CXY‑V6‑191017 board.
|
||||
|
||||
```cpp
|
||||
/**
|
||||
* Stepper Drivers
|
||||
* ...
|
||||
*/
|
||||
#define X_DRIVER_TYPE TMC2208_STANDALONE
|
||||
#define Y_DRIVER_TYPE TMC2208_STANDALONE
|
||||
#define Z_DRIVER_TYPE TMC2208_STANDALONE
|
||||
//#define X2_DRIVER_TYPE A4988
|
||||
//#define Y2_DRIVER_TYPE A4988
|
||||
//#define Z2_DRIVER_TYPE A4988
|
||||
//#define Z3_DRIVER_TYPE A4988
|
||||
//#define Z4_DRIVER_TYPE A4988
|
||||
#define E0_DRIVER_TYPE TMC2208_STANDALONE
|
||||
//#define E1_DRIVER_TYPE A4988
|
||||
//#define E2_DRIVER_TYPE A4988
|
||||
//#define E3_DRIVER_TYPE A4988
|
||||
//#define E4_DRIVER_TYPE A4988
|
||||
//#define E5_DRIVER_TYPE A4988
|
||||
//#define E6_DRIVER_TYPE A4988
|
||||
//#define E7_DRIVER_TYPE A4988
|
||||
```
|
||||
|
||||
It has been observed that the default TMC2208 timings for the settings below are too fast, and can result in one or more of the stepper motors stopping in the middle of a print.
|
||||
The default TMC2208 timing values are too fast for many machines, so adjust them in `Configuration_adv.h`:
|
||||
|
||||
in configuration_adv.h
|
||||
```cpp
|
||||
#define MINIMUM_STEPPER_POST_DIR_DELAY 150
|
||||
#define MINIMUM_STEPPER_PRE_DIR_DELAY 150
|
||||
#define MINIMUM_STEPPER_PULSE_NS 150
|
||||
```
|
||||
|
||||
## 4. Steps / mm
|
||||
### 4. Steps / mm
|
||||
|
||||
For the steps for X, Y and Z, one way to know the correct values is to read your `currentconfig.gcode` (saved earlier):
|
||||
Read your `currentconfig.gcode` to determine the correct values:
|
||||
|
||||
***! This part can vary from machine to machine !***
|
||||
- `M8009` → X/Y steps/mm
|
||||
- `M8010` → Z steps/mm
|
||||
- `M8011` → Extruder steps/mm
|
||||
|
||||
- `M8009` is the X and Y step/mm.
|
||||
- `M8010` is the Z step/mm.
|
||||
- `M8011` is the Extruder step/mm.
|
||||
|
||||
Example:
|
||||
Example output:
|
||||
|
||||
```gcode
|
||||
M8009 S0.006250;x,y
|
||||
M8010 S0.001250;z
|
||||
M8011 S0.001308;e
|
||||
M8009 S0.006250 ; x,y
|
||||
M8010 S0.001250 ; z
|
||||
M8011 S0.001308 ; e
|
||||
```
|
||||
|
||||
Is equal to:
|
||||
Convert to steps per unit:
|
||||
|
||||
```gcode
|
||||
```
|
||||
x,y = 1 / 0.006250 = 160
|
||||
z = 1 / 0.001250 = 800
|
||||
e = 1 / 0.001308 = 764
|
||||
z = 1 / 0.001250 = 800
|
||||
e = 1 / 0.001308 = 764
|
||||
```
|
||||
|
||||
Check your values!
|
||||
So in Marlin (Titan PRO with TMC drivers) you'd set:
|
||||
|
||||
So in Marlin for Titan PRO (tmc):
|
||||
```cpp
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 800, 764 }
|
||||
#define INVERT_E0_DIR true // Extruder seems inverted on Titan due to geared extrusion!
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT { 160, 160, 800, 764 }
|
||||
#define INVERT_E0_DIR true // Extruder appears inverted on Titan due to geared extrusion
|
||||
```
|
||||
|
||||
## 5. Other Marlin Config
|
||||
### 5. Other Marlin Config
|
||||
|
||||
You can customize for your own setup. TFT, Baby Steps and a lot of cool stuff are already configured for you.
|
||||
The README already includes ready‑to‑use settings for TFT, Baby‑Steps, and other advanced features. Feel free to tweak them for your own setup.
|
||||
|
||||
# Flashing Marlin JUST USING SD
|
||||
---
|
||||
|
||||
Thanks to the amazing work of J.C. Nelson, now we can just use Marlin updating directly from SD!!
|
||||
## Flash Marlin Using SD Card
|
||||
|
||||
1. After you compile Marlin with the above instructions, it will generate a file: `YOUR-MARLIN-DIR/.pio/build/chitu_f103/update.cbd`
|
||||
2. Turn off your printer
|
||||
3. Copy the `update.cbd` file to SD card.
|
||||
4. Put the SD card in your printer.
|
||||
5. Power it on.
|
||||
6. It will give some bips. After that, Marlin will start!
|
||||
Thanks to the excellent work of J.C. Nelson, you can now update Marlin directly from an SD card.
|
||||
|
||||
SIMPLE AS THAT!
|
||||
1. Compile Marlin with the settings above. The build output will be `YOUR-MARLIN-DIR/.pio/build/chitu_f103/update.cbd`.
|
||||
2. Power off the printer.
|
||||
3. Copy `update.cbd` to an SD card and insert it.
|
||||
4. Turn the printer on. You'll hear a series of beeps, then Marlin will begin the update.
|
||||
|
||||
Again, thanks to J.C. Nelson @xC000000
|
||||
That's all—no need to open the case or use a programmer.
|
||||
|
||||
***If you already flashed Marlin the old way then you need restore your Chitu backup to use this method. This will make all your future installs easier.***
|
||||
If you previously flashed Marlin the old way, restore your Chitu backup before using this method; it will simplify future updates.
|
||||
|
||||
# Flashing Marlin Firmware MANUALLY (OBSOLETE!)
|
||||
---
|
||||
|
||||
OBSOLETE! JUST USE THE FIRST METHOD.
|
||||
## Flash Marlin Manually (Obsolete)
|
||||
|
||||
1. Turn off the printer
|
||||
2. Open the board case
|
||||
3. Remove the "boot" jumper (1) as the image.
|
||||
4. Change the V source jumper (2) from 5V to USB.
|
||||
5. Open [STM Cube Programmer](https://www.st.com/en/development-tools/stm32cubeprog.html) (linux, mac, windows) or [FLASHER-STM32](https://www.st.com/en/development-tools/flasher-stm32.html) (only windows)
|
||||
6. Flash the YOUR-MARLIN-DIR/.pio/build/chitu_f103/firmware.bin at 0x08000000
|
||||
7. After the Flash is done, put the back the boot jumper (1) and the V source jumper to 5V.
|
||||
8. Turn on the printer
|
||||
This method is no longer recommended. If you must use it:
|
||||
|
||||

|
||||
1. Power off the printer.
|
||||
2. Open the board case.
|
||||
3. Remove the “boot” jumper (1).
|
||||
4. Change the “V source” jumper (2) from 5V to USB.
|
||||
5. Open **STM Cube Programmer** or **FLASHER‑STM32**.
|
||||
6. Flash `YOUR-MARLIN-DIR/.pio/build/chitu_f103/firmware.bin` to address `0x08000000`.
|
||||
7. Re‑install the “boot” jumper (1) and return the “V source” jumper to 5V.
|
||||
8. Power on the printer.
|
||||
|
||||
# Known Issues
|
||||
---
|
||||
|
||||
Waiting on the pull request [28059](https://github.com/MarlinFirmware/Marlin/pull/28059) to allow configuration.h to have the override for the Z_STOP_PIN. As the CXY-V6-191017 board has this wired to PG9 instead of PA14 as other chitu_v6 boards do:
|
||||
## Known Issues
|
||||
|
||||
The pull request [28059](//github.com/MarlinFirmware/Marlin/pull/28059) has not yet merged. Until it does, you must manually override the Z‑stop pin in `pins_CHITU3D_V6.h` because the CXY‑V6‑191017 board uses PG9 instead of PA14.
|
||||
|
||||
In `pins_CHITU3D_V6.h` replace:
|
||||
|
||||
in configuration.h
|
||||
```cpp
|
||||
#define Z_STOP_PIN PG9
|
||||
#define Z_STOP_PIN PA14
|
||||
```
|
||||
|
||||
If this hasn't been merged yet, you'll need to edit the file Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h
|
||||
with:
|
||||
|
||||
in Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h replace:
|
||||
```cpp
|
||||
#define Z_STOP_PIN PA14
|
||||
```
|
||||
|
||||
in Marlin/src/pins/stm32f1/pins_CHITU3D_V6.h with:
|
||||
```cpp
|
||||
#ifndef Z_STOP_PIN
|
||||
#define Z_STOP_PIN PA14
|
||||
#define Z_STOP_PIN PA14
|
||||
#endif
|
||||
```
|
||||
|
||||
A patch may already have been applied to Marlin by the time you read this.
|
||||
---
|
||||
|
||||
The maximum speeds have been left
|
||||
## Suggested Printing Workflow
|
||||
|
||||
# Suggested Printing Workflow
|
||||
Because the Chitu firmware behaves differently and the bed support structure can wobble, it's best to follow this workflow. The UBL mesh is limited to a 3×3 grid to save time.
|
||||
|
||||
Due to the way the chitu firmware worked, and the inadiqicies of the print bed support structures, you'll likely need to change your normal workflow to be similar to below. Due to this workflow is why the bed leveling has been restricted to a 3x3 grid to save time during printing.
|
||||
### Initial Changes
|
||||
|
||||
Initial changes
|
||||
- change your slicer Machine start existing G-code to replace your existing G28 line with:
|
||||
```text
|
||||
G28 ; home all and clear ABL map
|
||||
; Perform auto bed levelling and store in RAM for this print.
|
||||
G29 P1
|
||||
G29 A F10.0 ; Activate UBL and set fade height to 10mm
|
||||
; Do not bother saving the mesh as the bed support structure wobbles so much it is not helpful
|
||||
```
|
||||
- change your slizer Machine end G-code to have on its last line
|
||||
```text
|
||||
M22; Release SD card
|
||||
```
|
||||
1. Replace your slicer's machine‑start G‑code with:
|
||||
|
||||
Normal Workflow
|
||||
1. Clean your print bed and power on.
|
||||
2. If you haven't got the Z axis sync mod, sync your Z axis motors
|
||||
3. Preheat your print bed and nozzle
|
||||
4. Run the `Probe and Level -> Tramming Wizard`
|
||||
1. Using the tramming wizard menu starting from front-left press measure, wait for the probe to move and measure and for the measurement to come back as 0.0, then press done
|
||||
2. Continue to each of the other locations listed, however for each of the other locations, adjust the bed support screws until the bed is close enough to 0 for your liking. (normally adjust until they are between -0.05 and 0.05)
|
||||
3. Press done
|
||||
5. From the `Probe and Level -> Z Probe Wizard` menu use a piece of paper to adjust the zero height.
|
||||
6. From the `Configuration -> Store Settings` menu save these values to EEPROM. (You may need to confirm Z offset babysteps and save again)
|
||||
7. Start your print. You may need to use the menu `Select from SD Card` rather than the SD card icon on the main screen as it doesn't always recognise there is an SD card in the machine.
|
||||
8. As the print is laying down its first layer, monitor it to see if you need to adjust the Z offset. If so, use the ``Tune`` menu to adjust the Z offset while it's laying down its first layer.
|
||||
```text
|
||||
G28 ; home all axes and clear ABL map
|
||||
G29 P1
|
||||
G29 A F10.0 ; activate UBL and set fade height to 10mm
|
||||
```
|
||||
|
||||
(Do not save the mesh; the support structure's wobble makes it unreliable.)
|
||||
|
||||
2. End‑print G‑code: add `M22` (Release SD card) on the last line.
|
||||
|
||||
### Normal Workflow
|
||||
|
||||
1. Clean the print bed and power on the printer.
|
||||
2. If you haven't installed the Z‑axis sync modification, do it now.
|
||||
3. Preheat the bed and nozzle.
|
||||
4. Run “Probe and Level → Tramming Wizard” from the menu:
|
||||
- Measure the front‑left corner and confirm a 0.0 reading.
|
||||
- Repeat for the remaining corners, adjusting the bed screws until the readings are within –0.05mm to +0.05mm.
|
||||
5. Use “Probe and Level → Z Probe Wizard” to set the zero height with a sheet of paper.
|
||||
6. Save the values to EEPROM with “Configuration → Store Settings.” (You may need to confirm the Z‑offset babysteps and save again.)
|
||||
7. Start the print. If the first layer looks uneven, use babystepping to adjust the Z position. The `BABYSTEP_Z_PROBE` command also updates the probe offset for future leveling. Save the adjustment with `M500`.
|
||||
|
||||
Enjoy a smoother printing experience!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue