noisy cable?

Dieter Spaar spaar at mirider.augusta.de
Mon Mar 29 13:55:48 UTC 2010


Hello Christian,

On Mon, 29 Mar 2010 13:27:31 +0200, "Christian Vogel" <vogelchr at vogel.cx> wrote:
>
> I'm using a self-made cable consisting of a known good FT232R
> converter @ 3.3V and a cut off headset cable (that also worked
> flawlessly without any noise on another mobile phone before). My C123
> also looks pristine. I manage to upload and run hello world
> successfully in maybe one out of ten attempts, often have to remove
> the battery because the phone just gets stuck. So I have ordered a new
> cable from Akku-King as suggested on the Wiki.

My experience: I work under Windows with Cygwin so the OS internals
how the serial port is handled are (totally) different than Linux.
With the non-blocking variant of "osmocon" it was nearly impossible
to download the code to the phone in a reliable way. So I had to apply
an ugly hack to my version which basically switches the serial connection
to "blocking mode" during the download phase. This way it works rather
reliable here (regardless of using a "real" RS232 port or an USB to serial
converter).

So you might experience the same problem instead of a bad cable. You
can try the attached patch to "osmocom.c". The patch is not for the
latest GIT version, however it should be quite easy to apply it to
the current on. Again, its an ugly hack, but it works for me.

Best regards,
  Dieter

Dieter Spaar, Germany                           spaar at mirider.augusta.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osmocon.patch
Type: application/octet-stream
Size: 2838 bytes
Desc: not available
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20100329/a296e232/attachment.obj>


More information about the baseband-devel mailing list