USB not communicating with my LPC2478

153 views Asked by At

I have been tasked at my new job with figuring out why their LPC2478 based instrument using a USB driver from way way before my time here, doesn't communicate sometimes (more often than not these days) with USB flash drives. We have been having increasingly difficult time finding USBs that work. The latest error the software just kicks out when you ask it to read a file off the USB.

I have hooked up the debugger and followed the error all the way down to

usbhost_lcp248.c (not sure where they got this from ) where:

if(!(TDHead->Control & 0xF0000000)
   return(OK);
else
  return (ERR_TD_FAIL);   -- which it always does!

the debugger shows the actual value to TDHead->Control = 0x5E040000

I've got a 5 instead of an F.

So...

Any help pointing me in any direction is much appreciated. I'm not even sure what this TDHead->Control is.

Sincerely, Dubs

0

There are 0 answers