<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PlaceType"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PlaceName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;
        color:black;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:宋体;
        color:black;}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:宋体;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 89.85pt 72.0pt 89.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=ZH-CN link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'>Hello Tomas,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'>Does common USB->2.5 jack work? I
have a USB->2.5 jack cable, but I am not sure if it can be used or not.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=black face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial'>Best Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><st1:PersonName w:st="on"><font size=2 color=black
 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>Wei</span></font></st1:PersonName><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'>cai
<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=navy face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
color=black face=宋体><span lang=EN-US style='font-size:12.0pt;color:windowtext'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 color=black face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;color:windowtext;font-weight:bold'>From:</span></font></b><font
size=2 color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;color:windowtext'> Tomas Kopsa [mailto:deacon@volny.cz] <br>
<b><span style='font-weight:bold'>Sent:</span></b> 2011</span></font><font
size=2 color=black><span style='font-size:10.0pt;color:windowtext'>年</span></font><font
size=2 color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;color:windowtext'>1</span></font><font size=2 color=black><span
style='font-size:10.0pt;color:windowtext'>月</span></font><font size=2
color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:
Tahoma;color:windowtext'>17</span></font><font size=2 color=black><span
style='font-size:10.0pt;color:windowtext'>日</span></font><font size=2
color=black face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:
Tahoma;color:windowtext'> 11:33<br>
<b><span style='font-weight:bold'>To:</span></b> list_mailing@libero.it;
baseband-devel@lists.osmocom.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: R: Re: C115
loader.compalram.bin</span></font><font color=black><span lang=EN-US
style='color:windowtext'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'>Hi Lia,<br>
<br>
I have tested another cable (USB <-> 2,5 jack, speacial for Compal
phones) - it is the same chip (Prolific) and I am able to load firmware too.
Although it is the same chip, there is a difference that this one makes the
osmocon printing those messages instantly when phone is not connected:<br>
<br>
</span></font><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'>got 1 bytes from modem, data
looks like: f5  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: f5  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: f5  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: fd  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: f5  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: fd  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: ea  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: ea  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: ea  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: ea  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: fd  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: ea  </span></font><span
lang=EN-US><br>
<br>
If I connect phone, printing stops. Here is what happened when I tried to load
firmware without xor (-m c123) and pressed the button:<br>
</span><font face="Courier New"><span lang=EN-US style='font-family:"Courier New"'>(This
happened every attempt without xor flag)<br>
<br>
</span></font><font size=2 face="Courier New"><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'>Received PROMPT2 from phone,
starting download<br>
handle_write(): 1087 bytes (1087/50947)<br>
got 1 bytes from modem, data looks like: 1b  .<br>
got 1 bytes from modem, data looks like: f6  .<br>
got 1 bytes from modem, data looks like: 02  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: 45  E<br>
got 1 bytes from modem, data looks like: 53  S<br>
got 1 bytes from modem, data looks like: 16  .<br>
Received DOWNLOAD NACK from phone, something went wrong :(<br>
got 1 bytes from modem, data looks like: 66  f<br>
got 1 bytes from modem, data looks like: 74  t<br>
got 1 bytes from modem, data looks like: 6d  m<br>
got 1 bytes from modem, data looks like: 74  t<br>
got 1 bytes from modem, data looks like: 6f  o<br>
got 1 bytes from modem, data looks like: 6f  o<br>
got 1 bytes from modem, data looks like: 6c  l<br>
Received FTMTOOL from phone, ramloader has aborted<br>
got 1 bytes from modem, data looks like: 65  e<br>
got 1 bytes from modem, data looks like: 72  r<br>
got 1 bytes from modem, data looks like: 72  r<br>
got 1 bytes from modem, data looks like: 6f  o<br>
got 1 bytes from modem, data looks like: 72  r<br>
got 1 bytes from modem, data looks like: 00  .</span></font><span
lang=EN-US><br>
<br>
<br>
If you have USB adapter (I guess you have), you dont need to check model, check
'lsusb'<br>
<br>
</span><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'>[root@amilo osmocon]# lsusb<br>
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br>
<b><span style='font-weight:bold'>Bus 002 Device 017: ID 067b:2303 Prolific
Technology, Inc. PL2303 <st1:place w:st="on"><st1:PlaceName w:st="on">Serial</st1:PlaceName>
 <st1:PlaceType w:st="on">Port</st1:PlaceType></st1:place></span></b></span></font><span
lang=EN-US><br>
<br>
If you have Prolific, which is very common, I encourage you to use xor flag.
You can also try to switch on your phone to check if original<br>
firmware boots. I experienced during my early tests, that phone crashed
(probably SRAM) and it was unable to boot even original fw. In case phone is
crashed, reconnect battery and it will fix itself.<br>
<br>
Here is the ACK after hello world load:<br>
<br>
</span><font size=2 face="Courier New"><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'>handle_write(): 768 bytes (17919/19787)<br>
handle_write(): 768 bytes (18687/19787)<br>
handle_write(): 768 bytes (19455/19787)<br>
handle_write(): 332 bytes (19787/19787)<br>
handle_write(): finished<br>
got 1 bytes from modem, data looks like: 1b  .<br>
got 1 bytes from modem, data looks like: f6  .<br>
got 1 bytes from modem, data looks like: 02  .<br>
got 1 bytes from modem, data looks like: 00  .<br>
got 1 bytes from modem, data looks like: 41  A<br>
got 1 bytes from modem, data looks like: 03  .<br>
got 1 bytes from modem, data looks like: 42  B<br>
Received DOWNLOAD ACK from phone, your code is running now!<br>
<br>
<br>
OSMOCOM Hello World (revision osmocon_v0.0.0-754-gb5abcb6-modified)<br>
======================================================================<br>
Device ID code: 0xb4fb<br>
Device Version code: 0x0000<br>
ARM ID code: 0xfff3<br>
cDSP ID code: 0x0128<br>
Die ID code: efce3b1ce1001255<br>
======================================================================<br>
REG_DPLL=0x2413<br>
CNTL_ARM_CLK=0xf0a1<br>
CNTL_CLK=0xff91<br>
CNTL_RST=0xfff3<br>
CNTL_ARM_DIV=0xfff9<br>
==============================================</span></font><span lang=EN-US><br>
<br>
<br>
Looking forward your response,<br>
<br>
Tomas<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Hi
Tomas, <o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>thanks
for your feedback.<o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Actually,
I've tried both flags (woth/without xor extension), but hte result is the same.<o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>So,
in your opinioni, the problem could depend on the cable?<o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>I
don't have the cable model now, but I can send you this information Tuesday.<o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Thanks
again.<o:p></o:p></span></font></p>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>cheers.<o:p></o:p></span></font></p>

<p style='margin-bottom:12.0pt'><font size=3 color=black face=宋体><span
lang=EN-US style='font-size:12.0pt'>lia<o:p></o:p></span></font></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'>----Messaggio originale----<br>
Da: <a href="mailto:deacon@volny.cz">deacon@volny.cz</a><br>
Data: 16-gen-2011 4.26<br>
A: <a href="mailto:list_mailing@libero.it"><list_mailing@libero.it></a><br>
ubut Ogg: Re: C115 loader.compalram.bin<br>
<br>
<!--
    
  -->Hello,<br>
I have C115 too and I use '-m c123xor' switch, the phone mostly boots on 1st
button push  (I never reacher full load with '-m c123').<br>
<br>
</span></font><font face="Courier New"><span lang=EN-US style='font-family:
"Courier New"'>./osmocon -p /dev/ttyUSB0 -m c123xor
../../target/firmware/board/compal_e88/hello_world.compalram.bin<br>
./osmocon -p /dev/ttyUSB0 -m c123xor ../../target/firmware/board/compal_e88/loader.compalram.bin</span></font><span
lang=EN-US><br>
</span><font face="Courier New"><span lang=EN-US style='font-family:"Courier New"'>./osmocon
-p /dev/ttyUSB0 -m c123xor
../../target/firmware/board/compal_e88/layer1.compalram.bin</span></font><span
lang=EN-US><br>
<br>
I have FTDI USB<->RS232 + Calypso serial. When load fails (with xor), I
have a feeling that it helps reconnection cable to the phone.<br>
(I have also Calypso USB cable which I haven't tested yet, will report later.)<br>
<br>
- Tomas<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'
cite="mid:30082936.3551511295024795318.JavaMail.defaultUser@defaultHost"
type=cite><pre wrap=""><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'>Hello.<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>I'm trying to load the loader.compalram.bin. <o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>The behaviour is very strange because sometimes the download is complete and <o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>successfull, sometimes; in particular, in this case, the download is complete, <o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>but any ACK is sent back from the mobile phone (see below). <o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>./osmocon -p /dev/ttyUSB0 -m c123 ../..<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>/target/firmware/board/compal_e99/loader.compalram.bin<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 2 bytes from modem, data looks like: 2e c8  ..<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 5 bytes from modem, data looks like: 1b f6 02 00 41  ....A<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 01  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 40  @<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Received PROMPT1 from phone, responding with CMD<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>read_file(../../target/firmware/board/compal_e99/loader.compalram.bin): <o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>file_size=21752, hdr_len=4, dnload_len=21759<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 1b  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: f6  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 02  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 00  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 41  A<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 02  .<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>got 1 bytes from modem, data looks like: 43  C<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Received PROMPT2 from phone, starting download<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 4096 bytes (4096/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 4096 bytes (8192/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 4096 bytes (12288/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 4096 bytes (16384/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 4096 bytes (20480/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): 1279 bytes (21759/21759)<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>handle_write(): finished<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>The target phone is C115. I tried compal_exx and the result is the same :-(<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Please, can someone help me to understand the reasons?<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'>Thanks in advance.<o:p></o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre><pre><font
size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></pre></blockquote>

<p class=MsoNormal><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 color=black
face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</blockquote>

<p><font size=3 color=black face=宋体><span lang=EN-US style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 color=black face=宋体><span lang=EN-US
style='font-size:12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>