Close

Marlin 2.0 on a Tronxy X5S/Chitu Mainboard - Video

A project log for Chitu 3D Printer Mainboard Hacking

Studying the encryption on Chitu's 3D Print controllers

jc-nelsonJ.C. Nelson 09/26/2019 at 18:421 Comment

Here we have proof that the custom code does in fact work. Marlin with no SD/LCD boots just fine, and at least the Y pins are correct.

What does this mean? This project is near to completion, I think. I'll try to verify the other pins, find the LEDs, fans, and runout sensors, but the goal here was to break the encryption and let us load whatever we want. I don't own an X5S, so it's not like I can do the iterative testing that is needed to develop a configuration.h for the printer. So...we near the end. Just a few pins to run down and so on.

Discussions

Mark Spieth wrote 04/28/2020 at 01:00 point

I notice you use jtag. This is not necessary. It is easy to read and write to anything with an ST32F micro.
Get access to the mainboard and remove the BOOT0 jumper (I have an external switch attached to this now)
Get Flasher Demo from https://www.st.com/en/development-tools/flasher-stm32.html
Run it and turn on the printer with the usb attached. Even if you brick it you can still restore the saved firmware (or someone elses) as it bypasses the bootloader.
Much easier than jtag and just as good for this purpose.

  Are you sure? yes | no