 
            Hello Harald,
On Sat, 4 Jun 2011 08:46:50 +0200, "Harald Welte" laforge@gnumonks.org wrote:
i have never heard of somebody doing this on windows 7. Almost everyone here uses Linux or MacOS. And the only prominent Windows user involved in the project is working with Windows XP.
At least on my Cygwin installation under Windows XP the serial port is accessible as "/dev/ttySx" (x is "0" for COM1, "1" for COM2 and so on). All the USB to serial converters I am aware of are virtual COM ports on Windows which means that they are accessible the same way, e.g. if the virtual COM port is "COM7" it can be be accessed as "/dev/ttyS6",
Best regards, Dieter
 
            Hi,
Thanks.
I was able to access the serial port.
I ran the following command
./osmocon -p /dev/ttyS5 -m c123xor ../../target/firmware/board/compal_e88/hello_world.compalram.bin in cygwin
I then held the power on button of the phone for some time. I got some output on the cygwin console.It isn't the expected output as per the wiki.
After disconnecting, I tried to run the same command and nothing is happening.
Can some one please suggest me what steps I need to take to solve the problem.
I am using Motorola C115 phone.
Regards, RM On Sat, Jun 4, 2011 at 12:12 PM, Dieter Spaar spaar@mirider.augusta.dewrote:
Hello Harald,
On Sat, 4 Jun 2011 08:46:50 +0200, "Harald Welte" laforge@gnumonks.org wrote:
i have never heard of somebody doing this on windows 7. Almost everyone here uses Linux or MacOS. And the only prominent Windows user involved in the project is working with Windows XP.
At least on my Cygwin installation under Windows XP the serial port is accessible as "/dev/ttySx" (x is "0" for COM1, "1" for COM2 and so on). All the USB to serial converters I am aware of are virtual COM ports on Windows which means that they are accessible the same way, e.g. if the virtual COM port is "COM7" it can be be accessed as "/dev/ttyS6",
Best regards, Dieter -- Dieter Spaar, Germany spaar@mirider.augusta.de
 
            Don't hold the power on button. You should just press and release the power button to start the bootloader.
Regards, John
Hi,
Thanks. I was able to access the serial port.
I ran the following command
./osmocon -p /dev/ttyS5 -m c123xor ../../target/firmware/board/compal_e88/hello_world.compalram.bin in cygwin
I then held the power on button of the phone for some time. I got some output on the cygwin console.It isn't the expected output as per the wiki.
After disconnecting, I tried to run the same command and nothing is happening.
Can some one please suggest me what steps I need to take to solve the problem.
I am using Motorola C115 phone.
Regards, RM On Sat, Jun 4, 2011 at 12:12 PM, Dieter Spaar <spaar@mirider.augusta.demailto:spaar@mirider.augusta.de> wrote: Hello Harald,
On Sat, 4 Jun 2011 08:46:50 +0200, "Harald Welte" <laforge@gnumonks.orgmailto:laforge@gnumonks.org> wrote:
i have never heard of somebody doing this on windows 7. Almost everyone here uses Linux or MacOS. And the only prominent Windows user involved in the project is working with Windows XP.
At least on my Cygwin installation under Windows XP the serial port is accessible as "/dev/ttySx" (x is "0" for COM1, "1" for COM2 and so on). All the USB to serial converters I am aware of are virtual COM ports on Windows which means that they are accessible the same way, e.g. if the virtual COM port is "COM7" it can be be accessed as "/dev/ttyS6",
Best regards, Dieter -- Dieter Spaar, Germany spaar@mirider.augusta.demailto:spaar@mirider.augusta.de
 
            Hi,
