One of my students was trying to setup an XRP.
He got to the WIFI setup step, but can’t connect his laptop’s wifi to the device. (using the password in the setup document) Has anyone seen something like this?
I have heard this a couple of times. I usually have them check to see if they can connect to the XRP with another device like a phone. If it connects then you know at least that everything is setup correctly. I would try reseting the XRP again and trying again with the laptop. @ZeeQueue do you have any other thoughts?
Hmm yeah if connecting from a different device doesn’t work, you can do a fresh install by first using the flash_nuke image (https://www.raspberrypi.com/documentation/microcontrollers/raspberry-pi-pico.html#resetting-flash-memory) to reset the flash memory, and then reinstalling the WPILib-XRP UF2 file.
Hi,
I am trying to connect to an XRP wirelessly but it is not showing up in my list of available devices to connect to. I have tried to “nuke” whatever was on the pico using the instructions from ZeeQueue but that does not seem to do the trick. Suggestions on other things I can try?
Quick update. I installed the WPILib onto the XRP and it showed up on my list of available wifi devices to connect to. I then went to the XRP Code Editor and as expected it told me that the device needed to be updated with Micro Python etc. I did that, the XRP showed up on my list of wifi devices but when I clicked to connect, it failed to connect saying it was not a compatible device and it was removed from my list of available devices.
After some more digging. it looks like the secrets.json file is missing from the XRP. I am assuming I need that. Now it shows up in my list of networks to connect to. However, the IDE does not appear to connect with the XRP. Suspect I am still missing something. Does that mean that the XRP has to be connected to the IDE via a usb cable for programming?
The XRP has two different modes and those modes work very differently. One is using Micropython firmware on the XRP and XRPCode to program it. The other is using the WPILib firmware and the WPILib tools to program it from VSCode. It sounds like you are trying to combine these two modes, which is not possible. Can you describe which mode you are hoping to get the XRP working in?
Hi,
Right now I am working in the XRPCode mode. While I did have the WPILib on the XRP following the instructions at the bottom of this page ( XRPCode Integrated Development Environment — XRP 2023.0 documentation ) the robot has been updated to work with XRPCode.