RP ✔️ MiDu-Flasher 🔌 ST-Link Downgrade & Unbrick

Bei erfolgreichen Downgrade ist die BLE 136 drauf (wahrscheinlich zu neu für eine App, die es offiziell nicht mehr gibt 🙃) . Mit iOS brauchst du im Scooterbereich gar nicht erst etwas versuchen, ohne Android läuft da nix, sorry.
Nutze auch Scooter Companion für DPC und zum flashen. Also doch man kann mit IOS was anfangen. Man braucht nicht zwingend ein Android :D GM geht auch, wenn man unter DRV304 bei Xiaomi fährt.
 
VooDooShamane VooDooShamane wann werden denn die Funktionen für DRV und BMS freigeschaltet? Fände ich wirklich sehr angenehm. :) Aber bis hier her schon mal Super Arbeit! Das is ja wirklich für jeden 0815 User nutzbar gestaltet! Nur die Info "bitte roller einschalten" hat mir so ein wenig gefehlt xDD
 
  • Strahlend
Reaktionen: VooDooShamane
Servus!
Vielen Dank für die anschauliche Anleitung!
Habe lange gehadert und war mir nicht sicher, ob ich das so hinbekomme, war aber im Nachhinein echt easy!
Soweit, so gut; nun zu meinem (sicher nur kleinen) Problem:

Habe meinen MI3 (Controller: 3.1 ohne FF, BLE: 157, DRV: GD32F / 017, BMS: 1102 laut SHU, aber 1702 laut DownG) mit ST-Link gedowngradet mit Spoofing.
Danach wurde mir BLE 155 im SHU angezeigt und das Dashboard zeigte Error42.

Habe ihn dann über die Mi-App wieder auf BLE 157 setzen lassen.

Zweiter Anlauf ohne Spoofing und ich hatte laut SHU die BLE 152 und wieder Error 42.

Habe ihn jetzt vorsichtshalber wieder auf BLE157 gesetzt.

Kann ich diesen mit dem Flash auf DRV 003 wegbekommen, oder sollte ich nach dem ST-Link lieber eine andere BLE flashen?

Vielen Dank vorab
Flo

Hier noch der Code vom Miduflasher:

Code:
MIDUMAIN 03-06-2023_19-57-52 device=Dashboard  action=Downgrade   scooter=Mi3 chip=N51822x
MIDUMAIN working dir=C:\Users\flori\OneDrive\Desktop\Scooter\MiDu-Flasher_v1.0.5\Resource\
OCDINIT 03-06-2023_19-58-40
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.179302
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 03-06-2023_19-58-41 no Connection, errors=1 speed=1000
 
OCDINIT 03-06-2023_19-58-46
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.173092
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 03-06-2023_19-58-46 no Connection, errors=2 speed=1000
 
OCDINIT 03-06-2023_19-58-51
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.171540
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 03-06-2023_19-58-51 no Connection, errors=3 speed=1000
 
OCDINIT 03-06-2023_19-58-56
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168435
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 03-06-2023_19-58-56 no Connection, errors=4 speed=1000
 
OCDINIT 03-06-2023_19-59-01
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.169987
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 03-06-2023_19-59-01 no Connection, errors=5 speed=1000
 
OCDINIT 03-06-2023_19-59-06
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.169987
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 03-06-2023_19-59-07
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.173092
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.053015s (18.863 KiB/s)

OCDINIT 03-06-2023_19-59-08
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.174644
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 03-06-2023_19-59-08
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.176197
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.052796s (18.941 KiB/s)

OCDINIT 03-06-2023_19-59-08
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.179302
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDEXPDUMP 03-06-2023_19-59-08
OCDINIT 03-06-2023_19-59-22
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.180854
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDERASE 03-06-2023_19-59-22
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.180854
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
Info : Mass erase completed.
Info : A reset or power cycle is required if the flash was protected before.
OCDINIT 03-06-2023_19-59-23
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.180854
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
OCDWRITE 03-06-2023_19-59-23
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.180854
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 03-06-2023_19-59-33
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.176197
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 03-06-2023_19-59-34
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.176197
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x00028d10 .. 0x00028fff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 03-06-2023_19-59-39
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168435
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 03-06-2023_19-59-39
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.176197
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x0003b900 .. 0x0003bbff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 03-06-2023_19-59-40
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.174644
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 03-06-2023_19-59-40
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.179302
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 03-06-2023_19-59-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.174644
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 03-06-2023_19-59-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.176197
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-QFAC(build code: A0) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x10001020 .. 0x100013ff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDRESET 03-06-2023_19-59-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J34S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.173092
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Resource\MiDu-Flasher.bat 03-06-2023_19-59-43
 
