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

Antiviren Programm deaktiviert?
Danke, hab's hinbekommen, lag glaub daran das die Ordner nicht richtig entpackt waren.
Jetzt ist nur noch die Frage wo ich die 5v Leitung dran packen soll, am liebsten wäre mir eine Steckverbindung, entweder am 4 poligen Stecker in der lenkstange oder an einem +/- pol von den vielen Kabeln🤔

Kann ich das so machen wie auf dem Bild?😊
 

Anhänge

  • 16670806437602086026510515032918.webp
    16670806437602086026510515032918.webp
    80,7 KB · Aufrufe: 80
Zuletzt bearbeitet:
Ich verstehe nicht was hier das Problem ist?
Was muss ich tun, hat es geklappt oder nicht?🤔😂
Hab danach "write flash" gemacht und es kam done und Dashboard hat beep gemacht, bin ich jetzt fertig?
Möchte die Verlötung ungern nochmal machen😂
 

Anhänge

  • IMG_20221030_012501.webp
    IMG_20221030_012501.webp
    107,1 KB · Aufrufe: 91
Hab danach "write flash" gemacht und es kam done und Dashboard hat beep gemacht, bin ich jetzt fertig?
Was soll uns dann dieser Screenshot bringen, wenn es nicht das Endresultat ist?

Was ist hiermit, wo ist deine log Datei?
Eines noch vorab:
Solltet ihr an einer Stelle Hilfe benötigen und ihr bittet in diesem Thread um Hilfe,
dann muss zu eurem Post der Inhalt der MiDu.log Datei (Resource Ordner) in einem solchen Code SPOILER gepostet werden!
code_spioler_rp-png.19047

Code:
MiDu.log Inhalt hier rein
Bitte versucht auch euer Vorgehen und das Fehlerbild so detailliert wie es nur geht zu beschreiben.
Am besten auch mit Bildern.
 
  • Hilfreich!
Reaktionen: Sa76
Hallo zusammen,
Ich habe mich auch an dem Downgrade versucht und zunächst hat auch alles geklappt, Downgrade war abgeschlossen und ich konnte neue Firmware per DownG draufpacken. Aber ich konnte den Roller nicht mehr ausschalten. Immer wenn ich ihn ausgemacht habe, ist er nach so 2 bis 3 Sekunden einfach wieder angegangen. Habe den Reset (Gas, Bremse und Knopf halten) ausprobiert, wurde auch am Display quittiert, Problem bestand weiter. Habe den Roller aufgemacht und den Akku ausgesteckt, einige Minuten gewartet und wieder eingesteckt, Problem immernoch da. Per SHU bekam ich keine Verindung mehr, also habe ich mit DownG eine nicht gespoofte Vanilla Firmware drauf gemacht und dachteich fange einfach nochmal von vorne an. Per Xiaomi App auf aktuellste Software, neues Downgrade mit MiDu flasher etc.
Aber dann ging es weiter bergab: Das Downgrade konnte im MiDu flasher nicht abgeschlossen werden, es kam immer nur "connected" und dann direct wieder "Error, trying again in 5 seconds. Unten ist der Inhalt der log-Datei. Akteull sind im Display alle lichter an und es lässt sich nichts bedienen oder verbinden. Habe ich jetzt einen Backstein?

Code:
MIDUMAIN 28-10-2022_16-24-04 device=Dashboard  action=Downgrade   scooter=Pro2 chip=N51822x
MIDUMAIN working dir=C:\Users\nils-\OneDrive\Desktop\MiDu-Flasher_v1.0.5\Resource\
:MIDUDOWN 28-10-2022_16-24-13 "https://files.scooterhacking.org/firmware/pro2/BLE/BLE134.bin" "files\BLE\App\N51822x\Pro2\App.bin"
:MIDUDOWN 28-10-2022_16-24-41 "https://github.com/CamiAlfa/stlink_m365_BLE/raw/master/flashing/bootldr.bin" "files\BLE\Bootloader\Bootloader_1s_Pro2_Mi3.bin"
:MIDUSPOOF 28-10-2022_16-27-13
:MIDUSPOOF 28-10-2022_16-27-13 done, spoofed successfully "files\BLE\App\N51822x\Pro2\AppSpoofed.bin" to 157 at offset=0x3E44
OCDINIT 28-10-2022_16-35-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.158220
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 28-10-2022_16-35-22 no Connection, errors=1 speed=1000
 
