Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

scrambled data packet in LPC2148 usb buffer

2006-03-22 by y3peng

Hello all,
I am new to this group and to the LPC chips in general.
I have been working on implementing an USB device using LPC2148. 

When the chip read in packets of data from the host PC, occasionally,
a byte goes missing. I checked the data packets over an USB analyzer,
and they appeared to be perfect. So the data got corrupted somewhere
between acknowledging the data packet and reading the data from the
USB endpoint RAM.

It might be of interest to you that I used a modified USB stack from
the virtual com port example from phillip's website. The example was
written for Keil, but it was ported to IAR workbench.

Sometimes the chip also hangs after writing a command to usb protocol
engine, when it waits for CCEMTY to be set.

anyone seen this before?

Eugene

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.