TPEHAK
Regular
The archive with the current versions of the files ( KiCAD (Version 9.0.0) motor controller files, firmware files, CAD files of the CNC machined and 3D printed custom parts, CAD files of the fasteners, Luna manuals collection, Gerber files) can be downloaded here (updated on 2025-10-08)
How to build the controller
Alrighty guys, I think it's time to liberate the Luna M600 Ludicrous V2 VESC motor controller for Bafang M520/560/600 motors.
By the way, if you are interested in VESC motor controller for Bafang M620 it was already liberated here:
forums.electricbikereview.com
Now the time has come and it is the Luna M600 Ludicrous V2 turn.
The subject of reverse engineering is specifically M600-Rev6 2022-12 version of the controller. I believe this is the latest iteration of this controller.
I already did some good progress and I am planning to post the reverse engineering progress reports, pictures and files here. All the reversed files will be publicly shared for your pleasure and you are free to use it however you want. At the end of the day we would need to build the PCBS and test how it works to make sure the unit was reverse engineered properly and just for fun.
If you have something to contribute in to this effort feel free to join the discussion. Any helpful information and links are welcome.
So here is the M600 Ludicrous V2 VESC motor controller for Bafang M520/560/600 motors I got:


Connected it to the computer with USB cable and launched VESC Tool application. According the the VESC Toll the hardware revision is Rev5, but the mark on the PCB indicates Rev6.



The PCB is mounted to a custom CNC machined black anodized aluminum cover. The MOSFETs make contact with the cover through a thermal pad. The Bluetooth antenna wire goes through the hole in the cover outside under a 3D printed plastic cup and sealed with black silicone.

The MOSFETs have flat top face with metal housing for contact with cooling surface. By the way the Innotrace controller uses different MOSFETs with cooling directed to the heavy copper PCB.

First thing first. I figured out the SWD connector pins for ST-Link and dumped the original firmware from the STM32 MCU



Here is the firmware bin file I dumped. We need to make sure we save it because of it is our starting point and the gold standard.
The bulk capacitors were lifted and the PCB was cleaned from the white silicone to expose the components for reverse engineering

Took high resolution pictures of both sides of the board and started the project in KiCAD. The STM32 power supply and ST-Link pins are already reverse engineered. Stay tuned!


How to build the controller
Alrighty guys, I think it's time to liberate the Luna M600 Ludicrous V2 VESC motor controller for Bafang M520/560/600 motors.
By the way, if you are interested in VESC motor controller for Bafang M620 it was already liberated here:
Archon X1 Programming Thread (questions and experiences)
Hello, did you try to contact Krasnodar first for assistance? I would contact him first. Maybe ask him when he is planning to make the online server available again (he promised to make it available soon some time ago). If he does not respond here is the link for the bypassed tool with advanced...
Now the time has come and it is the Luna M600 Ludicrous V2 turn.
The subject of reverse engineering is specifically M600-Rev6 2022-12 version of the controller. I believe this is the latest iteration of this controller.
I already did some good progress and I am planning to post the reverse engineering progress reports, pictures and files here. All the reversed files will be publicly shared for your pleasure and you are free to use it however you want. At the end of the day we would need to build the PCBS and test how it works to make sure the unit was reverse engineered properly and just for fun.
If you have something to contribute in to this effort feel free to join the discussion. Any helpful information and links are welcome.
So here is the M600 Ludicrous V2 VESC motor controller for Bafang M520/560/600 motors I got:


Connected it to the computer with USB cable and launched VESC Tool application. According the the VESC Toll the hardware revision is Rev5, but the mark on the PCB indicates Rev6.



The PCB is mounted to a custom CNC machined black anodized aluminum cover. The MOSFETs make contact with the cover through a thermal pad. The Bluetooth antenna wire goes through the hole in the cover outside under a 3D printed plastic cup and sealed with black silicone.

The MOSFETs have flat top face with metal housing for contact with cooling surface. By the way the Innotrace controller uses different MOSFETs with cooling directed to the heavy copper PCB.

First thing first. I figured out the SWD connector pins for ST-Link and dumped the original firmware from the STM32 MCU



Here is the firmware bin file I dumped. We need to make sure we save it because of it is our starting point and the gold standard.
The bulk capacitors were lifted and the PCB was cleaned from the white silicone to expose the components for reverse engineering

Took high resolution pictures of both sides of the board and started the project in KiCAD. The STM32 power supply and ST-Link pins are already reverse engineered. Stay tuned!


Last edited:






