I am a bit confused about the kind of cable I need to use.
I have read the wiki about the calypso serial cable at
http://bb.osmocom.org/trac/wiki/CalypsoSerialCable
It says:
The Calypso phones typically all have a serial port @ 3.3V levels on the 2.5mm earphone jack.
Those cables are sometimes called *T191 unlock cable*.
You can either buy ready-made cables, e.g. at:
- USB variant - gsmliberty.nethttp://www.gsmliberty.net/shop/motorola-t191-dataunlock-cable-p-1252.html - fonefunshop.co.ukhttp://www.fonefunshop.co.uk/datacables/motorola.htm - gsmserverhttp://gsmserver.com/cables/Smart-Clip_Cable_for_Compal_Chi_Mei_based_phones.php - RS232 variant, you still need a separate standard USB/RS232 cable - handy-style.de http://www.handy-style.de/index/cat190/2130 - cellcorner.comhttp://www.cellcorner.com/xshp/unlock-phone-codes/motorola-t190-t191-t193-unlock-data-cable.html - USB/RS232 cable - tronisoft.com http://www.tronisoft.com/cat_usbtoserial.php (FTDI and Prolific cables)
If you click on cellcorner.com, you get a serial version of T191 unlock cable.
I have purchased a similar cable not from that link but from a local shop near my home. (I am from India).
The reason I have purchased the serial version is that the local shop only has the serial version.
You have said in the wiki for the serial version, I still need a separate standard USB/RS232 cable.
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port so you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC serial port?
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
I have a laptop and not a PC. It doesn't have a serial port.
Since I was able to get hold of a serial version of T191 unlock cable as I told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then the serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on the other?
I am asking the second question because you have mentioned in the wiki under Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
Regards, RM
On Tue, Jun 7, 2011 at 12:13 AM, Otten, John E. john.otten@gd-ais.comwrote:
Don’t hold the power on button. You should just press and release the power button to start the bootloader.
Regards,
John
Hi,
Thanks.
I was able to access the serial port.
I ran the following command
./osmocon -p /dev/ttyS5 -m c123xor ../../target/firmware/board/compal_e88/hello_world.compalram.bin in cygwin
I then held the power on button of the phone for some time. I got some output on the cygwin console.It isn't the expected output as per the wiki.
After disconnecting, I tried to run the same command and nothing is happening.
Can some one please suggest me what steps I need to take to solve the problem.
I am using Motorola C115 phone.
Regards,
RM
On Sat, Jun 4, 2011 at 12:12 PM, Dieter Spaar spaar@mirider.augusta.de wrote:
Hello Harald,
On Sat, 4 Jun 2011 08:46:50 +0200, "Harald Welte" laforge@gnumonks.org wrote:
i have never heard of somebody doing this on windows 7. Almost everyone here uses Linux or MacOS. And the only prominent Windows user involved in the project is working with Windows XP.
At least on my Cygwin installation under Windows XP the serial port is accessible as "/dev/ttySx" (x is "0" for COM1, "1" for COM2 and so on). All the USB to serial converters I am aware of are virtual COM ports on Windows which means that they are accessible the same way, e.g. if the virtual COM port is "COM7" it can be be accessed as "/dev/ttyS6",
Best regards, Dieter -- Dieter Spaar, Germany spaar@mirider.augusta.de
 
            On Sun, Jun 12, 2011 at 11:11:37PM +0530, R M wrote:
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port so you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC serial port?
You could, but the RS232 ports that are often present on ATX-style mainboards provide 12V, which is too much for the phone.
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
no. A serial T191 cable does nothing by itself.
Since I was able to get hold of a serial version of T191 unlock cable as I told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
Unfortunately the prolific chips seem to not work as well for this purpose as the FTDI chips.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then the serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on the other?
I don't get the difference between those two ways.
I am asking the second question because you have mentioned in the wiki under Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
This warning wants to tell you that you should use a USB<-->RS232 converter and not use an onboard port of a PC.
Kind regards -Alex
 
            If you want to use a basic serial port, use a 3.3V version of the good ol' MAX232 (maybe MAX202? can't remember)
Sebastien
On Sun, Jun 12, 2011 at 8:20 PM, Alexander Huemer alexander.huemer@xx.vuwrote:
On Sun, Jun 12, 2011 at 11:11:37PM +0530, R M wrote:
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port
so
you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC
serial
port?
You could, but the RS232 ports that are often present on ATX-style mainboards provide 12V, which is too much for the phone.
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
no. A serial T191 cable does nothing by itself.
Since I was able to get hold of a serial version of T191 unlock cable as
I
told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
Unfortunately the prolific chips seem to not work as well for this purpose as the FTDI chips.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then
the
serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on
the
other?
I don't get the difference between those two ways.
I am asking the second question because you have mentioned in the wiki
under
Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
This warning wants to tell you that you should use a USB<-->RS232 converter and not use an onboard port of a PC.
Kind regards -Alex
 
            the 3v3 version of max232 is max3232, but this isnt what he needs.
RM, you need a usb->RS232 only if you have no RS232 at one of you computers/notebooks available. if you have a normal RS232-port you have already everything you need and can use you cable
bye arne
On Sun, 12 Jun 2011 20:53:49 +0200 Sébastien Lorquet squalyl@gmail.com wrote:
If you want to use a basic serial port, use a 3.3V version of the good ol' MAX232 (maybe MAX202? can't remember)
Sebastien
On Sun, Jun 12, 2011 at 8:20 PM, Alexander Huemer alexander.huemer@xx.vuwrote:
On Sun, Jun 12, 2011 at 11:11:37PM +0530, R M wrote:
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port
so
you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC
serial
port?
You could, but the RS232 ports that are often present on ATX-style mainboards provide 12V, which is too much for the phone.
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
no. A serial T191 cable does nothing by itself.
Since I was able to get hold of a serial version of T191 unlock cable as
I
told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
Unfortunately the prolific chips seem to not work as well for this purpose as the FTDI chips.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then
the
serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on
the
other?
I don't get the difference between those two ways.
I am asking the second question because you have mentioned in the wiki
under
Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
This warning wants to tell you that you should use a USB<-->RS232 converter and not use an onboard port of a PC.
Kind regards -Alex
 
            Hi,
