CityHub in bad state #651
-
|
My CityHub seems to be in a bad state. Earlier I wanted to flash pybricks on it using Pybricks Code, together with a custom program and a custom name. However, this time the light did not turn on again and I got an error in pybricks code.: After that, I could not press any buttons to get a LED reaction (long press also doesn't seem to turn it off). After reinserting the batteries the hub turns on when pressing the button and did go into boot loader mode when long pressing ("colorful blinking"). I tried a few times in pybricks code as well as the PoweredUp app to flash some firmware again (also using Is there a way to somehow "factory reset" the hub? Otherwise It seems like the hub is unrecoverable. The output from when I tried to update the firmware in powershell (when I managed to get into "colorful" state): Interestingly, now that I think about it I don't think I could successfully flash the firmware using pybricks code since at least some weeks. I always had to resort to the command line to flash pybricks. In pybricks code, after connecting to the bootlader, the LED usually does turn off and on again, but pybricks code reports an error and does not flash the firmware. This usually doesn't leave the hub in a bad state. I only used pybricks code in MS Edge these past few weeks. I just tried again in Google Chrome using a different cityhub (I can flash it in the command line), and I still have the same problem: This should probably be a sperate issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Is there a sensor or motor plugged into port A by any chance? There’s a bug in the bootloader that prevents the update from starting if a UART device is plugged in. When you hit this, the light turns off but the hub is still on. So, remove the sensor, remove the batteries, and then try again. |
Beta Was this translation helpful? Give feedback.
Is there a sensor or motor plugged into port A by any chance?
There’s a bug in the bootloader that prevents the update from starting if a UART device is plugged in.
When you hit this, the light turns off but the hub is still on. So, remove the sensor, remove the batteries, and then try again.