Skip to content

Cheetah v2.0

img

1. Product Introduction

Cheetah 2.0 is a single-head main control board based on STM32F401, with 4 TMC2209 onboard, supports sensor-less homing, can be connected to a variety of displays, compatible with the installation size of most of the Creality 3D machines, such as ender3, ender3 V2, ender3 pro, ender5, and is also suitable for general 3D printers DIY.

2. Features

  • Compact size: 101.5mm x 72mm,Compatible with the Creatlity ender 3 motherboard size
  • Fully integrated all in one solution:
  • STM32F401MCU (Run Marlin 2.0**/****Klipper** )
  • 4X TMC2209 stepper drivers, Support sensor-less homing
  • UNIVERSAL POWER:
  • ​ Can be used with 12V/24V for motors / heated bed
  • ​ 24V to 12V/2A DC-DC for fans
  • ​ Integrated high precision power regulators (DC/DC): 5V 2A Max and 3.3V 600mA Max LDO
  • ​ 12V&24V power pin out
  • Onboard TF card socket- EXP3 for 12864 display panel (Creality 12864 panel or FYSETC Generic12864)
  • EXP1&EXP2 RepRapDiscount SmartController compatible pin header on board
  • EXP4 with I2C and UART1
  • Onboard 5V WS2812 RGB control
  • SD card & USB upload support
  • Car fuses for main power input
  • Up to 3 ways PWM fans (5/12/24 Optional)
  • PCB: FR4-TG155 PCB - Gold ENIG finishing

3. Application

  • 3D printer
  • CNC Device
  • Other similar machines
  • Voron 0.1(github gitee)

4. Hardware

4.1 Hardware Reasources

Board Name Cheetah v2.0
License GPL V2.0
Latest Version V2.0
Extruders 1
Controlled Fans 3 Max
Heaters 2 Max
Endstops 3 Max
Temp sens 2 Max
UART 1
I2C 1
SWD 1
USB 1
CPU STM32F401
CPU Speed ( MHz ) 84 Mhz
Stepper driver 4X TMC2209
Stepper driver Type Onboard
Input 12v/24v
Output BED OUT:10A Max ;Heater Out:5A Max

4.2 Connectors and jumpers define

Coming soon...

4.3 Pin Definition

FeaturesCheetah PinSTM32 PinPin No.Comment
X-MOTOR(1)X-StepPC08
X-DIRPC19
X-ENPA841
Y-MOTOR(2)Y-StepPC143
Y-DIRPC132
Y-ENPC154
Z-MOTOR(3)Z-StepPB962
Z-DIRPB861
Z-ENPC210
E0-MOTOR(4)E0-StepPB228
E0-DIRPA1550
E0-ENPD254
TMC2209 SERIAL (UART2)TX2PA216
RX2PA317
End-stopsX-MINPB456
Y-MINPC839
Z-MINPB127
FANFAN0PA1449
FAN1PA1346
FAN2PA115
RGBNeo-pixelPB026Can be used for fan4
HeatingE0-HeaterPC637
Heated-BedPC738
TemperatureTE0PC424
TBPC525
EXP1SD-MISOPA622
SD-SCKPA521
BTN_EN1PC1051
SD-SSPA420
BTN_EN2PC1152
SD-MOSIPA521
SD-DETPC311
RESETNRST7
GNDGNDNA
5V5VNA
EXP2BEEPPC940
BTN_ENCPC1253
LCD_ENPB1536
LCD_RSPB1233
LCD_D4PB1334
LCD_D5PB1435
LCD_D6PB658
LCD_D7PB759
GNDGNDNA
5V5VNA
UARTTXPA9/TX142
RXPA10/RX143
I2CI2C2 SCLPB1029
I2C2 SDAPB1130
SWD DebugSWDIOPA1346only used for debugging now and can be used for other purposes.
SWCLKPA1449only used for debugging now and can be used for other purposes.

5. Firmware

5.1 Marlin

Follow the steps below to compile the firmware yourself. More information here.

5.1.1 Download Vscode + platformio

To compile the firmware , you need to install Visual Studio Code and the platformio pulg-in.

5.1.2 Firmware config

You have two code source choices

Source 1

You can get Marlin code is in the firmware/Marlin folder in this repository github or gitee.

Source 2

Also you can get upstream branch from github or gitee (You'd better use the bugfix-2.0.x version as i just make PR 2021/10/10, so Marlin group may not integrate the code in formal version). Remember to change default_envs in platformio.ini file.

default_envs = FYSETC_CHEETAH_V20

And change MOTHERBOARD define according to your cheetah board version in Configuration.h

#define MOTHERBOARD BOARD_FYSETC_CHEETAH_V20

And serial port

#define SERIAL_PORT -1
#define BAUDRATE 115200
Change configuration

You need to modify your configuration.h and configuration_adv.h according to your machine. Then you can compile the firmware.

5.1.3 Compile the firmware

Open Vscode and open platformio main page and click the "Open Project" button , and direct to the folder where you put your firmware.

1561099422559

If everything goes fine , at the bottom you can see several buttons

1561099546202

Just click check mark to compile.

5.1.4 Upload the firmware

Follow the instruction here.

5.2 Klipper

Till now(2021/11/30), Klipper don't have boot offset setting for STM32F401 chip, so we use no Bootloader option first. (If you want still want to use Cheetah bootloader, you can change the code following the PR here, then use 32KiB bootloader option).

make clean
make

Then follow the Firmware Upload section instruction below to upload the firmware.

I made the PR for Klipper of Cheetah v2.0 config, you can check it here.

5.3 Firmware Upload

We provide several ways to upload the firmware.

5.3.1 Upload the firmware(SDCARD)

If you use Klipper firmware with No bootloader option, you can't use this method. This method only works with bootloader.

Uploading firmware using SD card is our default way to update the firmware as Cheetah v2.0 already has the bootloader on it when it leave the factory. But if you once upload the firmware to Cheetah v2.0 flash address 0x08000000, then the bootloader in Cheetah v2.0 will be gone, then you need to upload the bootloader to Cheetah v2.0 yourself, please follow the README in bootloader folder (github or gitee) to upload the bootloader.

How to upload firmware with bootloader

Copy your compiled firmware file firmware.bin(If you use klipper firmware, you need to rename klipper.bin to firmware.bin) file to the SD card , and insert it to the SD card slot which is at the right side of the board, and then power up the board. You may need to wait for about 30s to finish uploading. When finished firmware name will change to old.bin.

5.3.2 Upload the firmware(dfu-util)

This method works in linux, that means should work in raspberry pi.

  1. Enter DFU mode first

  2. First power off the board

  3. Place jumper on BT0 and 3.3V pinimage-20211130182000593
  4. Connect USB cable to the board and your computer
  5. Power up the board with 24v

  6. Make sure dfu-util is installed, shoot dfu-util --version command to check.

Sample output:

dfu-util 0.9

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

If not , you should install it first, use the package manager of your distribution to get the latest version, like

sudo apt-get install dfu-util
  1. Then use the command below to upload the firmware. You should replace firmware.bin below with your built firmware bin file location like out/klipper.bin. Change flash address 0x08008000 to bootloader you choosed. (If you use Marlin firmware, you need to set it to 0x08008000. If you use klipper firmware and you choose boot address 32kiB bootloader (decribe here) when compiling klipper then set it 0x08008000, if no Bootloader , set it 0x08000000.)
dfu-util -R -a 0 -s 0x08008000:leave -D firmware.bin
  1. Remove boot jumper and power-off then power on the board.

5.3.3 Upload the firmware(WINDOWS DFU)

The other way to upload the firmware is using DFU.

Step 1. Download stm32cubeprogrammer

You can download it from ST website.

https://www.st.com/zh/development-tools/stm32cubeprog.html

Open the STM32CubeProgrammer software.

1574332767079

Step 2. Enter DFU mode
  1. First power off the board
  2. Place jumper on BT0 and 3.3V pinimage-20211130182000593
  3. Connect USB cable to the board and your computer
  4. Power up the board with 24v

Now the board is in DFU mode.

REMEMBER to remove the jumper if you finish uploading firmware or it will enter DFU mode again.

Step 3. Upload the firmware

Now you can connect and flash the Cheetah board with stm32cubeprogrammer with the following operation.

1574386395071

Do as the red number shows in the screen shot.

  1. Click the button to find the DFU port.
  2. Connect the DFU
  3. Choose the "firmware.bin" file.
  4. If your firmware is .hex file, skip this step. Fill in the 'Start address' with (If you use Marlin, set it 0x08008000. If you use Klipper firmware and you choose boot address 32kiB bootloader (decribe here) when compiling klipper then set it 0x08008000, if no Bootloader , set it 0x08000000.)
  5. Start Programming
  6. Remove boot jumper and power-off then power on the board.

5.3.4 Upload firmware(platformio)

If you compile Marlin yourself with platformio,you can follow the instructions below to upload the firmware.

Step 1. Enter DFU mode first
  • First power off the board
  • Place jumper on BT0 and 3.3V pinimage-20211130182000593
  • Connect USB cable to the board and your computer
  • Power up the board with 24v
Step 2. Click the upload button to upload firmware

6. FAQ

To be done...

7. Tech Support

Please submit any technical issue into our forum