Administrators, Swags, Bureaucrats, Administrators
3,841
edits
| (One intermediate revision by the same user not shown) | |||
| Line 22: | Line 22: | ||
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 ScooterHacking, and open it in STVP. | Download the hex file [https://files.scooterhacking.org/firmware/max/BMS/bms134_fulldump.hex from ScooterHacking], and open it in STVP. | ||
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/STM32 STLink Utility method. | ||
| Line 30: | Line 30: | ||
1. Connect ST-Link to BMS through STVP | 1. Connect ST-Link to BMS through STVP | ||
2. STM8L15xK6 for the chip | 2. '''STM8L15xK6''' for the chip | ||
[[File:NinebotMaxSTLinkBatteryScreen.jpg|thumb|center|400px]] | [[File:NinebotMaxSTLinkBatteryScreen.jpg|thumb|center|400px]] | ||