Coder Social home page Coder Social logo

m365_drv_stlink's Introduction

M365_DRV_STLINK

M365 driver esc recover using stlink, if it doesnt start due to DRV BRICK.

  • make sure that the DRV is bricked. (perhaps the brick is caused by the BLE board)

What is needed?

  • ST-LINK V2 or similar programmer
  • ST-LINNK drivers, install ST_LINK_SETUP.exe
  • Python 3.8- make sure to check Add Python to path

  • Some dupont wires and some aligator clips
  • Bricked part and optionaly its Serial number (you can put any serial)
  • Optional some solder equipment or someone to help you holding the wires in place
  • patience

flashing

  1. Select the flash_m365_....py acording to your scooter.
  • open it on a text editor, on line 26 you can find something that goes like this

    serial ='13678/00110000'
    KM=0
    
  • replace the data to match your actual scooter serial and KM

  1. Disasemble scooter and extract the drv from its case
  • Make sure the capacitor is discharged. To achieve this disconnect the battery, try to turn the scooter on and wait until the red light fades
  1. Hold wires in place, solder them, or ask help for a friend to hold them during the process

  1. Launch start_ocd_STLINKV2.bat, should start like this, if it doesnt, check the wirig, open STM32 STLink Utility, try to connect to target to check if stlink is working

4. Launch flash_m365_....py acording to your scooter model. 5. Wait, if it fails and closes check the wiring, close everithing and restart from step 2. * open STM32 STLink Utility and try to connect to target to check if stlink is working. 6. If everithing works you should see something like this:

m365_drv_stlink's People

Contributors

camialfa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.