Template:Ninebot Max STLink BMS Flash Procedure: Difference between revisions

no edit summary
(Created page with "===Finding the Debug points=== The top of the battery is covered in gray silicon. The area around the debug pins must be removed to access the pins as shown below. It is just below the BMS 4 pin JST data cable. thumb|center|400px|The debug pins on a normal bms Some boards have slightly different layout. thumb|center|400px|The alternate debug points ====Flashing Stock BMS Firmware=...")
 
No edit summary
Line 14: Line 14:
The debug pins must be connected to the STLink as shown. This can be done by manually holding jumpers to the debug points or by soldering wires to connect to the jumpers.
The debug pins must be connected to the STLink as shown. This can be done by manually holding jumpers to the debug points or by soldering wires to connect to the jumpers.


Download the hex file from [[Lyft Ninebot Max BMS Files]], and open it in STVP.
Download the hex file from ScooterHacking, and open it in STVP.


[[File:NinebotMaxBMSSTLinkPinout.jpg|center|thumb|400px]]
To flash, a separate software must be used instead of the normal openOCD/STM32 STLink Utility method.


To flash, a separate software must be used instead of the normal openOCD method.
To flash it, different software is needed, in this case, [https://www.st.com/en/development-tools/stvp-stm32.html STVP].
 
[[File:LyftBMSFullDump134.hex]]
 
To flash it, different software is needed, in this case, [[File:SVTP.zip]].


1. Connect ST-Link to BMS through STVP
1. Connect ST-Link to BMS through STVP
Line 34: Line 30:
4. Select the bottom tab labeled "PROGRAM MEMORY"
4. Select the bottom tab labeled "PROGRAM MEMORY"


5. Open [[File:LyftBMSFullDump134.hex]]
5. Open the fulldump file


6. In the top menu select Program -> All Tabs
6. In the top menu select Program -> All Tabs
Administrators, Swags, Bureaucrats, Administrators
3,830

edits