Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Re: LPC2888 or ISP1581 USB example code

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Re: LPC2888 or ISP1581 USB example code - Pras...@gmail.com - Oct 31 3:20:04 2009

Hi,

I am just trying to port the USBMem code given by NXP onto LPC2888, but after so many tries, i am still getting "USB Device Not Recognized". This is the updated version from NXP code bundle. It has got the modifications like USBCLKEN set, and other things.

Is it possible to know where it could possibly be failing. Even i am trying to check the Full speed mode before going to HS mode.

Any help would be appreciated.

With regards,
Prashant

Hi David,
>
>I just got my ISP1583 code that I've been porting to the LPC2888
>working today. I experienced many of the same issue with the reads &
>writes to the USB registers, but worked it out. Here are a couple of
>tips:
>
>- Micrium has an app note at
>http://www.micrium.com/downloads/appnotes/AN-9888.pdf that was very
>helpful for me in getting the cache and CGU working correctly. They
>also have examples for initializing the USB module in the app note.
>- I needed to always perform 32-bit reads & writes to the USB
>registers. Anything less would pretty much guarantee an exception or
>hang.
>
>Unfortunately, I can't share my code since it's my employer's
>property, but I may be able to help with questions. I used the IAR
>kickstart and the Nohau LPC2888 board. I'm new to ARM, but have been
>developing USB products around the Philips interface chips for a few
>years.
>
>Regards,
>Nick Wright
>
>--- In l...@yahoogroups.com, "cuttlfish" wrote:
>>
>> Kai
>>
>> I absolutely understand you frustration. I have been struggling for a
>> couple of days now on writing and reading from USB. My problem now is
>> that on certain read to USB register it would hang the CPU completely.
>> So I can never even get my PC to recognize the device. I was wondering
>> if you seen this problem or have way around it. And perhaps you can
>> share any more progress you have I would really appreciate it
>>
>> I am told that micrium has successfully implemented the USB stack, so I
>> am guess it does work.
>> David
>>
------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )