Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

UM0851 Datasheet(PDF) 63 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 63 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 59Page - STMicroelectronics UM0851 Datasheet HTML 60Page - STMicroelectronics UM0851 Datasheet HTML 61Page - STMicroelectronics UM0851 Datasheet HTML 62Page - STMicroelectronics UM0851 Datasheet HTML 63Page - STMicroelectronics UM0851 Datasheet HTML 64Page - STMicroelectronics UM0851 Datasheet HTML 65Page - STMicroelectronics UM0851 Datasheet HTML 66Page - STMicroelectronics UM0851 Datasheet HTML 67Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 63 / 245 page
background image
UM0851
Communication device drivers
Doc ID 16604 Rev 2
63/245
USB mass storage class
The USB mass storage standard provides an interface to a variety of storage devices, like
hard disk drives and Flash memories.
Plug in Flash memory into available USB port and then type the following command. The
device is picked up as a USB 1.1 and allocates an address. It also indicated which HCD is
used.
$ dmesg | less
usb 1-1: new full speed USB device using spear-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
(SCSI emulation automatically kicks in)
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
(Now the device information including model number is retrieved)
usb-storage: waiting for device to settle before scanning
Vendor: JetFlash
Model: TS2GJCV30
Type:
Direct-Access
ANSI SCSI revision: 02
SCSI device sda: 4014078 512-byte hdwr sectors (2055 MB)
(The write-protect sense is EXPERIMENTAL code in the later kernels)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 4014078 512-byte hdwr sectors (2055 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
sda:sda1
usb-storage: Attached SCSI removable disk
(At this point, the device is generally accessible by mounting /dev/sda1)
(When the device is disconnected, the system acknowledges the same)
usb 1-1: USB disconnect, address 2
/* Once the device is connected and mounted, you can access it like a normal hard
disk. Usual operations like cp, mv, rm, etc work fine. You could also create a file
system on the USB stick/format it. */
# mount /dev/sda1 /mnt/
# df -h
Filesystem
Size
Used
Avail
Use%
Mounted on
/dev/root
4.9M
2.5M
2.5M
50%
/
dev
61.8M
0
61.8M
0%
/dev
tmpfs
1.9GM
453.0M
1.5G
23%
/mnt
tmpfs
2.0M
0M
2.0M
0%
/tmp
/dev/sda1
1.9GM
453.0M
1.5G
23%
/mnt/
/* Digital cameras can be accessed the same way as memory sticks. */
USB communication device class (CDC)
The USB CDC class supports a lot of communication devices, including Ethernet.
Compile and then boot up the kernel with the options relevant to the USB Ethernet adapters
enabled. The options are covered in the configuration section below. Plug in the USB
Ethernet adapter, you can then see console messages that are similar to the following:
$hub 1-0:1.0: over-current change on prot 1
usb 1-1:new high speed USB device using spear-ehci and address 2
usb-1.1: configuration #1 chosen from 1 choice
eth0:register 'asix' at usb-SPEAr EHCI-1, ASIX AX88772 USB2.0
Ethernet,00;89:c8:3a:4c:0b
/* Type in the following command and check if the device has been recognized */
$ cat /proc/bus/usb/devices



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com