Can't flash ESC (former Spin)

raincloud916
Posts: 2
Joined: Mon Dec 28, 2020 10:21 pm

Can't flash ESC (former Spin)

Postby raincloud916 Wed Dec 30, 2020 1:08 am

I've got 3 ESC's here that I can't flash, i don't know why. I've done a ton of these, but for some reason, these one's won't connect.

I just get this in ST-Link STM32:

17:06:02 : Device ID:0x410
17:06:02 : Device family :STM32F10xx Medium-density
17:06:02 : Can not connect to device!

i've redone my soldering, made sure that the connections are good, used different wires, AND this st-link does the dashboard no problem, so what gives? Any ideas?
CDogg
Posts: 79
Joined: Tue Sep 03, 2019 7:08 am

Re: Can't flash ESC (former Spin)

Postby CDogg Tue Jan 19, 2021 1:43 am

Yes, I had this same problem and my workaround did the trick.

Essentially, what happens after you run option bytes in STM32 STlink Util, if you have run the Program and Verify, your 5v power source changes pins..
So you have to move the 5v wire to another location on the ESC. I have found the 2nd or 3rd pin from the left on the 5pin hall sensor wire harness (someone correct me if I'm wrong on the lingo) will be the new 5v source after the "Program and Verify" is finished running and your ESC disconnects. This will allow you to copy/paste flash address 0x1FFFF7E8 to 0x0801C1B4 and finish the flash process.

Lemme know if you have any questions about this.

Return to “Ninebot Max”

Who is online

Users browsing this forum: No registered users and 47 guests