Hi Chris,<div><br></div><div>Thank you for the detailed explanation.</div><div><br></div><div>I am using a CP210x from Sysmocon. I understand that this has a pre-programmed EEPROM and so does not require a driver. Yet, when I run ccch_scan in burst_ind branch on Debian Linux, it fails both speeds.</div>
<div><br></div><div>The Tutorial does not mention need for installing a SiLabs driver, and all attempts to install the Linux version of their driver fails. Can you confirm if the driver is required?</div>
<div><br></div><div>But the same code in Windows works just fine as Windows permits selection of any arbitrary speed. Of course I needed to install the SiLabs USB to UART bridge driver for Windows to recognise the device in the first place.</div>

<div><br></div><div>B.</div><div><br></div><div><br><div class="gmail_quote">On Wed, Dec 26, 2012 at 2:05 AM, Christian Vogel <span dir="ltr"><<a href="mailto:vogelchr@vogel.cx" target="_blank">vogelchr@vogel.cx</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Bhaskar11,<div><br>
<br>
On Tue, 25 Dec 2012 15:35:03 +0100, Bhaskar11 <<a href="mailto:niceguy108@gmail.com" target="_blank">niceguy108@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If the first attempt to switch to 406250 succeeds, the function exits and<br>
never reaches the I_HAVE_A_CP210x code which would switch to a higher speed!<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is this a bug? Or is the lower speed good enough for burst_ind? In which<br>
case why bother with the I_HAVE_A_CP210x option?<br>
</blockquote>
<br></div>
that logic is correct.<div><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Or have I missed something obvious?<br>
</blockquote>
<br></div>
It's not about switching to a slighly higher baudrate of B460800 but rather to<br>
switch to the highest baudrate that can sensibly be used on the phone uart which<br>
is the non-standard 406250. Some USB/Serial converter chips allow to select almost<br>
any baudrate you want out of the box, but CP210x doesn't. If you have a CP210x you<br>
modify the eeprom in the serial adapter so that when Linux requests the "Standard"<br>
460k, it actually uses the odd 406k.<br>
<br>
<a href="http://bb.osmocom.org/trac/wiki/Hardware/CP210xTutorial" target="_blank">http://bb.osmocom.org/trac/<u></u>wiki/Hardware/CP210xTutorial</a><br>
<br>
In src/target/firmware/calypso/<u></u>uart.c there's the uint16_t divider[] table<br>
of baudrate dividers, and the two highest speeds supported by the calypso<br>
chipset are 406,250 or 812,500 bits per second.<br>
<br>
Silabs Application note AN205 explains the Silabs side of things.<br>
  <a href="http://www.silabs.com/Support%20Documents/TechnicalDocs/an205.pdf" target="_blank">http://www.silabs.com/Support%<u></u>20Documents/TechnicalDocs/<u></u>an205.pdf</a><br>
<br>
Greetings,<br>
<br>
        Chris<br>
<br>
</blockquote></div><br></div>