Support me making more videos. Any small amount makes a difference.
PayPal.me/UngureanuVictor
===========
As you may know, there are three electronic modules inside the Xiaomi M365 electric scooter: BLE (bluetooth - in the handlebars), DRV (motor controller or ESC, located inside the deck) and the BMS (battery management system, also inside the deck, part of the battery assembly).
Each of these modules have their own firmware. Usually, the firmware is flashed on the module using an app like Xiaomi Mi Home, M365 DownG or XiaoFlasher, but sometimes this is not possible and the only solution is to use an ST-Link programmer.
This video shows how to flash the DRV firmware, but I also have a video about the BLE module: • 🛴 Xiaomi M365 🛴 firmwa...
You will need:
-an ST-Link programmer: s.click.aliexpress.com/e/_dXm...
-a soldering iron: s.click.aliexpress.com/e/_dTI...
-pin header: s.click.aliexpress.com/e/_dZZ...
-jumper wire: s.click.aliexpress.com/e/_dVx...
Also, you need to download this software: 1drv.ms/u/s!Aqs8w_gChI2mif5el...
Here's the general process:
the firmware has knowledge of the scooter's serial number, so in order to fully restore it, you'll need it. It is made up of a 5-digit and 8-digit number separated by a slash (XXXXX/XXXXXXXX). Find it on a small label on the side under the footboard
locate holes for pins G, C, and D towards the middle of the mainboard. Solder a pin into each so that you can plug in the cables
look at your ST Link dongle. On it, you'll see a layout of what each pin does
With the Dupont cabling bundled with your ST Link, connect these ST Link pins to the pins on your ESC:
SWCLK to C
SWDIO to D
GND to G
5.0V to the pin labeled 5 on the 4-pin BLE header, in the corner of the mainboard
plug your ST Link into USB. You should see your board come to life, and probably start flashing a green light
launch m365rec.exe and step through the process, entering in your scooter's serial number. If it doesn't find your dongle, you may have to install the STM driver which is bundled in the .rar.
the restoration takes some time. Once complete, plug everything in before reassembling your scooter and turn it on. Verify it was successful by squeezing the brake lever, which should blink your tail light. If that works, you should be good to reassemble and ride.
28 апр 2020