why nxp usb host lite lib dose not work with some flash disk?????

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

why nxp usb host lite lib dose not work with some flash disk?????

924 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by alireza sd on Thu Sep 11 06:17:53 MST 2014
hi to all,
recently I done a project with lpc1788,it was a some thing like file manager.
in it i use nxp usb host lite lib for communicate with flash disk and i used keil v5.10 as compiler.
for a while i thought that it work correctly but now,i noticed that it dose not work with some flash disk.
now any one know why nxp usb host lite lib work proper with some flash and do not work with some other???
Labels (1)
0 Kudos
Reply
5 Replies

902 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by MikeSimmonds on Wed Jun 17 10:25:49 MST 2015
Code 5 = device not responding.

Might need to give it more time depending on the operation.

I have have some flash disks take 800 ms (nearly one second) to respond to (I think) DeviceInquery for example.
Went a bit faster after that.

Anyway read the OHCI spec. Completion codes are on page 33.
EDIT: Document page 33. PDF Viewer page 47.

EDIT2: See my (unanswered) post here

EDIT2a: This topic should be in "USB" and not "Peripherals"

Cheers, Mike.
0 Kudos
Reply

902 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Dubs on Wed Jun 17 09:59:45 MST 2015
Hello

I am also having problems with my LPC2468 working with some flash drives, even of the same manufacturer, same size.

The code we are currently using is a version of  usbhost_lpc2468.c

What we would like is the latest version of

USBHostLite for LPC23xx/LPC24xx V1.00 (Jan 4, 2010)

from the site:

http://www.lpcware.com/content/project/nxp-peripherals/usb-nxp-microcontrollers

because the link is broken. It goes no where.

Or do you have a driver for the USB for LPC2468 processor?


Our failure is inside the 

if (!(TDHead->Control & 0xF0000000)) {
        return (OK);
    } else {
        return (ERR_TD_FAIL);
    }


where we read a 0x5.... instead of a 0xF.....

Please advise
Dubs

DaDubliner@gmail.com

0 Kudos
Reply

902 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by alireza sd on Fri Sep 12 04:20:47 MST 2014
excuse me if I create a duplicate thread, honestly I can not find any related page or thread to it in net....

-I've designed my own board.
-I found an example in the net, I attached it to this mail.
-it dose not have any specific rule, for example it work proper with hp(4GP) or Philips(8GB),but it dose not work with silicon power(4GB)!!!

excuse me for my bad English..
thanks for your attention..
alireza sd
0 Kudos
Reply

902 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by alireza sd on Fri Sep 12 04:20:25 MST 2014
excuse me if I create a duplicate thread, honestly I can not find any related page or thread to it in net....

-I've designed my own board.
-I found an example in the net, I attached it to this mail.
-it dose not have any specific rule, for example it work proper with hp(4GP) or Philips(8GB),but it dose not work with silicon power(4GB)!!!

excuse me for my bad English..
thanks for your attention..
alireza sd
0 Kudos
Reply

902 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Fri Sep 12 03:24:59 MST 2014
Please stop creating duplicate threads!

Anyway, if you want assistance, then you might want to post more details. For example:

- which board are you using?
- exactly which examples you started working from?
- which flash disks work / don't work. For example is it size related? And how are the disks formated?

Regards,
LPCXpresso Support

0 Kudos
Reply