4. USB (flash disk) Test
Insert the USB flash disk. Ensure that it is in the SMARC device list.
Note: This operation may damage the data stored in the USB flash disk. Before
starting the test, make sure there is no critical data in the eMMC flash being
used.
Read, write, and check
•
USB_DIR="/run/media/mmcblk1p1"
#create data file
dd if=/dev/urandom of=/var/data1 bs=1024k count=100
#write data to usb flash disk
dd if=/var/data1 of=$USB_DIR/data2 bs=1024k
count=100
#read data2, and compare with data1
cmp $USB_DIR/data2 /var/data1
USB speed test
•
USB_DIR="/run/media/mmcblk1p1"
# usb write speed
dd if=/dev/zero of=$BASIC_DIR/$i/test bs=1M
count=1000 oflag=nocache
# usb read speed
dd if=$BASIC_DIR/$i/test of=/dev/null bs=1M
oflag=nocache
RP-103-SMC User Manual
Appendix
83
Need help?
Do you have a question about the RP-103-SMC and is the answer not in the manual?