Auf keinen Fall die DRV003 flashen, die ist nicht mehr zu deinem Controller-Chip kompatibel.

Google mal nach "xiaogen", da kannst du eine gepatchte BLE 252 runterladen, anschliessend normal flashen:

Screenshot_20230530_165421_Samsung Internet.webp
 
Bevor ich XiaoGen nutzen würde, würde ich einfach eine 1s BLE134 flashen.
Die zeigt nämlich keinen Fehler 42 und funktioniert genauso auf dem Mi3.
Dazu einfach in MiDu-Flasher sagen das man einen 1s downgraden möchte.
Oder danach per downg manuell eine BLE134 zip Datei des 1s flashen.
 
Absolut Top! Vielen Dank Euch!
Hab ihn jetzt als 1s gedowngradet und der Fehler ist weg.
Kann ich jetzt das GM in der SHU einstellen, oder gibts da Probleme?
Hätte im SHU für die DRV jetzt die 221, 225, 304 oder 319 zur Auswahl. Ursprübglich hatte ich ja die 016 angepeilt, aber ich hab ja jetzt nen 1s. 😊
 
Danach wurde mir BLE 155 im SHU angezeigt und das Dashboard zeigte Error42.

Habe ihn dann über die Mi-App wieder auf BLE 157 setzen lassen.

Zweiter Anlauf ohne Spoofing und ich hatte laut SHU die BLE 152 und wieder Error 42.
Das war bei mir auch so. Habe die BLE 134 geflasht und der Fehler war weg. Mein Roller wurde dann als 1s angezeigt das ist aber normal, das ist nur ein optischer Fehler. Wenn du möchtest das der Roller als Mi3 angezeigt wird und der Fehler 42 weg ist dann würde ich dir die BLE 152 von Xiaogen empfehlen wie Olli_69 es geschrieben hat. In diesem Thread kannst du ein bisschen was dazu lesen.
 
  • Hilfreich!
Reaktionen: Rockaflo
Das war bei mir auch so. Habe die BLE 134 geflasht und der Fehler war weg. Mein Roller wurde dann als 1s angezeigt das ist aber normal, das ist nur ein optischer Fehler. Wenn du möchtest das der Roller als Mi3 angezeigt wird und der Fehler 42 weg ist dann würde ich dir die BLE 152 von Xiaogen empfehlen wie Olli_69 es geschrieben hat. In diesem Thread kannst du ein bisschen was dazu lesen.
Korrekt, die letzten Fragesteller legten Wert darauf , dass die Kennung auf "Mi3" lautet, daher Xiaogen.

Absolut Top! Vielen Dank Euch!
Hab ihn jetzt als 1s gedowngradet und der Fehler ist weg.
Kann ich jetzt das GM in der SHU einstellen, oder gibts da Probleme?
Geht mit der DRV017 nicht mehr.

Hätte im SHU für die DRV jetzt die 221, 225, 304 oder 319 zur Auswahl. Ursprübglich hatte ich ja die 016 angepeilt, aber ich hab ja jetzt nen 1s. 😊
Bitte nur die DRV 319, da du den neuen Controller hast, dann geht auch GM. Alternativ eine VLT 319, dann hast du LTGM, um Welten besser.

PS: Die BMS bitte auf KEINEN FALL flashen, sonst brickst du das Ding 😅
 
Hallo zusammen,

Danke für die tolle Anleitung, Ich habe leider vor ein paar Monaten meinen Scooter auf die neueste Version geupdatet und daher auf die Downgrade Funkition zurückgegriffen.

