Needing help with debricking blue Electribe #305
-
Hey there, Some time ago I decided to install hacktribe on my E2... Long story short, I didn't pay attention to using the right patch and accidentally used the patch for the sampler. I'm a total newbie when it comes to RPi, OpenOCD or debugging in general but i really want to get my E2 working again. I consider myself clever enough to be able to do achieve this by following the Debrick Guide. (I know that the fact that I wasn't aware of the different patches, isn't really underlining this point... anyway...) The first issue to come to my attention was that on the blue Electribe there is no unpopulated pin header (J4). Therefore I couldn't modify the power switch. Secondly, the openocd.cfg config file should be updated.
This obviously isn't a big issue but certainly something to be aware of. I prepared my SD CARD and got the Firmware Binary as I was supposed to.
I don't know what any of that means. But what I know is that OpenOCD doesn't open up the ports, it's supposed to. Therefore I cannot connect to the telnet server (which would be the next step after running OpenOCD). Any bit of help would be appreciated. I'm hoping to get my E2 fixed (soon but we'll see how long it'll take). Thanks, scoop. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The patch is the same, only the file header changes. If the header is wrong, the device should refuse to install. How did you make it? Can you email me the file you installed? It won't help you debrick, but it can help identify errors in the tools and documentation.
That's interesting, it's not on the red one either. You will be able to dump the bootloader without modifying the power switch, but completing the whole process manually holding the power button while typing will be error prone. There should be other points for connecting the switch, I'm not sure if J4 is connected directly across the power button, I will check.
You're right that this shouldn't cause an issue, but if you open a PR I'll merge it once I've tested.
The openocd log shows it connects correctly to the CPU, which has halted at address 0xc0000138. It is listening for GDB connections on port 3333, but you're right that it doesn't appear to be listening on port 4444 for telnet connections. I don't have everything set up right now, but I will try to debug this over the next few days. Some guesses: Have you edited the config file at all? Are you connecting to the telnet server from the same host it is running on? Are you using a firewall? Do you have anything else listening on 4444? While openocd is still running, run in another terminal I would have thought it would print an error message if it tried to bind the port and failed. Openocd should start a telnet server on 4444 unless told otherwise: https://openocd.org/doc/html/Server-Configuration.html See section 7.3 TCP/IP Ports EDIT: You can run openocd with Also try running both openocd and telnet with root privileges to check if it is a permission issue. EDIT 2: If you really can't get telnet working, you should be able to use the GDB server instead, either using it to issue commands to openocd, or using gdb to set breakpoints and write memory. From the GDB prompt run Then prefix openocd commands with
|
Beta Was this translation helpful? Give feedback.
You should be able to solder the switch across the pins of the power button. I haven't actually tested this, but it would be the same as holding the button down, so I can't see any issues.
Your log files show that OpenOCD connects to the processor correctly, so your config file must be correct. OpenOCD should start the telnet server automatically, but the log file shows it does not. It also shows that the GDB server is started, but for some reason you can't connect to it.
My first thought is that this is a permissions issue with your user account. You can check this by prefixing all the commands with
sudo
to run them with root permissions. If it works withs…