USBD Rom Documentation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USBD Rom Documentation

2,689 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Blackclaws on Wed May 27 03:08:06 MST 2015
So I am trying to implement a program that uses the USBD ROM Api however I am having trouble finding documentation about this.

The documentation included with the source files is incomplete insofar as it does not touch upon high level USB concepts.

There appears to be a lot of information at docs.lpcware.com regarding USBD however this site is only accessible by google cache as docs.lpcware.com yields a server unreachable failure.

See for example: http://docs.lpcware.com/usbromlib/v1.0/_page__usb_descriptors.html

While this gives a way to look at the documentation this seems to either be an unintentional outage on the servers part or a deliberate shutdown of the docs subdomain.

I'd like to know when we can either expect the docs.lpcware.com domain to be available again or where else to find this documentation if it has been moved or superseeded.

Also I wonder if there is any example for a mass storage device with the usbd rom? I can only find examples for HIDs.
Labels (1)
0 Kudos
Reply
10 Replies

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Thu Jun 18 09:50:35 MST 2015
My 1769 is reading DS and so its Host is working  :)


Quote:
8.12   USB interface
Remark:
The USB controller is available as device/Host/OTG controller on parts LPC1769/68/66/65 and as device-only controller on part LPC1764.

0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Thu Jun 18 09:44:59 MST 2015

Quote: starblue

Quote: MikeSimmonds
The LPC1769 does not have USB host. Only USB device.



Is there something wrong with "Chapter 12: LPC176x/5x USB Host controller"?



How about

Quote:
1 How to read this chapter
The USB host controller is available on the LPC1768, LPC1766, LPC1765, LPC1758,
LPC1756, and LPC1754. On these devices, the USB controller can be configured for
device, Host, or OTG operation.
Chapter 12: LPC176x/5x USB Host controller
Rev. 3.1 — 2 April 2014 User manual



But table 1.4 in the same revision does show Device/Host/OTG for LPC1769FBD100. So ... my apologies.

Cheers, Mike.
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by starblue on Thu Jun 18 05:18:59 MST 2015

Quote: MikeSimmonds
The LPC1769 does not have USB host. Only USB device.



Is there something wrong with "Chapter 12: LPC176x/5x USB Host controller"?
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Jun 17 20:05:09 MST 2015
I Googled "USB MSC Device example code NXP -host".

The top two hits look promising. But look like some translation is required.

Here and here

Regards, Mike
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mega on Wed Jun 17 15:18:05 MST 2015
Thanks Mike, but the core of project is to a system to work with a GPS device.
And im trying to solve the usb part with a library of LPCopen

Only can find Mass Storage Host example for LPC1769. There is nothing for Mass Storage Device?
0 Kudos
Reply

2,100 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Jun 17 13:45:48 MST 2015
Suggest you avoid FAT12 -- really old only ever used for floppies (which died out before you were born).
I suggest FAT32 with long file name support.

See the bible on FAT from MS here. Top Google hit.

Good luck.

Regards, Mike.
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mega on Wed Jun 17 11:53:17 MST 2015

Quote: MikeSimmonds
The LPC1769 does not have USB host. Only USB device.

Are you attempting to emulate a flash drive? You cannot read a flash drive or SD card etc.

Cheers, Mike.



Hi again,
Im doing a school project.

On first part of project I need to emulate a flash drive for Windows see as massive storage device using buffer in RAM or Flash to be read only.
But I cannot found iUSB msc example in lpcopen. I tried nxpusblib example but didn't work.

On second phase I will connect a microsd card adapter.
Im already studing fatfs framework to implement a FAT12 filesystem.

Thanks
Mega
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Jun 17 11:27:05 MST 2015
The LPC1769 does not have USB host. Only USB device.

Are you attempting to emulate a flash drive? You cannot read a flash drive or SD card etc.

Cheers, Mike.
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mega on Wed Jun 17 11:23:07 MST 2015
Hi, where is possible find the example for lpc1769?
Best regards
Mega
0 Kudos
Reply

2,101 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by durgesh on Wed May 27 14:31:52 MST 2015
For MSC class example check LPC18xx LPCOpen packageavailable at http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc18xx-packages-0.

See applications\lpc18xx_43xx\examples\usbd_rom\usbd_rom_msc_ram example.
0 Kudos
Reply