Hello!
We purchased a few kits last year for use with our college classroom. They worked great last semester! During class today, a student ran some code and the robot suddenly stopped working. I’ve tried a few methods posted on this forum (including the universal flash nuke here), and nothing seems to fix it completely. There are no bent pins and the two red lights turn on (it’s a Beta version). The computer (mac) recognizes the external drive, but the XRP Code editor does not connect via USB or bluetooth. Occasionally we can see the robot when trying to connect via bluetooth, but the CodeEditor can’t connect. Here’s a picture of what we’re seeing. Any suggestions? Thank you!
When micropython is running you shouldn’t see the drive. If the drive is showing it is because there is no microcode loaded. Like after a nuke or the bootsel button is being pressed as the XRP is booting up. After a nuke you need to load the correct micropython uf2 file by copying it to the drive.
https://micropython.org/download/SPARKFUN_XRP_CONTROLLER_BETA/
That’s good to know! We did follow the instructions and loaded the latest micropython uf2 to the drive after using the nuke option. You are correct, we couldn’t see the drive once we did that, but we also still couldn’t connect via the code editor.
@ssward I recently ran into one board that had similar behavior. On the one that i saw, the user was trying to poll the IMU, i believe it was, and the board stopped connecting for them. I believe the issue was that the board was stuck in a loop of that code and couldn’t get it to break it. To fix it we ended up connecting it to another computer and was able to get it connected to XRPCode. Once connected we flashed a blank new project to it to break it out of the loop, and i don’t believe they have had issues since. We plugged it into the new computer via USB and it took a couple attempts to get connected to it. I even believe we reflashed it with updated micropython before it finally reconnected.