STLink Ninebot Max ESC: Difference between revisions

no edit summary
No edit summary
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
In the case of a bricked ESC/Controller/Control Board, STLinking can save the controller from needing to be replaced in some instances.
In the case of a bricked ESC/Controller/Control Board, STLinking can save the controller from needing to be replaced in some instances.


For this process you will need:
{{ STLink Materials List }}


* Windows computer
For the Ninebot ESX Series/[[Ninebot SNSC 1.0|SNSC 1.0]], use the guide at: [[STLink Ninebot ESX ESC]].


* STLink (Decent quality clones will work)
==Identify Which ESC Generation You Have==


* Tools to disassemble the scooter and access the ESC
Check out the difference between the [[Ninebot Max ESC Generations]] and use the steps below depending on which one you have.


* Dupont male/female jumper cables
There are 3 different board layouts.


This process can be dangerous if done incorrectly so take caution when performing these steps and make sure you use a computer you are comfortable possibly destroying.
<div><ul>
<li style="display: inline-block;">[[File:NinebotMaxGen1ESC.jpg|link=STLink Ninebot Max Gen 1 ESC|thumb|center|400px|A Gen 1 ESC has bullet connectors and a silver metallic housing. Newer units may have writing as shown in this image.]]</li>
<li style="display: inline-block;">[[File:NinebotMaxGen1G30DESC.jpg|link=STLink Ninebot Max Gen 1 G30D ESC|thumb|center|400px|A Gen 1 ESC has bullet connectors and a silver metallic housing. The G30D has 3 capacitors and a different location for the debug pins.]]</li>
<li style="display: inline-block;">[[File:NinebotMaxGen2ESC.jpg|link=STLink Ninebot Max Gen 2 ESC|thumb|center|400px|A Gen 2 ESC has screw terminals and a black plastic housing. These versions are based on the AT32 MCU rather than the STM32.]]</li>
</ul></div>


If you short a battery line you could end up blowing up your STLink, Computer, and more or even causing a fire.
Click the image above to go to the guide that corresponds to your model.


==Accessing the Debug Pins==
[[Category: Scooters]][[Category: Ninebot]][[Category: Max]][[Category: STLink]]
 
===Accessing the ESC===
 
Start by removing the 18 Security Torx T-15 screws on the bottom.
 
[[File: NinebotMaxBottomScrewLocations.jpg|thumb|center|400px|The locations of the 18 screws.]]
 
Using an M4 Allen/Hex wrench or bit, remove the two screws holding the ESC in place.
 
[[File: NinebotMaxESCLocatios.jpg|thumb|center|400px|The ESC after being removed.]]
 
==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.
 
Scroll down and click "Get Software" and enter your email to receive a download link.
 
Install it and open it.
 
==Flashing==
 
[[Category: Scooters]][[Category: Ninebot]][[Category: Max]]
Administrators, Swags, Bureaucrats, Administrators
2,822

edits