[Mono-list] PROGRESS!! Re: Invalid data from CP2102 USB device

James Boulton j.boulton at veritide.com
Tue Apr 13 17:43:23 EDT 2010


Steve,

If 125000 works with windows then try this with linux:

setserial /dev/ttyUSB0 spd_cust baud_base 250000 divisor 2

Then connect with minicom to test it.

James


On Tue, 2010-04-13 at 06:39 -0800, Steve Ricketts wrote:
> I now know the problem, but not the solution.  I've been fighting this almost
> non-stop for days and overlooked a key piece of information.  On Windows,
> I'm using a baud rate of 128000.  Very early on, I had to change the rate to
> 115200 in Linux because the 128000 is non-standard.  I just changed the baud
> rate in Windows to 115200 and got the same input as I'm getting in Linux!
> 
> It works in Windows with baud rates of 125000, 128000, 127117 but not 115200
> Linux will only allow 115200 (CP210x docs say 127117 should be allowed)
> 
> So, the baud rate is the problem.  Now... what's the solution??  How can I
> set a non-standard baud rate for the CP2102?
> 
> So close... so close...

-- 
James Boulton
Electronics Engineer

Veritide Ltd
Kenton Chambers
Suite 407/408, Level 4
190 Hereford St,
Christchurch 8011
New Zealand

PO Box 13-769
Christchurch 8141
New Zealand

Phone: +64 3 3723506
Fax: +64 3 3723508
Email: j.boulton at veritide.com
Web: www.veritide.com

Important: This email contains information which is confidential and 
that may be subject to legal privilege. If you are not the intended 
recipient, you must not read, use, disseminate, distribute or copy this 
email or its attachments. If you have received this in error, please 
inform us immediately by return email, facsimile or by telephone and 
delete this email.




More information about the Mono-list mailing list