OCDINIT 28-10-2022_16-35-27
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.164410
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 28-10-2022_16-35-28 no Connection, errors=2 speed=1000
 
OCDINIT 28-10-2022_16-35-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 1000 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 28-10-2022_16-35-33 no Connection, errors=3 speed=1000
 
OCDINIT 28-10-2022_16-35-38
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.164410
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 28-10-2022_16-35-38 no Connection, errors=4 speed=1000
 
OCDINIT 28-10-2022_16-35-43
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.164410
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 28-10-2022_16-35-43 no Connection, errors=5 speed=1000
 
OCDINIT 28-10-2022_16-35-48
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.164410
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 28-10-2022_16-35-49
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.162863
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.053870s (18.563 KiB/s)

OCDINIT 28-10-2022_16-35-50
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-35-50
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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.053363s (18.740 KiB/s)

OCDINIT 28-10-2022_16-35-50
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-35-50
OCDINIT 28-10-2022_16-36-11
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.161315
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 28-10-2022_16-36-11
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-11
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.161315
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 28-10-2022_16-36-12
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.161315
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
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 28-10-2022_16-36-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.162863
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 28-10-2022_16-36-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-28
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-29
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.162863
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, 0x0003b900 .. 0x0003bbff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 28-10-2022_16-36-29
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-29
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.161315
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 28-10-2022_16-36-31
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-31
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.164410
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 28-10-2022_16-36-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.162863
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 28-10-2022_16-36-33
MIDUMAIN 31-10-2022_10-30-19 device=Dashboard  action=Downgrade   scooter=Pro2 chip=N51822x
MIDUMAIN working dir=C:\Users\nils-\OneDrive\Desktop\MiDu-Flasher_v1.0.5\Resource\
OCDINIT 31-10-2022_10-31-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.157650
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-31-45 no Connection, errors=1 speed=1000
 
OCDINIT 31-10-2022_10-31-52
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-31-52 no Connection, errors=2 speed=1000
 
OCDINIT 31-10-2022_10-31-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 1000 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-31-58 no Connection, errors=3 speed=1000
 
OCDINIT 31-10-2022_10-32-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 1000 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-03 no Connection, errors=4 speed=1000
 
OCDINIT 31-10-2022_10-32-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 1000 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-08 no Connection, errors=5 speed=1000
 
OCDINIT 31-10-2022_10-32-13
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-32-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 400 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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.052325s (19.111 KiB/s)

OCDINIT 31-10-2022_10-32-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-32-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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.053140s (18.818 KiB/s)

OCDINIT 31-10-2022_10-32-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-32-16
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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.013947s (17.925 KiB/s)

OCDINIT 31-10-2022_10-32-16
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-32-16
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDERASE 31-10-2022_10-32-16 no Connection, errors=6 speed=400
 
OCDINIT 31-10-2022_10-32-21
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-21 no Connection, errors=7 speed=400
 
OCDINIT 31-10-2022_10-32-27
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-27 no Connection, errors=8 speed=400
 
OCDINIT 31-10-2022_10-32-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-32 no Connection, errors=9 speed=400
 
OCDINIT 31-10-2022_10-32-37
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-37 no Connection, errors=10 speed=400
 
OCDINIT 31-10-2022_10-32-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-42 no Connection, errors=11 speed=400
 
OCDINIT 31-10-2022_10-32-48
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-48 no Connection, errors=12 speed=400
 
