LPCUSB on LPC1343
Does anyone have a success storry with this topic?
I'm trying to implemnt USB-CDC on LPC1343 using LPCUSB stack. I maneged
to pass the enumeration but after that point I have interrupt flood.
My setup is like this
- Olimex LPC-P1343 board
- Total Phase Beagle 12 USB analyser
- arm-none-eabi-gcc v4.5.0
- CodeBlocks IDE (with custom Makefile)
- debugging using printf (I have J-Link but OpenOCD can't do SWD with
J-Link :-( )
In Beagle Data Center after enumeration (ending with GET_LINE_CODING and
SET_CONTROL_LINE_STATE) I see only IN/NAK and that is OK because I did
not send anything.
But in MCU I have flood of interrupts for BULK_IN_EP, something about 89
interrupts in only one USB frame so my main loop is executing with a
speed of wounded snail :)
Yahoo Groups Links
<*> To visit your group on the web, go to:
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo Groups is subject to:
I was working with latest lpcusb (from trunk) but my usb-cdc code was
not up-to-date. Enyway, it's all sorted now, usb-cdc is working.
For enyone interested in file section is my modified lpcusb.
> Sound like you are working on an early version of LPCUSB, which runs
> with NAK interrupts of bulk IN EP. Try the "latest" one on the
> SourceForge SVN.