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


Ein ST-LINK Flash ist immer die letzte Instanz.
Es ist wesentlich riskanter und man muss bei dieser Variante mit dem Stecker an die Kontakte.
Die Kontakte machen das nicht unendlich lange mit.
Wenn die erstmal durch sind, wird es um einiges schwieriger.

Es ist ja auch nicht nötig.
Sollte MiDu-Flasher erfolgreich gewesen sein, kann man ja easy über Bluetooth Flashen. 🤷‍♂️
 
  • Hilfreich!
Reaktionen: Olli_69
VooDooShamane VooDooShamane Ich hoffe es ist richtig so ;)

Code:
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 05-07-2022_17-56-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 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.136434
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-07-2022_17-56-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 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.141085
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, 0x00028ab4 .. 0x00028bff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-07-2022_17-56-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 V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.139535
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-07-2022_17-56-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 V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.136434
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 05-07-2022_17-56-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 V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.141085
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-07-2022_17-56-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 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.136434
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
** Programming Finished **
** Verify Started **
** Verified OK **
OCDINIT 05-07-2022_17-56-46
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.141085
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
OCDWRITE 05-07-2022_17-56-46
Open On-Chip Debugger 0.11.0+dev-00626-g92c4e634d (2022-03-19-11:44)
Licensed under GNU GPL v2
For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Info : clock speed 100 kHz
Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.134884
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0x000006d0 msp: 0x000007c0
** Programming Started **
Info : nRF51822-xxxx(build code: xx) 256kB Flash, 32kB RAM
Warn : Adding extra erase range, 0x10001020 .. 0x100013ff
** Programming Finished **
** Verify Started **
** Verified OK **
OCDRESET 05-07-2022_17-56-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 V2J37S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.137984
Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected
Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints
Info : starting gdb server for nrf51.cpu on 3333
Info : Listening on port 3333 for gdb connections
Resource\MiDu-Flasher.bat 05-07-2022_17-56-49
 
S Stoni
Danke für dein Verständnis.
Es ist ja so das ihr hilfe benötigt, da kann man es ja versuchen dem helfenden es so einfach wie möglich zu gestalten.👍

Also, deine log Datei ist nicht vollständig.
Es scheint mir nur der Schluss drin zu sein.
Aber unten steht:
OCDRESET 05-07-2022_17-56-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 Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'. Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Info : clock speed 100 kHz Info : STLINK V2J37S7 (API v2) VID:PID 0483:3748 Info : Target voltage: 3.137984 Info : [nrf51.cpu] Cortex-M0 r0p0 processor detected Info : [nrf51.cpu] target has 4 breakpoints, 2 watchpoints Info : starting gdb server for nrf51.cpu on 3333 Info : Listening on port 3333 for gdb connections Resource\MiDu-Flasher.bat 05-07-2022_17-56-49
Das bedeutet MiDu-Flasher ist bis zum Ende (dem reset) durch gelaufen.
Also ist der Downgrade erfolgreich gewesen.

Das bedeutet wiederum für dich:
Du hast nun eine BLE134 auf dem Dashboard und kannst nun via Bluetooth flashen.
Sowohl BLE, als auch DRV Firmwares.
Mit spoof = flashen mit downg oder SHU 2.0.3
Ohne Spoof = flashen mit neuster SHU oder downg.
 
VooDooShamane VooDooShamane hab eigentlich alles heraus Kopiert brauchst du den Anfang den Trotzdem nochmal?
muss ich dann beim flashen mit down g irgendwas beachten? weil genau das scheint ja nicht zu funktionieren.
oder soll ich es einfach nochmal mit SHU 2.0.3 versuchen?
 
VooDooShamane VooDooShamane hab eigentlich alles heraus Kopiert brauchst du den Anfang den Trotzdem nochmal?
muss ich dann beim flashen mit down g irgendwas beachten? weil genau das scheint ja nicht zu funktionieren.
oder soll ich es einfach nochmal mit SHU 2.0.3 versuchen?
IMG_20220706_101207.jpg

Wie voodoo ja schon schreibt es sollte alles geklappt haben du hast ihm genung Infos gegeben um dir genaue Aussage zu treffen downG oder shu.

Wenn downG nicht geht warum auch immer dann mal mit shu versuchen.

Kannst du dich mit den Apps verbinden?bzw. Mit downG?
 
muss ich dann beim flashen mit down g irgendwas beachten? weil genau das scheint ja nicht zu funktionieren
Nein, eigentlich nicht.
Downg ist manchmal etwas eigen.
SHU 2.0.3 funktioniert meiner Meinung nach zuverlässiger.
 
  • Hilfreich!
Reaktionen: Olli_69