Hi, I should have added that this sets the rate for B38400. So you need to set the baud rate to B38400 in your program.
James On Wed, 2010-04-14 at 09:43 +1200, James Boulton wrote: > 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: [email protected] 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. _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
