USB device is not recognized (LPC3250)

Hi,

I have downloade the USB HID code of 3180 and configured it 3250
ics.nxp.com/.../code.bundle.lpc3180.keil.zip

I have seen a thread regarding this "USB implementation in LPC3250".I am facing the same problem like "USB DEVICE IS NOT RECOGNIZED" It is not enumerated in the PC.

I would like to know how it is(or can be) resolved?

Also it says "SDRAM ***MUST*** be initialised for USB sample code to work". I did not get how it need to be initialized also.

Thanks in advance.

Parents
  • I have seen a thread regarding this "USB implementation in LPC3250".

    I assume you're talking of the thread: http://www.keil.com/forum/19122/

    What I stated there was that the NXP example code package worked when used with the LPC3250 (with a minor modification to match our custom board).

    Also it says "SDRAM ***MUST*** be initialised for USB sample code to work". I did not get how it need to be initialized also.

    The LPC3250 application requires access to a suitable amount of RAM. The Phytec board (and our custom board) have SDRAM fitted. That SDRAM must be initialised before entry to the application. If you're running the application in the debugger, this initialisation can be done using the .ini file. If you're running the application normally, this initialisation could be done as part of the boot sequence.

    Of course, you could consider using the USB facility provided by MDK-ARM. It now has support for the LPC3250.

  • Yes,I was talking about http://www.keil.com/forum/19122/

    Steps what I configured

    1. I took the \ARM\Boards\Phytec\LPC3250\Blinky Ext_SDRAM.ini file to initialize SDRAM.Hope that would be sufficient!
    2. Replaced Startup.s with LPC32x0.s file.
    3. Device adress 0x58 is not working.So

    #define OTG_1301_DEV_ADDR 0x5A
    

    is used.

    When the program is debugged, I could see device is powered via ISP1301 command settings and the host detects an Unknown Device connected.
    But the enumeration call in EndPoint0 is not processed. I doubt if the Interrupt handling is not happening or some other problems.

    Also I assume since it is HID no particular host driver in the computer is required to detect it,default is sufficient.Even HIDclient.exe is not recognizing.

    A suggestion for any work around or solution is most appreciable.

    Thanks.

Reply
  • Yes,I was talking about http://www.keil.com/forum/19122/

    Steps what I configured

    1. I took the \ARM\Boards\Phytec\LPC3250\Blinky Ext_SDRAM.ini file to initialize SDRAM.Hope that would be sufficient!
    2. Replaced Startup.s with LPC32x0.s file.
    3. Device adress 0x58 is not working.So

    #define OTG_1301_DEV_ADDR 0x5A
    

    is used.

    When the program is debugged, I could see device is powered via ISP1301 command settings and the host detects an Unknown Device connected.
    But the enumeration call in EndPoint0 is not processed. I doubt if the Interrupt handling is not happening or some other problems.

    Also I assume since it is HID no particular host driver in the computer is required to detect it,default is sufficient.Even HIDclient.exe is not recognizing.

    A suggestion for any work around or solution is most appreciable.

    Thanks.

Children
More questions in this forum