Yahoo Groups archive

Lpc2000

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

Message

Re: scrambled data packet in LPC2148 usb buffer

2006-03-22 by philips_apps

Please check the update in the latest Keil's example
and use it as the reference. There were some problems
in CC_EMPTY and CD_FULL bit hanging issue in the older
Keil's example, and these bugs have been fixed already. 
But, the fixes have not been merged into the Virtual 
COM port driver yet.

Find out the differences between the two for now, we 
will update the Virtual COM port driver example shortly.

Philips app.



--- In lpc2000@yahoogroups.com, "y3peng" <eugene.peng@...> wrote:
>
> 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.