If I have a prolific usb to serial converter can I be sure that the voltage levels that I get is 3.3V and not 5V.
My serial cable seems to be fine. I have done a loopback test and its echoing whatever I have typed using hyperterminal.
My mobile phone's audio jack is also fine. I am able to use the hands free feature and listen to the voice.
I hence feel that the 2.5mm male connector of the serial cable is not properly connecting to the audio jack of the phone though it sits properly.
Is there a way I can rectify this without buying a new serial cable?
Regards, RM
On Mon, Jun 13, 2011 at 12:45 AM, Arne zachso@arcor.de wrote:
the 3v3 version of max232 is max3232, but this isnt what he needs.
RM, you need a usb->RS232 only if you have no RS232 at one of you computers/notebooks available. if you have a normal RS232-port you have already everything you need and can use you cable
bye arne
On Sun, 12 Jun 2011 20:53:49 +0200 Sébastien Lorquet squalyl@gmail.com wrote:
If you want to use a basic serial port, use a 3.3V version of the good ol' MAX232 (maybe MAX202? can't remember)
Sebastien
On Sun, Jun 12, 2011 at 8:20 PM, Alexander Huemer alexander.huemer@xx.vuwrote:
On Sun, Jun 12, 2011 at 11:11:37PM +0530, R M wrote:
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port
so
you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC
serial
port?
You could, but the RS232 ports that are often present on ATX-style mainboards provide 12V, which is too much for the phone.
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
no. A serial T191 cable does nothing by itself.
Since I was able to get hold of a serial version of T191 unlock cable as
I
told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
Unfortunately the prolific chips seem to not work as well for this purpose as the FTDI chips.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then
the
serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on
the
other?
I don't get the difference between those two ways.
I am asking the second question because you have mentioned in the wiki
under
Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
This warning wants to tell you that you should use a USB<-->RS232 converter and not use an onboard port of a PC.
Kind regards -Alex
 
            Hi Dieter,
I was going through the archieves and I came across a mail that you sent on the topic of noisy cabe. I have copy pasted the msg below:
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
I too work under cygwin environment but under windows 7.
I am not able to download the code on to my phone though my cable seems to be fine. (I am using the Prolific USB to serial converter and have performed a loop back test to verfiy the cable)
Can you please provide me the patch for the present version of osmocon.c as you mentioned in the mail as I am unable to apply the patch manually.
Thanks and Regards, RM
On Sat, Jun 18, 2011 at 7:28 PM, R M rm.engineer84@gmail.com wrote:
Hi,
If I have a prolific usb to serial converter can I be sure that the voltage levels that I get is 3.3V and not 5V.
My serial cable seems to be fine. I have done a loopback test and its echoing whatever I have typed using hyperterminal.
My mobile phone's audio jack is also fine. I am able to use the hands free feature and listen to the voice.
I hence feel that the 2.5mm male connector of the serial cable is not properly connecting to the audio jack of the phone though it sits properly.
Is there a way I can rectify this without buying a new serial cable?
Regards, RM
On Mon, Jun 13, 2011 at 12:45 AM, Arne zachso@arcor.de wrote:
the 3v3 version of max232 is max3232, but this isnt what he needs.
RM, you need a usb->RS232 only if you have no RS232 at one of you computers/notebooks available. if you have a normal RS232-port you have already everything you need and can use you cable
bye arne
On Sun, 12 Jun 2011 20:53:49 +0200 Sébastien Lorquet squalyl@gmail.com wrote:
If you want to use a basic serial port, use a 3.3V version of the good ol' MAX232 (maybe MAX202? can't remember)
Sebastien
On Sun, Jun 12, 2011 at 8:20 PM, Alexander Huemer alexander.huemer@xx.vuwrote:
On Sun, Jun 12, 2011 at 11:11:37PM +0530, R M wrote:
Why do I need a USB/RS232 cable ?
If its a laptop, I can understand that they don't come with a serial port
so
you need the converter.
Many PCs come with a serial port.
Can I not connect the serial version of the T191 unlock cable to PC
serial
port?
You could, but the RS232 ports that are often present on ATX-style mainboards provide 12V, which is too much for the phone.
As far as I understand, the T191 unlock cable is used to convert RS232 signal level to 3.3V required by C128.
no. A serial T191 cable does nothing by itself.
Since I was able to get hold of a serial version of T191 unlock cable as
I
told you in the begining of the mail, I also purchased a USB to Serial converter. Its a BAFO BF-810. Its based on Prolific chipset.
Unfortunately the prolific chips seem to not work as well for this purpose as the FTDI chips.
So I connected first the USB/RS232 converter ju(BAFO BF-810) and then
the
serial version of the T191 unlock cable.
Is this the right way ? OR Can I just connect the USB/R232 converter (based on Prolific chipset) and the use a cable which contains DB9 female on one side and 2.5mm jack on
the
other?
I don't get the difference between those two ways.
I am asking the second question because you have mentioned in the wiki
under
Hints and Warnings like this:
If you don't use a 3.3V (low voltage TTL, LVCMOS) serial port you can fry your phone! (internally, it connects to the IO-pins of the baseband processor which run at 2.8V). *Don't connect directly to your PCs serial port (running at +/- 12V!).*
This warning wants to tell you that you should use a USB<-->RS232 converter and not use an onboard port of a PC.
Kind regards -Alex
baseband-devel@lists.osmocom.org