Folgendes ist passiert:
- Beim Downgrade meinte MiDu dass ich keine bit-id habe und ich es mit dem flashen probieren soll.
- Das habe ich gleich getan
- Write Flash ist beendet und jetzt kann ich weder mich per bluetooth verbinden noch den Roller irgendwie bedienen, er ist gesperrt.
Was muss ich tun?
Reicht ein Stromlos setzen des Boards oder was ist hier schief gelaufen?

Danke schonmal für eure Hilfe.

MfG
Jonas
Code:
OCDINIT 05-06-2023_17-04-59
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 00000000 pc: 00000000 msp: 00000000
Error executing event reset-end on target nrf51.cpu:
embedded:startup.tcl:854: Error:
in procedure 'ocd_process_reset'
in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 854
Error: jtag status contains invalid mode value - communication failure
Polling target nrf51.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 100ms
OCDDUMP 05-06-2023_17-05-00
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDDUMP 05-06-2023_17-05-00 no Connection, errors=38 speed=100
 
OCDINIT 05-06-2023_17-05-06
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 05-06-2023_17-05-07
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.133551s (7.488 KiB/s)

OCDINIT 05-06-2023_17-05-07
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 05-06-2023_17-05-07
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.133316s (7.501 KiB/s)

OCDINIT 05-06-2023_17-05-08
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDEXPDUMP 05-06-2023_17-05-08
MIDUMAIN 05-06-2023_17-07-59 device=Dashboard  action=Write Flash scooter=Pro2 chip=N51822x
MIDUMAIN working dir=C:\Users\jonas\Downloads\MiDu-Flasher_v1.0.5\MiDu-Flasher_v1.0.5\Resource\
OCDINIT 05-06-2023_17-07-59
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-07-59 no Connection, errors=1 speed=1000
 
OCDINIT 05-06-2023_17-08-04
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-04 no Connection, errors=2 speed=1000
 
OCDINIT 05-06-2023_17-08-09
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-09 no Connection, errors=3 speed=1000
 
OCDINIT 05-06-2023_17-08-14
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-14 no Connection, errors=4 speed=1000
 
OCDINIT 05-06-2023_17-08-20
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-20 no Connection, errors=5 speed=1000
 
OCDINIT 05-06-2023_17-08-25
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDERASE 05-06-2023_17-08-25
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Mass erase completed.
Info : A reset or power cycle is required if the flash was protected before.
OCDINIT 05-06-2023_17-08-26
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
OCDWRITE 05-06-2023_17-08-26
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
Error: Failed to write to nrf5 flash
Error: error writing to flash at address 0x00000000 at offset 0x00001000
embedded:startup.tcl:1162: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 1227
at file "embedded:startup.tcl", line 1162
ERROR :OCDWRITE 05-06-2023_17-08-30 no Connection, errors=6 speed=400
 
OCDINIT 05-06-2023_17-08-36
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-36 no Connection, errors=7 speed=400
 
OCDINIT 05-06-2023_17-08-41
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-08-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
Error: jtag status contains invalid mode value - communication failure
Error: error waiting for target flash write algorithm
Error: Failed to enable read-only operation
Error: Failed to write to nrf5 flash
Error: error writing to flash at address 0x00000000 at offset 0x00001000
embedded:startup.tcl:1162: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 1227
at file "embedded:startup.tcl", line 1162
ERROR :OCDWRITE 05-06-2023_17-08-51 no Connection, errors=8 speed=400
 
OCDINIT 05-06-2023_17-08-56
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-08-56 no Connection, errors=9 speed=400
 
OCDINIT 05-06-2023_17-09-01
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-09-01 no Connection, errors=10 speed=400
 
OCDINIT 05-06-2023_17-09-06
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-09-07
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-06-2023_17-09-18
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-09-18
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x00028ab0 .. 0x00028bff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-06-2023_17-09-24
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-09-24
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-06-2023_17-09-26
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-09-26
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x10001020 .. 0x100013ff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDRESET 05-06-2023_17-09-26
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections

ERROR :OCDRESET 05-06-2023_17-09-26 no Connection, errors=11 speed=400
 
