The Xiaomi M365 remains one of the most popular urban scooter devices, but over time, its Battery Management System (BMS) may not work properly. Users face problems such as spontaneous power outages, incorrect display of charge levels or complete battery failure. In such cases, BMS firmware becomes a viable solution - it allows you to restore the factory settings of the controller, update control algorithms or even unlock hidden functions.
But the process of BMS firmware on the Xiaomi M365 is not just about downloading a file via USB. It is important to understand the system architecture, the risks of firmware incompatibility and the consequences of errors. For example, an incorrect firmware version can lead to a complete loss of communication with the battery, and an interrupted firmware process can lead to a βbrickingβ of the controller. In this article, we will understand how to flash the BMS safely, what tools are needed, and what to do if something goes wrong.
What is BMS in Xiaomi M365 and why to sew it
BMS (Battery Management System) is a chip that controls all the parameters of the scooter battery: cell voltage, discharge current / charge, temperature and balancing. The Xiaomi M365 uses BMS version 1.2 or 1.3 (depending on the year of release), which communicates with the main controller via the UART protocol.
The reasons for BMS firmware can be different:
- π Incorrect charge display (e.g., 100% changes to 0% per second).
- β‘ Unintentional shutdowns when driving, even if the battery is charged.
- π Cell balancing problems that cause some elements to recharge or undercharge.
- π Unlocking restrictions (e.g., removing the battery-related speed limit).
- π οΈ Recovery after a failure (for example, after a failed update of the main firmware of the scooter).
It's important to understand that BMS is an interference with a critical node, and if the main firmware of the scooter is responsible for the engine and display, then BMS is directly related to battery safety, and that the wrong actions can lead to overheating, fire or battery failure.
What tools and files will be needed
To install BMS on the Xiaomi M365, you will need:
- Adapter for connecting to BMS: π USB-to-TTL converter (e.g., USB-to-TTL converter, CP2102 or FT232RL) supportive 3.3V. π§ Wires "dad-mama" to connect to the board BMS.
- Software: π» DownG (DownG BMS Tool - a specialized utility for working with BMS Xiaomi. π Firmware BMS (file with the extension.bin or.hex).
Additional tools
- π¬ Multimeter to check voltage on contacts.
- π¨ Screwdriver and plastic mediator for disassembling the scooter.
There are no official files from Xiaomi for BMS, but they are distributed by enthusiasts on forums (for example, 4PDA or Endless Sphere).
- π BMS_1.2.6.bin β stable version for most scooters.
- π BMS_1.3.5_Unlocked.bin β Unlocked firmware with removed restrictions.
- π BMS_Reset.bin β factory-setting.
π‘
Before downloading the firmware, check its hash (MD5) in the forum to avoid downloading corrupted or malicious files.
You will also need a USB-TTL connection scheme to the BMS board. The following contacts are usually used:
| Contact USB-TTL | Contact on BMS | Description |
|---|---|---|
| TX | RX | Transfer of data from the adapter to the BMS |
| RX | TX | Reception of data from BMS |
| GND | GND | General minus (ground) |
| 3.3V | VCC | Food (connect with caution!) |
Preparation of the scooter for BMS firmware
Before starting work, you need to completely discharge and charge the battery, which will help to reset possible balancing errors.
- Turn off the scooter from charging and turn it off.
- Remove the bottom cover by unscrewing 4 screws under the cross screwdriver.
- Carefully disconnect the battery connector from the main board (it is usually black with 6-8 contacts).
- Find the BMS board β it is located on the battery unit and is marked BMS v1.2 or v1.3.
Now you need to connect the USB-TTL adapter to the BMS contacts. Beware: the wrong VCC or GND connection can burn the board!
Is it connected? USB-TTL PC?|Is it correct to determine TX/RX?|Is the battery disconnected from the main board?|Is the voltage checked by a multimeter?-->
Once you have the adapter connected, install the drivers for CP2102/FT232RL (unless they are installed automatically) and start DownG.
Step-by-step instructions for BMS firmware
The firmware process consists of several steps. Follow them strictly in order:
- Connection to BMS: Start DownG and select the right one. COM-port (it should appear in the list after the adapter is connected). Set the speed of 115200 b. Press Connect - if the connection is successful, the log will appear a message Connected to BMS.
- Read current firmware: Press Read Flash and save the current firmware to the file (in case of rollback). Check the BMS version in the log - it must match the selected firmware.
- Download new firmware: Select a firmware file (.bin) through Open File. Press Write Flash and wait for the process to finish (usually 2-5 minutes).
Verification of the result:
- Turn off the adapter and assemble the scooter.
- Turn it on and check the charge display, voltage at the terminals with a multimeter.
If the process is successful, the scooter should be activated without errors, but in 10% of cases after firmware requires calibration of the battery - to do this, completely discharge and charge the battery 2-3 times.
What if DownG doesnβt see BMS?
Common mistakes and their solutions
Even with the correct following of the instructions, problems can arise, and here are the most common ones and ways to fix them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Connection Failed | Improper TX/RX connection or lack of power | Check the connection scheme, try another adapter |
| The scooter does not turn on after firmware | Incompatible firmware version or interrupted process | Repeat the firmware with the correct file or return the backup |
| Battery's running out fast. | Incorrect calibration after firmware | Perform 2-3 cycles of full discharge / charge |
| Checksum Error | A damaged firmware file | Download the firmware again and check the MD5 |
If the scooter is unstable after firmware (for example, it is arbitrarily disconnected), it may not be the BMS that is the problem, but the main controller or battery cells.
- π Check the voltage on each cell with a multimeter (should be ~3.6Vβ4.2V).
- π§ Reflash the main controller of the scooter.
- π Replace damaged battery cells.
π‘
If after firmware BMS scooter stopped turning on, do not panic - in 80% of cases, the problem is solved by re-routing or resetting settings.
Risks and precautions
BMS firmware is an interference with the battery management system, and it carries several critical risks:
β οΈ Warning: Incorrect firmware can cause the battery to overheat and even catch fire.If you are not sure about your actions, contact a specialist.
Principal hazards:
- π₯ Short circuit with incorrect connection VCC/GND.
- π₯ Loss of communication with BMS, break off.
- π Irreversible battery damage when using incompatible firmware.
To minimize the risks, follow these rules:
- π‘οΈ Work in a well-ventilated room β when overheated, the battery can emit harmful gases.
- π Use a stabilized power supply to connect USB-TTL, Not PC power.
- π Keep an action log - write down firmware versions and test results.
- π« Do not leave the scooter unattended during firmware.
If you have never worked with a soldering iron or multimeter before, it is better to entrust the firmware to a professional BMS. The cost of such a service in service centers usually does not exceed 1500-2000 rubles, which is cheaper than repairing a burned battery.
Alternative ways to solve BMS problems
Firmware isn't the only way to bring BMS back to life, and in some cases, less risky methods help:
- π Resetting settings BMS: Turn off the battery from the scooter for 24 hours - sometimes it resets errors. Connect the charger directly to the battery (bypassing the main fee) for 10 minutes.
- π§ Replacement BMS-Payment: If the firmware does not help, you can buy a new fee BMS (cost ~1000-1500 rubles. Make sure that the version of the board is compatible with your battery.
- π Battery unit repair: Check the balancing of the cells and replace damaged cells if necessary. Use a balancing charger to restore capacity.
If the problem is incorrect charge display, sometimes the firmware of the main controller of the scooter (not BMS) helps.
π‘
Before the replacement BMS-If the battery packs are down to 60 percent, the firmware won't help, you need to replace the battery.