bigtreetech / EBB

433 stars 100 forks source link

切换到中文版

EBB36 & 42 CAN V1.0

Hardware

Firmware

Pinout

Build Firmware Image

  1. Precompiled firmware(The source code version used is Commits on Nov 20, 2023)

  2. Build your own firmware

    1. Refer to klipper's official installation to download klipper source code to raspberry pi
    2. Building the micro-controller with the configuration shown below.

      • [*] Enable extra low-level configuration options
      • Micro-controller Architecture = STMicroelectronics STM32
      • Processor model = STM32F072
      • IF USE CanBoot
        • Bootloader offset = 8KiB bootloader
      • ELSE
        • Bootloader offset = No bootloader
      • Clock Reference = 8 MHz crystal
      • IF USE USB
        • Communication interface = USB (on PA11/PA12)
      • ElSE IF USE CAN bus
        • Communication interface = CAN bus (on PB8/PB9)
        • (1000000) CAN bus speed


    3. Once the configuration is selected, press q to exit, and "Yes" when asked to save the configuration.
    4. Run the command make
    5. The klipper.bin file will be generated in the folder home/pi/kliiper/out when the make command completed. And you can use the windows computer under the same LAN as raspberry pi to copy klipper.bin from raspberry pi to the computer with pscp command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin(The terminal may prompt that The server's host key is not cached and ask Store key in cache?((y/n), Please type y to store. And then it will ask for a password, please type the default password raspberry for raspberry pi)

board.cfg files

EBB36 & 42 CAN V1.1 and V1.2

Hardware

Firmware

Pinout

Build Firmware Image

  1. Precompiled firmware(The source code version used is Commits on Nov 20, 2023)

  2. Build your own firmware

    1. Refer to klipper's official installation to download klipper source code to raspberry pi
    2. Building the micro-controller with the configuration shown below.

      • [*] Enable extra low-level configuration options
      • Micro-controller Architecture = STMicroelectronics STM32
      • Processor model = STM32G0B1
      • IF USE CanBoot
        • Bootloader offset = 8KiB bootloader
      • ELSE
        • Bootloader offset = No bootloader
      • Clock Reference = 8 MHz crystal
      • IF USE USB
        • Communication interface = USB (on PA11/PA12)
      • ElSE IF USE CAN bus
        • Communication interface = CAN bus (on PB0/PB1)
        • (1000000) CAN bus speed


    3. Once the configuration is selected, press q to exit, and "Yes" when asked to save the configuration.
    4. Run the command make
    5. The klipper.bin file will be generated in the folder home/pi/kliiper/out when the make command completed. And you can use the windows computer under the same LAN as raspberry pi to copy klipper.bin from raspberry pi to the computer with pscp command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin(The terminal may prompt that The server's host key is not cached and ask Store key in cache?((y/n), Please type y to store. And then it will ask for a password, please type the default password raspberry for raspberry pi)

Firmware update

Warning:

(Only for EBB 36/42 CAN V1.1)
STM32G0B1CB needs to jump to the System memory area to run bootloader (written by STMicroelectronics) when using DFU to update firmware through the Type-C port. Referring to the description in manual AN2606, The initialization process of this bootloader is shown in the following figure:

The IO of USART will be configured before going to the USB DFU mode.
After going to DFU mode, PA2 will be configured to output high level by bootloader in System memory area refer to the datasheet of STM32G0B1CB__

PA2 is used for the hotend MOSFET in EBB36 & 42 CAN V1.1, The high level in the DFU mode change the hotend into heating state. Therefore, please pay attention to disconnect the main power VIN of the hotend when using the DFU of Type-C port to update the firmware, or ensure that the firmware update is completed soon and goto the normal working mode. Never keep MCU in DFU mode for a long time when the main power supply and hotend are connected.__

board.cfg files

EBB36 & 42 CAN V1.2

V1.2 compared with v1.1: only the IO of hotend is changed from PA2 to PB13

board.cfg files

EBB SB2240_2209 CAN V1.0

Hardware

Firmware

Pinout

Build Firmware Image

  1. Precompiled firmware(The source code version used is Commits on Jan 8, 2023)

  2. Build your own firmware

    1. Refer to klipper's official installation to download klipper source code to host
    2. Building the micro-controller with the configuration shown below.

      • [*] Enable extra low-level configuration options
      • Micro-controller Architecture = STMicroelectronics STM32
      • Processor model = STM32G0B1
      • IF USE CanBoot
        • Bootloader offset = 8KiB bootloader
      • ELSE
        • Bootloader offset = No bootloader
      • Clock Reference = 8 MHz crystal
      • IF USE USB
        • Communication interface = USB (on PA11/PA12)
      • ElSE IF USE CAN bus
        • Communication interface = CAN bus (on PB0/PB1)
      • (1000000) CAN bus speed


    3. Once the configuration is selected, press q to exit, and "Yes" when asked to save the configuration.
    4. Run the command make
    5. The klipper.bin file will be generated in the folder home/pi/kliiper/out when the make command completed. And you can use the windows computer under the same LAN as host to copy klipper.bin from host to the computer with pscp command in the CMD terminal. such as pscp -C pi@192.168.0.101:/home/pi/klipper/out/klipper.bin c:\klipper.bin(The terminal may prompt that The server's host key is not cached and ask Store key in cache?((y/n), Please type y to store. And then it will ask for a password, please type the default password raspberry for raspberry pi or biqu for CB1)

board.cfg files

Note

Here’s BIGTREETECH! For Makers, by makers!

How to contact:

If you have any technical issue,please don’t hesitate contact us:

Follow us on social media to get more news:

Purchase link:

https://www.biqu.equipment/products/bigtreetech-ebb-36-42-can-bus-for-connecting-klipper-expansion-device