Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

cRIO 9033 makes USB Stick read-only

Hello all,


I have a problem with our cRIO 9033: it makes the adapted USB Stick (means USB Flash) sometimes read-only:
It is a cRIO 9033 and has an inserted USB stick / flash. The problem is that this USB stick (with FAT32) gets all few days / weeks / months unusable.
In the logs I can see then:
kernel: FAT-fs (sdc1): error, fat_free_clusters: deleting FAT entry beyond EOF
And after this entry the file system is set to read-only.
Restart of the cRIO does not help !!!
After restart same issue: Filesystem is set to read-only
Only this helps: unmount and re-format the USB stick from within cRIO (which is mounted on /dev/sdc1 😞
umount -l /dev/sdc1
mkfs -t vfat -F 32 /dev/sdc1
If I execute this line before reformatting:
dosfsck -a /dev/sdc1
Then I see the results:

 

EWiebe_0-1712568396067.png

 


This all happens in our production line.
Perhaps I have the wrong USB Stick / USB Flash ???
We already changed the USB Flash in the past but this issue happened again.
Which one (USB Flash) would you suggest?
Thanks to all who could help.

-------------------------------------------------------------------
Eugen Wiebe
Bernstein AG
CLAD - Certified LabView Associate Developer
0 Kudos
Message 1 of 2
(323 Views)

Are you trying to use a USB stick to store data?

Why don't you use an SD card? There is a list of tested CompactRIO Industrial SD Card Accessories

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 2
(305 Views)