beautypg.com

16 usb, Bsp operations – Artesyn COMX-P4080 Installation and Use (August 2014) User Manual

Page 105

background image

BSP Operations

COMX-P4080 COM Express Module Installation and Use (6806800L20C)

105

7.16 USB

COMX-P4080 uses the USB2 as the USB host interface. USB1 is disabled. USB PHY (USB3315) is
connected to USB2 host interface through ULPI interface. The COMX-P4080 also has one four
port USB hub (USB2514) connected to the USB PHY, making it a total of four provided ports.

U-Boot provides "usb" utililties to operate the USB sticks:

Note that "usb start/reset" must be executed before the other commands can be run. Below
are usage samples of "usb start.

Utility

Function

usb reset

Resets or rescans USB controller

usb stop [f]

Stops USB [f]=force stop

usb tree

Shows USB device tree

usb info [dev]

Shows available USB devices

usb storage

Shows details of USB storage devices

usb dev [dev]

Shows or set current USB storage device

usb part [dev]

Prints partition table of one or all USB storage devices

usb read addr blk# cnt

Reads `cnt' blocks starting at block `blk#' to memory address
`addr‘

usb write addr blk# cnt Writes `cnt' blocks starting at block `blk#' from memory

address `addr'

=> usb start

(Re)start USB...

USB: Register 10011 NbrPorts 1

USB EHCI 1.00

scanning bus for devices... 3 USB Device(s) found

scanning bus for storage devices... 1 Storage Device(s) found