OCDRESET 05-06-2023_17-09-32
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Resource\MiDu-Flasher.bat 05-06-2023_17-09-32
MIDUMAIN 05-06-2023_17-12-27 device=Dashboard  action=Downgrade   scooter=Pro2 chip=N51822x
MIDUMAIN working dir=C:\Users\jonas\Downloads\MiDu-Flasher_v1.0.5\MiDu-Flasher_v1.0.5\Resource\
:MIDUSPOOF 05-06-2023_17-12-30
:MIDUSPOOF 05-06-2023_17-12-30 done, spoofed successfully "files\BLE\App\N51822x\Pro2\AppSpoofed.bin" to 157 at offset=0x3E44
OCDINIT 05-06-2023_17-13-05
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-05 no Connection, errors=1 speed=1000
 
OCDINIT 05-06-2023_17-13-10
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-10 no Connection, errors=2 speed=1000
 
OCDINIT 05-06-2023_17-13-15
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-15 no Connection, errors=3 speed=1000
 
OCDINIT 05-06-2023_17-13-20
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-20 no Connection, errors=4 speed=1000
 
OCDINIT 05-06-2023_17-13-25
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-25 no Connection, errors=5 speed=1000
 
OCDINIT 05-06-2023_17-13-30
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-30 no Connection, errors=6 speed=400
 
OCDINIT 05-06-2023_17-13-35
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-13-36 no Connection, errors=7 speed=400
 
OCDINIT 05-06-2023_17-13-41
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 05-06-2023_17-13-41
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.055041s (18.168 KiB/s)

OCDINIT 05-06-2023_17-13-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 05-06-2023_17-13-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 1024 bytes in 0.054140s (18.471 KiB/s)

OCDINIT 05-06-2023_17-13-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDDUMP 05-06-2023_17-13-42
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
dumped 256 bytes in 0.014948s (16.725 KiB/s)

MIDUMAIN 05-06-2023_17-14-20 device=Dashboard  action=Write Flash scooter=Pro2 chip=N51822x
MIDUMAIN working dir=C:\Users\jonas\Downloads\MiDu-Flasher_v1.0.5\MiDu-Flasher_v1.0.5\Resource\
OCDINIT 05-06-2023_17-14-20
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-20 no Connection, errors=1 speed=1000
 
OCDINIT 05-06-2023_17-14-25
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-25 no Connection, errors=2 speed=1000
 
OCDINIT 05-06-2023_17-14-30
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-31 no Connection, errors=3 speed=1000
 
OCDINIT 05-06-2023_17-14-36
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-36 no Connection, errors=4 speed=1000
 
OCDINIT 05-06-2023_17-14-41
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-41 no Connection, errors=5 speed=1000
 
OCDINIT 05-06-2023_17-14-46
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-46 no Connection, errors=6 speed=400
 
OCDINIT 05-06-2023_17-14-51
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 05-06-2023_17-14-51 no Connection, errors=7 speed=400
 
OCDINIT 05-06-2023_17-14-56
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDERASE 05-06-2023_17-14-57
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Mass erase completed.
Info : A reset or power cycle is required if the flash was protected before.
OCDINIT 05-06-2023_17-14-57
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
OCDWRITE 05-06-2023_17-14-57
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
Error: Error waiting NVMC_READY: generic flash write/erase error (check protection etc...)
Error: Failed to erase reg: 0x4001e508 val: 0x00001800
Error: Error erasing sector 6
Error: failed erasing sectors 4 to 107
embedded:startup.tcl:1162: Error: ** Programming Failed **
in procedure 'program'
in procedure 'program_error' called at file "embedded:startup.tcl", line 1227
at file "embedded:startup.tcl", line 1162
ERROR :OCDWRITE 05-06-2023_17-14-58 no Connection, errors=8 speed=400
 
OCDINIT 05-06-2023_17-15-03
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-06-2023_17-15-04
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.269820
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Info : Flash write discontinued at 0x000007c0, next section at 0x00001000
Warn : Adding extra erase range, 0x000007c0 .. 0x000007ff
Warn : Adding extra erase range, 0x0001afe0 .. 0x0001afff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-06-2023_17-15-15
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
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
Info : clock speed 400 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.268221
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
 
Zuletzt bearbeitet: