Administrators, Swags, Bureaucrats, Administrators
2,932
edits
m (Joeybab3 moved page STLink Ninebot Max Gen 2 ESC to STLink Ninebot Max G30 Gen 2 ESC) |
|||
(18 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 the case of a bricked ESC/Controller/Control Board, STLinking can sometimes save the controller from needing to be replaced. | ||
This page shows how to STLink the 2nd gen ESC/controller based on the Artery AT32 chip. | This method is also capable of downgrading versions like [[Ninebot Max DRV 1.8.7|DRV 1.8.7]] and [[Ninebot Max DRV 1.8.8|DRV 1.8.8]]. | ||
This page shows how to STLink the 2nd gen ESC/controller based on the Artery '''AT32''' chip. | |||
{{ STLink Materials List }} | {{ STLink Materials List }} | ||
Line 10: | Line 12: | ||
Check out the difference between the [[Ninebot Max ESC Generations]] and use the steps below depending on which one you have. | Check out the difference between the [[Ninebot Max ESC Generations]] and use the steps below depending on which one you have. | ||
There are 3 different board layouts. | |||
<div><ul> | <div><ul> | ||
<li style="display: inline-block;">[[File:NinebotMaxGen1ESC.jpg|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: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: | <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|This guide is meant for this model. These versions are based on the AT32 MCU rather than the STM32.]]</li> | |||
</ul></div> | </ul></div> | ||
Click the image above to see the guide corresponding to your model. | |||
==Accessing the Debug Pins== | ==Accessing the Debug Pins== | ||
Line 26: | Line 33: | ||
Using an M4 Allen/Hex wrench or bit, remove the two screws holding the ESC in place. | Using an M4 Allen/Hex wrench or bit, remove the two screws holding the ESC in place. | ||
[[File: NinebotMaxESCLocations.jpg|thumb|center|400px|This is a | [[File: NinebotMaxESCLocations.jpg|thumb|center|400px|This is a Gen 1 ESC but the Gen 2 will be in the same place.]] | ||
Carefully unplug each of the connectors. | Carefully unplug each of the connectors. | ||
You may need to scrape more rubber potting | You may need to scrape more rubber potting compounds away from some of the connectors in order to unplug them. | ||
===Accessing The Pins=== | ===Accessing The Pins=== | ||
Line 41: | Line 48: | ||
[[File:NinebotMaxGen2ESCDebugPins.jpg|thumb|center|400px|The pins are located opposite of the white connectors and battery connector.]] | [[File:NinebotMaxGen2ESCDebugPins.jpg|thumb|center|400px|The pins are located opposite of the white connectors and battery connector.]] | ||
Connect the pins to the STLink as shown: | |||
[[File:NinebotMaxGen2ESCSTLinkPinout.jpg|thumb|center|400px|The connections for the pins of a Gen 2 ESC.]] | |||
===Software=== | ===Software=== | ||
{{ Install | {{ Install ScooterHacking ReFlasher }} | ||
===Flashing=== | ===Flashing=== | ||
Once installed, open the software and change your model to Ninebot Max. | |||
[[File:NinebotMaxScooterHackingReflasherSelectModel.png|thumb|center|400px|The correct model selected in reflasher.]] | |||
Make sure you have 'AT32' selected as the chip or you will brick your esc. | |||
To show the console (helpful for debugging errors), press settings -> show console. | |||
[[File:NinebotMaxScooterHackingReflasherSelectAT32.png|thumb|center|400px|The correct MCU selected in reflasher.]] | |||
Fill out your serial number and current mileage and press 'Launch Recovery'. | |||
[[File:NinebotMaxScooterHackingReflasherLaunchRecovery.png|thumb|center|400px|Press launch recovery then check the console for any errors.]] | |||
Check the console to make sure there were no issues flashing. | |||
[[File:NinebotMaxScooterHackingReflasherSuccessfulFlash.png|thumb|center|400px|A successful flash indicated by no errors in the console.]] | |||
===Testing=== | ===Testing=== | ||
Remove the STLink and plug back in the ESC and use [[ScooterHacking Utility]] to check that your version number is now 1. | Remove the STLink and plug back in the ESC and use [[ScooterHacking Utility]] to check that your version number is now [[Ninebot Max DRV 1.6.13|1.6.13]] or [[Ninebot Max DRV 1.7.3|1.7.3]]. | ||
[[File:NinebotMaxGen2ControllerSuccessfulDowngrade.png|thumb|center|400px|The downgrade was successful as shown here by the version number.]] | |||
From here your motor may not work. Check [[Ninebot Max Motor Generations]] and see if you have a Gen 3 motor. If so you will want to flash firmware based on [[Ninebot Max DRV 1.8.7|1.8.7]] or above (either [[SHFW]] or one of the patched [[Ninebot Max DRV 1.8.7|1.8.7]] or [[Ninebot Max DRV 1.8.8|1.8.8]] versions). | |||
[[Category: Scooters]][[Category: Ninebot]][[Category: Max]][[Category: STLink]] | [[Category: Scooters]][[Category: Ninebot]][[Category: Max]][[Category: STLink]] |