-
Hi, just saw this repo and wanted to ask here since you guys seem to know how this hub works. My son has a Mindstorms 51515 Robot Inventor Hub (same as Spike hub I guess?) and a few days ago he told me when he was updating the firmware from the official Mindstorms Inventor app it was suddenly interrupted and there was an error. After that the hub was not able to boot. I tried with USB and the power light came up and I could use pybricks (https://dfu.pybricks.com/) to flash the original 51515 firmware. The page displayed hub is "Rebooting" and after that absolute dead hub. No matter what sequence of recovery buttons I press, or how long I press, or if I connect the USB cable, remove the battery, insert back the battery, charge for a few hours... I tried all the troubleshooting. There's no light at all. No signs of life. Did anybody here had the same experience? Do you see a chance of recovery? Any particular thing I should try? Thanks! Appreciate all the work! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 13 replies
-
If you remove the battery, replace the battery, press and hold the Bluetooth button and the connect the USB cable to the hub and to a computer while still holding the Bluetooth button, does the Bluetooth light start to change colors? Just like in this video: pybricks/support#728 (comment) |
Beta Was this translation helpful? Give feedback.
-
@dlech thanks! Actually seems like I can still perform the DFU flash using the BT button and USB cable. So there's still some life in the hub. However, I tried several times and actually multiple firmware versions from this repo, and the hub goes dead after the flash of a backup firmware. It looks like it doesn't even boot. No lights etc (replaced the battery etc...) and it can't connect to Mindsphere app using USB. However, the strange thing is I tried to install the PyBricks Beta firmware (https://beta.pybricks.com/) and the hub seems to work fine with that! I even tried a small program to control some motors or read sensors etc. It just works with PyBricks firmware, but no luck with official firmware. Any guess on this? |
Beta Was this translation helpful? Give feedback.
-
I finally managed to fix the hub! Thanks @dlech for your support. Pybricks has so much potential and all the tooling around it is amazing. Also thanks @gpdaniels for this repo, these backup images helped me a lot for this recovery. Let me document in detail what happened, so if anybody goes through similar issues, maybe it helps. As I have written before, no matter how many times I flashed original backup firmware images using DFU, the hub was never booting up and never able to connect to Spike or Robot Inventor apps. Also rshell wasn't connecting... However, at some point I tried the following sequence (after flashing firmware spike - v1.3.00.0000-e8c274a from this repo);
After that Spike app and Robot Inventor app started recognizing the hub. To be honest, I tried the firmware spike - v1.3.00.0000-e8c274a before, but since I never tried the above sequence with the "Left button" I was never able to connect from any app. So after this stage, I performed the update provided by Spike app and the hub was then able to properly boot and connect to Spike Hub. But, I tried to run a small program and it complained "No Space Left on Hub"! Then I tried, to reset the hub from Spike. After reset, the hub asked once again for an update, however as a result nothing changed. Still had "No space left on hub". Finally, I switched to Robot Inventor app (first flashed the firmware image recommended in https://dfu.pybricks.com/), then connected with Robot Inventor app (this time I didn't need the "Left" button sequence). Performed the provided update from Robot Inventor app. But once again, when I tried to run a simple program: "No Space Left on Hub"!!! Final thing that solved it for good. Perform Hub reset from Robot Inventor app. It performed the reset, asked for an update and voila! Now the hub seems to be back to normal and able to run programs from Robot Inventor app. The hub is originally a Robot Inventor hub, so I guess the reset from Robot Inventor app could properly cleanup the storage, but Spike was not able to... Anyways, that's it. 😌 |
Beta Was this translation helpful? Give feedback.
I finally managed to fix the hub! Thanks @dlech for your support. Pybricks has so much potential and all the tooling around it is amazing. Also thanks @gpdaniels for this repo, these backup images helped me a lot for this recovery.
Let me document in detail what happened, so if anybody goes through similar issues, maybe it helps.
As I have written before, no matter how many times I flashed original backup firmware images using DFU, the hub was never booting up and never able to connect to Spike or Robot Inventor apps. Also rshell wasn't connecting...
However, at some point I tried the following sequence (after flashing firmware spike - v1.3.00.0000-e8c274a from this repo);