Administrators, Swags, Bureaucrats, Administrators
2,811
edits
No edit summary |
|||
Line 15: | Line 15: | ||
If you short a battery line you could end up blowing up your STLink, Computer, and more or even causing a fire. | If you short a battery line you could end up blowing up your STLink, Computer, and more or even causing a fire. | ||
== | ==Identify Which ESC Generation You Have== | ||
===Accessing the ESC=== | Checkout the difference between the [[Ninebot Max ESC Generations]] and use the steps below depending on which one you have. | ||
==Gen 1== | |||
===Accessing the Debug Pins=== | |||
====Accessing the ESC==== | |||
Start by removing the 18 Security Torx T-15 screws on the bottom. | Start by removing the 18 Security Torx T-15 screws on the bottom. | ||
Line 31: | Line 37: | ||
You may need to scrape more rubber potting compound away from some of the connectors in order to unplug them. | You may need to scrape more rubber potting compound away from some of the connectors in order to unplug them. | ||
===Accessing The Pins=== | ====Accessing The Pins==== | ||
Carefully scrape away the potting compound, making sure not to remove any of the small surface mount components. | Carefully scrape away the potting compound, making sure not to remove any of the small surface mount components. | ||
Line 37: | Line 43: | ||
[[File: NinebotMaxDebugPins.jpg|thumb|center|400px|Be very careful not to damage any of the smaller SMD components.]] | [[File: NinebotMaxDebugPins.jpg|thumb|center|400px|Be very careful not to damage any of the smaller SMD components.]] | ||
==Software== | ===Software=== | ||
Download [https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html#get-software STM32 STLink Utility] from the ST website. | Download [https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html#get-software STM32 STLink Utility] from the ST website. | ||
Line 45: | Line 51: | ||
Install it and open it. | Install it and open it. | ||
==Flashing== | ===Flashing=== | ||
Connect the STLink to the ESC according to the diagram below. | Connect the STLink to the ESC according to the diagram below. | ||
Line 64: | Line 70: | ||
*From the top menu, press Target->Program & verify or ctrl+p. | *From the top menu, press Target->Program & verify or ctrl+p. | ||
==Gen 2== | |||
[[Category: Scooters]][[Category: Ninebot]][[Category: Max]] | [[Category: Scooters]][[Category: Ninebot]][[Category: Max]] |