USB Test. Advantech RSB-4220


Add to my manuals
78 Pages

advertisement

USB Test. Advantech RSB-4220 | Manualzz

2.5.2

USB Test

2.5.2.1

USB HOST TEST

1.

Plug a USB flash device into USB connector.

2.

Mount the USB flash and check system can detect it.

3.

Run program to read/write USB flash.

root@am335x‐adv:/unit_tests# ./AutoRun_usb_host.sh

disk_to_test=sda

---create partition for sda

---format file system partion_list=sda1 test /dev/sda1 pass

2.5.2.2

USB OTG Test

1.

Jump to OTG mode, Use USB Type A- Type A cable to connect the USB-OTG port of RSB-4220 and the USB port of PC.

2.

Copy 20MB xx file to RSB-4220 from PC.

3.

Check the RSB-4220 xx file size was 20MB.

2.5.3

SD Test

1.

Insert SD card into SD1 slot.

2.

Mount the SD card device and check system can detect it.

root@am335x‐adv:/unit_tests# fdisk ‐l /dev/mmcblk0

Disk /dev/mmcblk0: 3980 MB, 3980394496 bytes

255 heads, 63 sectors/track, 483 cylinders, total 7774208 sectors

Units = sectors of 1 * 512 = 512 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00000000

Device Boot Start

/dev/mmcblk0p1 * 63

End

144584

Blocks

72261

Id c

/dev/mmcblk0p2160650 7759394 3799372+ 83

System

W95 FAT32 (LBA)

Linux

3.

Run program to read/write SD.

root@am335x‐adv:/unit_tests# ./AutoRun_sd.sh mmcblk0

10240+0 records in

10240+0 records out

10240+0 records in

10240+0 records out

10240+0 records in

10240+0 records out

=================SD test pass================

RSB-4220 User Manual 24

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents