Skip to content

x40-Community/X40_PRO-Firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WEEDO X40 PRO Community Firmware

image

Information

The use of the community firmware is at your own risk. There is no liability whatsoever for any damage!

If you search the web for Weedo X40 PRO, you may find other sources as well. Don't use unofficial sources!

Please note that proper printer setup and calibration is required. Just installing the firmware is not enough!

The X40 PRO firmware has been optimized to work with Ultimaker Cura. If you use a different slicer, the printer may not work properly! Please use Ultimaker Cura with X40 PRO Cura configuration to avoid any issues.

The Ultimaker Cura printing profiles are matched to the X40 PRO Part Community cooling system. If you use the original Weedo X40 Part cooling system, the settings may not be correct or the printing may not work properly!

Please note that the High Temperature variant only works with the High Temperature upgrade. Without the upgrade you will destroy the printer with highly toxic fumes!

Help

Neither the X40 community nor Weedo provide help with the source code. If you want to use the source code, you should already know what you're doing!

Source code

If you want to publish a modified source code based on the X40 PRO data, please use a different name for the project so that nobody gets confused.

Feature

This is the repository that contains the community version firmware for the WEEDO X40 PRO 3D Printer. The X40 PRO firmware is a further development of the community firmware 1.2.5 provided by Weedo. Besides bug fixes there are also the following features:

Please note that with the latest firmware variants, the X-Offset is 5mm smaller (5mm shift to the right) than with the Weedo Stock firmware. This prevents the right extruder from colliding at X=0. If you didn't notice that, there is a 5mm offset between the right and left extruder in dual mode! The correction is made via the parameters of the firmware and not via the slicer.

More information see http://www.x40-community.org/index.php/firmware/x40-pro-firmware

Usable Hardware Version

  • X40 V1: The first mass production version. The production time is from November 2020 to June 2021.
  • X40 V2: The second production version. The production batch start from July 2021. The length in the Y-axis direction has been shortened. The Y-axis coordinate has been changed from (-2,310) to (-11,303).

Hardware upgrade options

Firmware variants

The source code contains all eight firmware variants which are:

  • X40V1 PRO
  • X40V1 PRO HT
  • X40V1 PRO BMG
  • X40V1 PRO BMG HT
  • X40V2 PRO
  • X40V2 PRO HT
  • X40V2 PRO BMG
  • X40V2 PRO BMG HT

Change the configuration so that the correct firmware comes out, otherwise you will get problems. Ready to Use binary files can be found in the Release directory.

Compile requirements

  • Download and install VSCode
  • Search and install PlatformIO IDE from store marketplace
  • Search and install ST STM32 embedded platform from PIO Home
  • Copy framework-arduinoststm32-maple@99.99.99 from /buildroot/lib to PlatformIO library location (user)/.platformio/packages/
  • Install the USB driver from /buildroot/driver/CH341SER.ZIP

Upload firmware

X40 uses a customized bootloader, which requires a customized download program for firmware update.

The Windows version of the download program WEEDOIAP.exe is located in the /buildroot/upload/ directory. The macos version is still under development.

Lanuch the WEEDOIAP.exe, open the firmware.bin file from build directory, choice the com port, then click the update.

image

X40 will restart to enter the firmware update mode. Wait for about 1 minute, the printer will automatically restart after the firmware update is completed. Just installing the X40 PRO firmware is not enough for the correct functioning of the firmware. After the installation you have to calibrate the printer and run the setup again! Finally, you should save the setup on the SD card using the parameter backup function.

image

The difference between the X40 PRO community version firmware and the Weedo Stock firmware

The stock firmware has the function of upgrading the firmware via TF card. Use the IAP function in the control menu to read the flash.wfm file on the TF card to upgrade the firmware.

The X40 PRO community version firmware does not support the wfm format, so it does not support firmware upgrade via TF card. Please use the flashing software for an up or down grade.

Return to the official vesrion firmware

Use WEEDOIAP.exe to flash X40_Vxxx_Community_to_Official.bin in the /Release directory from the Weedo source code.