Debricking issue - Halted in Arm state due to De-Bug request #216
-
Hello all and Bangcorrupt, Thank you for putting this hack out there. I'm eager to De-Brick my beloved electribe and try to install the hack from scratch. However, I am stuck in unfamiliar territory to me and looking for some guidance. My brick allowed my device to power on with a white, blank screen but nothing further. OpenOCD reads the following aftering showing the device is connected and all details: target halted in ARM state due to debug-request, current mode: Abort
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 12 replies
-
Hi, I can probably help you fix this if you can answer some questions. Was it bricked using the built in firmware update function? Did you power up the electribe, let it crash and then run openocd? Have you dumped the secondary bootloader? The program counter ( Also, when you ran the |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, You only need the rpi. As long as the dupont wires make a sound electrical connection, what you have in the photo looks fine. The config file in the repo is outdated, I'll update it. Open a PR if you want to. If files are not in the current working directory they will need to be referenced with their path. For debricking, SYSTEM.VSB should be the factory firmware for the device, in your case synth. The I realise now there is an important step missing from the wiki, we need a toggle switch for power. When the device powers up, the power only stays on once the firmware app is running. This may happen when it crashes, but won't happen when it starts up with a debugger attached. Connect a switch across J4, the unpopulated 2 pin header shown near the top right of this photo, to the right of C202 and C137. The motherboard will need removing to reach it, but if you put the switch on some long thin wires you can replace the motherboard after. Each time the device is powered up while debricking, use the toggle switch instead of the power button. This will keep the power supply active. Once the firmware app starts booting, turn the toggle switch off or it will shutdown as soon as it has booted, thinking the power switch is held. |
Beta Was this translation helpful? Give feedback.
-
Totally fascinating. I'm able to get the Texas Instruments info to show up after reseating the cables (but the subtlest movement breaks the connection and I get the hitachi error after running the openocd command again). No Toggle switch wired up yet but will get that in today. Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Work has been hell.... When running the openocd command, I get a terminal read out I have yet to see. Where have I gone wrong this time? |
Beta Was this translation helpful? Give feedback.
Hi, I can probably help you fix this if you can answer some questions.
Was it bricked using the built in firmware update function?
Did you power up the electribe, let it crash and then run openocd?
Have you dumped the secondary bootloader?
The program counter (
pc
) starts 0xc (not 0x8), showing execution has moved to the app in external RAM. We need to halt the processor at 0xc0000000 and load the good firmware before handing off to the corrupt app. To do this, we halt in the ROM bootloader, load the secondary bootloader, set a breakpoint, then run the secondary bootloader. If you're following the Debrick Guide, it looks like you skipped a couple of steps. I think you need to continue from G…