How to flash your Ninebot Scooter

ultrasnit
Posts: 6
Joined: Thu Jun 06, 2019 11:47 pm

Re: I have problems with OpenOCD!

Postby ultrasnit Fri Jun 07, 2019 1:48 am



I got this message:

C:\Users\Badabing DMX>telnet 127.0.0.1 4444
Connecting To 127.0.0.1...Could not open connection to the host, on port 4444: Connect failed

alright, so you have a layer 1 issues, send picts on wiring.. do you have lights on your st-link and are you sure you loaded all the drivers to the stick.. can you computer see the stick?
also did you get a pop up for port 4444 to be opened and did you in fact allow it to be opened?
Here can u see the codes

C:\Users\Badabing DMX\Desktop\openocd-0.10.0>.\bin-x64\openocd.exe -f .\scripts\interface\stlink-v2.cfg -f .\scripts\target\nrf51.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v31 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.173839
Error: init mode failed (unable to connect to the target)
in procedure 'init'
in procedure 'ocd_bouncer'
ca2014mp2
Posts: 15
Joined: Thu Jun 06, 2019 9:17 pm

Re: I have problems with OpenOCD!

Postby ca2014mp2 Fri Jun 07, 2019 3:31 am



I got this message:

C:\Users\Badabing DMX>telnet 127.0.0.1 4444
Connecting To 127.0.0.1...Could not open connection to the host, on port 4444: Connect failed

alright, so you have a layer 1 issues, send picts on wiring.. do you have lights on your st-link and are you sure you loaded all the drivers to the stick.. can you computer see the stick?
There is no light in the dashboard, but the st link diode lights up. The pc can see the stick and the terminal kan see the stick to
it's down to your wiring..
ca2014mp2
Posts: 15
Joined: Thu Jun 06, 2019 9:17 pm

Re: I have problems with OpenOCD!

Postby ca2014mp2 Fri Jun 07, 2019 3:42 am




alright, so you have a layer 1 issues, send picts on wiring.. do you have lights on your st-link and are you sure you loaded all the drivers to the stick.. can you computer see the stick?
also did you get a pop up for port 4444 to be opened and did you in fact allow it to be opened?
Here can u see the codes

C:\Users\Badabing DMX\Desktop\openocd-0.10.0>.\bin-x64\openocd.exe -f .\scripts\interface\stlink-v2.cfg -f .\scripts\target\nrf51.cfg
Open On-Chip Debugger 0.10.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : clock speed 950 kHz
Info : STLINK v2 JTAG v31 API v2 SWIM v7 VID 0x0483 PID 0x3748
Info : using stlink api v2
Info : Target voltage: 3.173839
Error: init mode failed (unable to connect to the target)
in procedure 'init'
in procedure 'ocd_bouncer'

Your script is different than mine... where did you get it? I used the one from this site.. if different change it..
mandosd49
Posts: 9
Joined: Fri Jun 07, 2019 4:06 am

Re: How to flash your Ninebot Scooter

Postby mandosd49 Fri Jun 07, 2019 4:07 am

Im getting the exact same error,
same circumstances, everything wired up ok

Error: init mode failed (unable to connect to the target)

Im on a windows 10 computer.

Did you find a resolution to your issue?
ca2014mp2
Posts: 15
Joined: Thu Jun 06, 2019 9:17 pm

Re: How to flash your Ninebot Scooter

Postby ca2014mp2 Fri Jun 07, 2019 4:28 am

Im getting the exact same error,
same circumstances, everything wired up ok

Error: init mode failed (unable to connect to the target)

Im on a windows 10 computer.

Did you find a resolution to your issue?
win 10 is fine. where did you get your program, your script is different than mine. I got mine here. No resolution on my issues. I'm too new and these guys are acting like I'm not here.. oh well,, i'll keep HELPING others as they don't help me. Whatcha going to do?
You really sure you got your wiring sorted, you keep avoiding a pict so i'm assuming you have that right.. I would point to the software you are using..
mandosd49
Posts: 9
Joined: Fri Jun 07, 2019 4:06 am

Re: How to flash your Ninebot Scooter

Postby mandosd49 Fri Jun 07, 2019 5:00 am

yeah, that sucks,
I was so exited, only to find the stupid error:

Error: Init mode failed (unable to connect to target)

Does the Dash need to be power on to the scooter, NO right. the 3.3 volts wlll power it on?

IDK, that sucks, thinkging about trying this on old windows 7 pc
ca2014mp2
Posts: 15
Joined: Thu Jun 06, 2019 9:17 pm

Re: How to flash your Ninebot Scooter

Postby ca2014mp2 Fri Jun 07, 2019 5:02 am

yeah, that sucks,
I was so exited, only to find the stupid error:

Error: Init mode failed (unable to connect to target)

Does the Dash need to be power on to the scooter, NO right. the 3.3 volts wlll power it on?

IDK, that sucks, thinkging about trying this on old windows 7 pc

No, windows version is not your issue.. again dude answer my questions or I can't help.. where did you get your software for osd?
ca2014mp2
Posts: 15
Joined: Thu Jun 06, 2019 9:17 pm

Re: How to flash your Ninebot Scooter

Postby ca2014mp2 Fri Jun 07, 2019 5:04 am

yeah, that sucks,
I was so exited, only to find the stupid error:

Error: Init mode failed (unable to connect to target)

Does the Dash need to be power on to the scooter, NO right. the 3.3 volts wlll power it on?

IDK, that sucks, thinkging about trying this on old windows 7 pc

No, windows version is not your issue.. again dude answer my questions or I can't help.. where did you get your software for osd?
and no , you dont need to have it powered other than the power to the cap c9
mandosd49
Posts: 9
Joined: Fri Jun 07, 2019 4:06 am

Re: How to flash your Ninebot Scooter

Postby mandosd49 Fri Jun 07, 2019 5:18 am

i got all my software from this guide
I got my OSD from a broken abandoned jump scooter seway.

This is the OCD I'm using

OpenOCD:
http://www.freddiechopin.info/en/downlo ... ocd-0.10.0

I measure the volts at c9 cap, white everything is plugged in and only getting 2.4 volts
Last edited by mandosd49 on Fri Jun 07, 2019 6:21 am, edited 1 time in total.
mandosd49
Posts: 9
Joined: Fri Jun 07, 2019 4:06 am

Re: How to flash your Ninebot Scooter

Postby mandosd49 Fri Jun 07, 2019 5:34 am

Unless the Pin Read out on my ST Link is backword or flipped.
Do they make manufactoruing mistakes on this little devices.

I have them exact same as the Pictures posted by the other guy here with the same issue.

Return to “Ninebot ES”

Who is online

Users browsing this forum: No registered users and 3 guests