<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi All GNUMonks,<br><br>I am adding the log output here for reference as suggesed by Sylvain:<br><br>Mobile Output:<br><br><000e> sim.c:949 command successfull<br><000e> sim.c:571 GET RESPONSE (len=19)<br><000e> sim.c:187 sending APDU (class 0xa0, ins 0xc0)<br><000e> sim.c:876 received APDU (len=19 sw1=0x90 sw2=0x00)<br><000e> sim.c:949 command successfull<br><000e> sim.c:277 READ BINARY (offset=0 len=2)<br><000e> sim.c:187 sending APDU (class 0xa0, ins 0xb0)<br><000e> sim.c:876 received APDU (len=2 sw1=0x90 sw2=0x00)<br><000e> sim.c:949 command successfull<br><000e> sim.c:151 sending result to callback function (type=0)<br><0004> subscriber.c:442 received ACC 0040 from SIM<br><0004> subscriber.c:556 Requesting SIM file 0x6f7b<br><000e> sim.c:209 got new job: SIM_JOB_READ_BINARY
 (handle=00000004)<br><000e> sim.c:241 SELECT (file=0x6f7b)<br><000e> sim.c:187 sending APDU (class 0xa0, ins 0xa4)<br><000e> sim.c:876 received APDU (len=0 sw1=0x9f sw2=0x13)<br><000e> sim.c:949 command successfull<br><000e> sim.c:571 GET RESPONSE (len=19)<br><000e> sim.c:187 sending APDU (class 0xa0, ins 0xc0)<br><000e> sim.c:876 received APDU (len=19 sw1=0x90 sw2=0x00)<br><000e> sim.c:949 command successfull<br><000e> sim.c:277 READ BINARY (offset=0 len=12)<br><000e> sim.c:187 sending APDU (class 0xa0, ins 0xb0)<br><000e> sim.c:876 received APDU (len=12 sw1=0x90 sw2=0x00)<br><000e> sim.c:949 command successfull<br><000e> sim.c:151 sending result to callback function (type=0)<br><0004> subscriber.c:518 (ms 1) Done reading SIM card (IMSI=420012300358346 Saudi Arabia, Al Jawal)<br><0004> subscriber.c:530 -> SIM card registered to 420 01 (Saudi Arabia, Al
 Jawal)<br><0004> gsm48_mm.c:4160 (ms 1) Received 'MMR_REG_REQ' event<br><0002> gsm322.c:3176 (ms 1) Event 'EVENT_SIM_INSERT' for automatic PLMN selection in state 'A0 null'<br><000d> gsm322.c:1090 Start search of last registered PLMN (mcc=420 mnc=01  Saudi Arabia, Al Jawal)<br><0002> gsm322.c:1094 Use RPLMN (mcc=420 mnc=01  Saudi Arabia, Al Jawal)<br><0002> gsm322.c:530 new state 'A0 null' -> 'A1 trying RPLMN'<br><0003> gsm322.c:3396 (ms 1) Event 'EVENT_NEW_PLMN' for Cell selection in state 'C0 null'<br><000d> gsm322.c:3007 Selecting network (mcc=420 mnc=01  Saudi Arabia, Al Jawal)<br><0003> gsm322.c:3013 Start stored cell selection.<br><0003> gsm322.c:559 new state 'C0 null' -> 'C2 stored cell selection'<br><br>Layer1: Output<br><br>read_file(../../target/firmware/board/compal_e86/layer1.compalram.bin): file_size=54736, hdr_len=4, dnload_len=54743<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: 02  .<br>got 1 bytes from modem, data looks like: 43  C<br>Received PROMPT2 from phone, starting download<br>handle_write(): 4096 bytes (4096/54743)<br>handle_write(): 4096 bytes (8192/54743)<br>handle_write(): 4096 bytes (12288/54743)<br>handle_write(): 4096 bytes (16384/54743)<br>handle_write(): 4096 bytes (20480/54743)<br>handle_write(): 4096 bytes (24576/54743)<br>handle_write(): 4096 bytes (28672/54743)<br>handle_write(): 4096 bytes (32768/54743)<br>handle_write(): 4096 bytes (36864/54743)<br>handle_write(): 4096 bytes (40960/54743)<br>handle_write(): 4096 bytes (45056/54743)<br>handle_write(): 4096 bytes (49152/54743)<br>handle_write(): 4096 bytes
 (53248/54743)<br>handle_write(): 1495 bytes (54743/54743)<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 Layer 1 (revision osmocon_v0.0.0-906-g5bbea93-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:
 e144263d880014fd<br>======================================================================<br>REG_DPLL=0x2413<br>CNTL_ARM_CLK=0xf0a1<br>CNTL_CLK=0xff91<br>CNTL_RST=0xfff3<br>CNTL_ARM_DIV=0xfff9<br>======================================================================<br>Power up simcard:<br>Assert DSP into Reset<br>Releasing DSP from Reset<br>Setting some dsp_api.ndb values<br>Setting API NDB parameters<br>DSP Download Status: 0x0001<br>DSP API Version: 0x0000 0x0000<br>Finishing download phase<br>DSP Download Status: 0x0002<br>DSP API Version: 0x3606 0x0000<br>LOST 1174!<br>SIM Request (7): a0 a4 00 00 02 3f 00 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0 00 00 23 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 2f e2 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 0a <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 7f 20 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0 00 00 23
 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 07 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 09 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 7e <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 0b <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 3f 00 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0 00 00 23 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 7f 10 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0 00 00 23 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 40 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 84 <br>Status 1: 94 08<br>SIM Request (7): a0 a4 00 00 02 3f 00 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0 00 00 23 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 7f 20 <br>Status 2: 9F 23<br>SIM Request (5): a0 c0
 00 00 23 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 20 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 09 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 30 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 3c <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 31 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 01 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 46 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 11 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 78 <br>Status 2: 9F 13<br>SIM Request (5): a0 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 02 <br>Status 1: 90 00<br>SIM Request (7): a0 a4 00 00 02 6f 7b <br>Status 2: 9F 13<br>SIM Request (5): a0
 c0 00 00 13 <br>Status 1: 90 00<br>SIM Request (5): a0 b0 00 00 0c <br>Status 1: 90 00<br><br><br><br><br>--- On <b>Sun, 6/12/11, Basem Ahmed <i><eng_basemm@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Basem Ahmed <eng_basemm@yahoo.com><br>Subject: Re: Facing issues in using OSMOCOM<br>To: "baseband-devel" <baseband-devel@lists.osmocom.org><br>Cc: "Sylvain Munaut" <246tnt@gmail.com><br>Date: Sunday, June 12, 2011, 9:55 PM<br><br><div id="yiv218213767"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font:inherit;" valign="top"><br><font class="yiv218213767Apple-style-span" face="arial" size="2">Dear All,</font><div style="font-family:arial;font-size:10pt;"><br></div><div style="font-family:arial;font-size:10pt;">sorry for the previous mistake .</div><div style="font-family:arial;font-size:10pt;">Actually I am trying
 to run the Mobile project but i have some issues there .let me telling you all the procedures i made :</div><div style="font-family:arial;font-size:10pt;"><br></div><div style="font-family:arial;font-size:10pt;">1-git clone the osmocom project</div><div style="font-family:arial;font-size:10pt;">2-make the checkout (git checkout origin/sylvain/testing )</div><div style="font-family:arial;font-size:10pt;">3-compiling the project(it works after some modification of TX transmitter enable)</div><div style="font-family:arial;font-size:10pt;">4-run the
 loader.compalram.bin(running perfectly)</div><div style="font-family:arial;font-size:10pt;">5-run the layer1.comalram.bin</div><div style="font-family:arial;font-size:10pt;">6-run telnet localhost and enabling the ms 1</div><div style="font-family:arial;font-size:10pt;">7-run the mobile the project</div><div style="font-family:arial;font-size:10pt;">8-press the power on buttons</div><div><font class="yiv218213767Apple-style-span" face="arial" size="2">for mobile application    ===>it keeps running perfectly exactly as you did in the demo and its says it complete reading the SIM and giving my network name but it stop before checking the network signals  at the line:</font></div><div style="font-family:arial;font-size:10pt;"><b>selection network(mcc=420 aljawal  )</b></div><div style="font-family:arial;font-size:10pt;"><b>start stored cell selection</b></div><div style="font-family:arial;
font-size:10pt;"><b><003> gsm322.c:559 new state 'C0 null' ->'C2 stored cell Selection' .</b></div><div><font class="yiv218213767Apple-style-span" face="arial" size="2">for the layer1 application===>it downloading successfully and it keeps synchronized with mobile application keep SIM requesting till the line:</font></div><div style="font-family:arial;font-size:10pt;"><b>sim request (5): a0 b0 00 00 0c</b></div><div style="font-family:arial;font-size:10pt;"><b>Staus 1:90 00</b></div><div style="font-family:arial;font-size:10pt;"><br></div><div style="font-family:arial;font-size:10pt;">Hoping to hear from you soon.<br></div><div style="font-family:arial;font-size:10pt;">regard,</div><div style="font-family:arial;font-size:10pt;">--- On <b>Sun, 6/12/11, Sylvain Munaut <i><246tnt@gmail.com></i></b> wrote:<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><br>From: Sylvain
 Munaut <246tnt@gmail.com><br>Subject: Re: Facing issues in using OSMOCOM<br>To: "Basem Ahmed" <eng_basemm@yahoo.com>, "baseband-devel" <baseband-devel@lists.osmocom.org><br>Date: Sunday, June 12, 2011, 7:21 PM<br><br><div class="yiv218213767plainMail">> How are you? Refer to below mail.<br><br>I read the mailing list, please do not send to me directly. Only CC me<br>(and CC, not a separate mail forward please) if you're posting a patch<br>and you want me to review it and merge it.<br><br>If I have an answer, I will answer ...  (but in this case, from your<br>description it seems like a 'mobile' problem which I virtually never<br>use, so I may not have an answer at all)<br><br><br>> I am able to download the loader.compalram.bin and layer1.compalram.bin and running the mobile project.  I am also using the telnet for configuration.  But it is stopping at following some state mentioned in attached file.<br><br>Sorry,
 but if you
 attach .docx file, there is zero chance I'm gonna look at it.<br><br>1) .docx is a proprietary format, don't expect people can read it<br>2) Even if this was a open document ( .ods or so ), I don't use office<br>suite at all.<br>3) A .txt attachement still requires me to download it and look at it ...<br>4) In general, to maximize your chance of getting an answer, you have<br>to do your best to minimize the work to be done by the people you want<br>to help you. In this particular case:<br><br> - You properly included a description of your setup and up to where<br>you got, that's great.<br> - What's missing is a 'snippet' of the log with the 'state' it seems locked it.<br> - Then at the end of the mail, cut and paste the complete logs (both<br>from osmocon and from the mobile app).<br> - If possible avoid HTML mail as well ...<br><br><br>(don't take all this bad and/or personally, just trying to help you<br>maximize your chance of getting the answers
 you're looking for).<br><br><br>Cheers,<br><br>    Sylvain<br></div></blockquote></div></td></tr></tbody></table></div></blockquote></td></tr></table>