03-02-2023 07:22 PM
We have two brand new roborio 2 units. During the last few weeks we encountered an issue where after a few deploys of code, the image of the rio would get corrupted and the SD card would have to be reformatted in order to deploy code properly again. This happened for both rios. We recently discovered this issue happening in the rio 1 as well. I guess it has to be something in our code that's doing something really bad? Linking the code below. This meant regularly changing SD cards. After a few swaps, the spring mechanism of the SD card holder on one of the units stopped working completely, and in order to take the card out we have to use a pin. After a few days, the other card holder in the other rio 2 stopped working as expected, but in a different way: when inserting a card, it wouldn't always hold it in, only after trying many times it would accept it and it would be properly seated inside. When we wanted to take out the card, it works as expected. This happened on the field at ISR #1 and was really embarrasing having to stop the match in order to replace the SD card and re deploy code.
Our code: https://github.com/Programming-TRIGON/RobotCode2023
03-06-2023 11:34 AM
Hi Trigon-5990,
Thanks for posting on the forums. I'm Matthew with NI.
Are you able to grab the driver station logs from when this was happening?
If not, are you able to reproduce this on a test bench or on a practice bot? (i.e., are you able to try to debug this in between competitions?)
03-11-2023 02:48 PM
Hi
The solution to the problem was the user button. It seems to stop the code.
Now we have 2 rios that work but their SD card holder is very hard to use. What should we do regarding that?
03-13-2023 06:54 AM
When you say "hard to use", do you mean it takes a bit of umph to push the cards in all the way? or that they are having trouble keeping the cards seated in some way?
07-26-2023 06:05 AM
Hi sorry for the wait
When I say it's hard to use i mean it takes a bit of umph to push the cards in all the way
when it's get in the sd port it's stay in but it's taking a lot time to get it in the sd port
07-26-2023 10:00 AM
The SD card holder should use a strong spring and corresponding clip.
Are you doing any file input/output? Do you reference the user button in your code?
07-26-2023 06:15 PM
The issue were talking about is purely mechanical, where with one of the rios it's easy to put in the micro SD card, but when pressed again it won't jump out, so we have to use a nail or something else to get it out, and with the other rio, it's almost impossible to get it to latch onto the card when putting it in, one has to try many many times until it will accept the card, but when pressed after inserting it jumps out just fine.
08-07-2023 11:43 AM
Hi
Would love to get this sorted before our upcoming off-season competition
08-07-2023 11:50 AM
I'm sending you a DM on how to address the first one (the one you have to use a tool to remove).
I've pinged a colleague on the correct path forward for the one that's hard to insert.
08-10-2023 08:51 AM
For the one that is hard to put in,
try using a *large* slotted screw driver to gently apply presser across the whole card to get it to insert (make sure to not force the card and break the slot, just a little leverage from the screw driver should be enough).