OCDINIT 31-10-2022_10-32-53
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-53 no Connection, errors=13 speed=400
 
OCDINIT 31-10-2022_10-32-58
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-32-58 no Connection, errors=14 speed=400
 
OCDINIT 31-10-2022_10-33-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-04 no Connection, errors=15 speed=400
 
OCDINIT 31-10-2022_10-33-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 400 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-10 no Connection, errors=16 speed=400
 
OCDINIT 31-10-2022_10-33-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-15 no Connection, errors=17 speed=400
 
OCDINIT 31-10-2022_10-33-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 400 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-20 no Connection, errors=18 speed=400
 
OCDINIT 31-10-2022_10-33-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-26 no Connection, errors=19 speed=400
 
OCDINIT 31-10-2022_10-33-31
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-31 no Connection, errors=20 speed=400
 
OCDINIT 31-10-2022_10-33-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
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
OCDRESET 31-10-2022_10-33-37
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
OCDINIT 31-10-2022_10-33-38
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-33-38
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-33-39 no Connection, errors=21 speed=100
 
OCDINIT 31-10-2022_10-33-44
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-33-45
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-33-46 no Connection, errors=22 speed=100
 
OCDINIT 31-10-2022_10-33-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-33-52
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-33-53 no Connection, errors=23 speed=100
 
OCDINIT 31-10-2022_10-33-58
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-33-58 no Connection, errors=24 speed=100
 
OCDINIT 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-34-03 no Connection, errors=25 speed=100
 
OCDINIT 31-10-2022_10-34-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-34-10 no Connection, errors=26 speed=100
 
OCDINIT 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
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 31-10-2022_10-34-17
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-34-17 no Connection, errors=27 speed=100
 
OCDINIT 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-34-23 no Connection, errors=28 speed=100
 
OCDINIT 31-10-2022_10-34-28
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-34-28 no Connection, errors=29 speed=100
 
OCDINIT 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-34-33 no Connection, errors=30 speed=100
 
OCDINIT 31-10-2022_10-34-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-34-39 no Connection, errors=31 speed=100
 
OCDINIT 31-10-2022_10-35-19
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-35-20 no Connection, errors=32 speed=100
 
OCDINIT 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-35-27 no Connection, errors=33 speed=100
 
OCDINIT 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-35-34 no Connection, errors=34 speed=100
 
OCDINIT 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-35-39 no Connection, errors=35 speed=100
 
OCDINIT 31-10-2022_10-35-44
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-35-45
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-35-46 no Connection, errors=36 speed=100
 
OCDINIT 31-10-2022_10-35-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-35-52
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-35-53 no Connection, errors=37 speed=100
 
OCDINIT 31-10-2022_10-35-58
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-35-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-00 no Connection, errors=38 speed=100
 
OCDINIT 31-10-2022_10-36-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-36-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-08 no Connection, errors=39 speed=100
 
OCDINIT 31-10-2022_10-36-13
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-15 no Connection, errors=40 speed=100
 
OCDINIT 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-22 no Connection, errors=41 speed=100
 
OCDINIT 31-10-2022_10-36-27
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
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 31-10-2022_10-36-28
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-29 no Connection, errors=42 speed=100
 
OCDINIT 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-36 no Connection, errors=43 speed=100
 
OCDINIT 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-43 no Connection, errors=44 speed=100
 
OCDINIT 31-10-2022_10-36-48
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
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 31-10-2022_10-36-49
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-50 no Connection, errors=45 speed=100
 
OCDINIT 31-10-2022_10-36-55
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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 31-10-2022_10-36-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
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
Error: Flash sector 0 is protected
Error: failed erasing sectors 0 to 1
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 31-10-2022_10-36-57 no Connection, errors=46 speed=100
 
OCDINIT 31-10-2022_10-37-02
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-37-02 no Connection, errors=47 speed=100
 
