LIBRARY  |  COMPANIES |   PLATFORMS |   PROCESSORS |   PERIPHERALS
The Usb Host component is provided with a demo application.

The demo includes
  • Virtual platform consisting of a MIPS32 core model, USB Peripheral model and memory model, running under Windows XP
  • Demo application decoding an Ogg Vorbis-compressed audio file and playing the output using USB speakers
  • Decompression is done on the MIPS core as a pure C implementation
  • A binary intercept library providing the link between the USB Peripheral model and the Windows USB Host Peripheral device driver layer.
  • Audio samples can be downloaded from a number of sites, for example vorbis.com. After downloading the song please rename the audio file as "sample.ogg". Alternatively a sample audio file is available to download from this page, see below.
This example makes use of host driver software that is only supported on Windows and so cannot be run on other host platforms
Click to log in before viewing / downloadingDOWNLOAD UsbHost Demonstration Files
UsbHost.zip / 309.51 KB

Click to log in before viewing / downloadingDOWNLOAD Sample Vorbis compressed audio file
sample.ogg / 901.17 KB

To run the demo please refer readme.txt included in zip file.

The peripheral model and platform in this example were last updated for release 20120906.0. It may run with other releases, but edits may be required to support API changes.


Component Description for UsbHost/usb.model.xml

PERIPHERAL

UsbHost

VENDORsibridgetech.com
LIBRARYperipheral
VERSION1.0
IMAGEFILEpse.pse
DescriptionBasic Test Peripheral.
LicenseOpen Source Apache 2.0
DescriptionEnhanced Host Port Controller.
LimitationsThis is a preliminary model with support for Periodic transfers only.

BUSSLAVEPORT

USB

MUSTBECONNECTEDT
WIDTH32
SIZE0x140
MEMORYMAPPEDREGISTER
CAPLENGTH
ACCESSr
WIDTH8
OFFSET0x00
MEMORYMAPPEDREGISTER
HCIVERSION
ACCESSr
WIDTH16
OFFSET0x02
MEMORYMAPPEDREGISTER
HCSPARAMS
ACCESSr
WIDTH32
OFFSET0x04
MEMORYMAPPEDREGISTER
HCCPARAMS
ACCESSr
WIDTH32
OFFSET0x08
MEMORYMAPPEDREGISTER
HCSP-PORTROUTE
ACCESSr
WIDTH64
OFFSET0x0C
MEMORYMAPPEDREGISTER
USBCMD
ACCESSrw
WIDTH32
OFFSET0x14
MEMORYMAPPEDREGISTER
USBSTS
ACCESSrw
WIDTH32
OFFSET0x18
MEMORYMAPPEDREGISTER
USBINTR
ACCESSrw
WIDTH32
OFFSET0x1C
MEMORYMAPPEDREGISTER
FRINDEX
ACCESSrw
WIDTH32
OFFSET0x20
MEMORYMAPPEDREGISTER
CTRLDSSEGMENT
ACCESSrw
WIDTH32
OFFSET0x24
MEMORYMAPPEDREGISTER
PERIODICLISTBASE
ACCESSrw
WIDTH32
OFFSET0x28
MEMORYMAPPEDREGISTER
ASYNCLISTADDR
ACCESSrw
WIDTH32
OFFSET0x2C
MEMORYMAPPEDREGISTER
CONFIGFLAG
ACCESSrw
WIDTH32
OFFSET0x34
MEMORYMAPPEDREGISTER
PORTSC
ACCESSrw
WIDTH32
OFFSET0x38

BUSMASTERPORT

MREAD

MUSTBECONNECTEDT
WIDTH32

BUSMASTERPORT

MWRITE

MUSTBECONNECTEDT
WIDTH32

NETPORT

INTTC

MUSTBECONNECTEDF
TYPEoutput

EXTLIBRARY

input

SEMIHOSTNAMEsemihost

FILEVERSION

_version

MAJOR1
MINOR0


CategoryPeripheral SibridgePage
Page was generated in 0.0146 seconds