OCDINIT 31-10-2022_10-37-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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.166946
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-37-08 no Connection, errors=48 speed=100
 
OCDINIT 31-10-2022_10-37-13
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 V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-37-13 no Connection, errors=49 speed=100
 
OCDINIT 31-10-2022_10-37-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.165397
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-37-19 no Connection, errors=50 speed=100
 
OCDINIT 31-10-2022_10-37-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 100 kHz
Info : STLINK V2J29S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.168496
Error: init mode failed (unable to connect to the target)


ERROR :OCDINIT 31-10-2022_10-37-24 no Connection, errors=51 speed=100
 
Willkommen im RollerPlausch R Rennschaf

Das Downgrade konnte im MiDu flasher nicht abgeschlossen werden, es kam immer nur "connected" und dann direct wieder "Error, trying again in 5 seconds.
Das bedeutet die Verbindung zwischen ST-Link und Dashboard ist nicht stabil genug.
Schau das du für bessere Konnektivität sorgst und dann nutze die "write flash" Funktion von MiDu-Flasher um das Dashboard zu retten.
Alternativ kannst du mir das Dashboard auch schicken, und ich erledige das für dich.

Aber ich konnte den Roller nicht mehr ausschalten. Immer wenn ich ihn ausgemacht habe, ist er nach so 2 bis 3 Sekunden einfach wieder angegangen.
Das bedeutet du hast einen v3.1 Controller und dort eine alte inkompatible Firmware drauf geflasht.
Lies dich hier ein:

Alternativ könnte ich dir den controller auch modifizieren, das du dort jede (auch alte) Xiaomi DRV Firmware drauf flashen kannst.
 
Zuletzt bearbeitet:
  • Hilfreich!
Reaktionen: Gerhard und Rennschaf
Ich habe nochmal ne Frage. Nachdem ich den downgrade ble auf 1.3.4 via stlink gemacht habe.wenn ich dev 236 installiere um den Roller wieder original zu machen. Muss ich die Bleibe Upgraden oder läuft die mit dem drv?
 
DRV und BLE sind unabhängig voneinander.
Zumal die DRV236 sogar mit der BLE134 im original Xiaomi Home App Update zusammen kam.
Diese Kombination ist also komplett unbedenklich.
Aber selbst mit einer DRV247 und BLE134 funktioniert alles wunderbar.
 
  • Hilfreich!
Reaktionen: AbiDez
Hab zwar auch dem profi PN gesendet aber würde hier nochmal schreiben, da evtl der eine oder andere die gleiche erfahrung gemacht hat.
Undzwar folgende Situation:
Ich würde evtl an einen gebrauchten 1s kommen, dieser hat der Verkäufer seit März und er wurde auch nicht geflasht aber mit sehr hohen Wahrscheinlichkeit in der mi App ins neueste Update gebracht.
Wie soll ich bei diesem Roller nun vorgehen wenn ich flashen möchte?
Könnte ich sofort auch mit der Vanilla flashen oder geht überhaupt garnichts?
Wäre für eine kostengünstige Lösung sehr dankbar.
 
Hab zwar auch dem profi PN gesendet aber würde hier nochmal schreiben, da evtl der eine oder andere die gleiche erfahrung gemacht hat.
Undzwar folgende Situation:
Ich würde evtl an einen gebrauchten 1s kommen, dieser hat der Verkäufer seit März und er wurde auch nicht geflasht aber mit sehr hohen Wahrscheinlichkeit in der mi App ins neueste Update gebracht.
Wie soll ich bei diesem Roller nun vorgehen wenn ich flashen möchte?
Könnte ich sofort auch mit der Vanilla flashen oder geht überhaupt garnichts?
Wäre für eine kostengünstige Lösung sehr dankbar.
Wenn er das neueste Update hat, geht es für dich hier weiter:


Wenn nicht, kannst Du alles machen/flashen
 
  • Hilfreich!
Reaktionen: Chinaroller