<p>What serial chip are you using?</p>
<p>Enviado desde el móvil</p>
<div class="gmail_quote">El 25/04/2011 16:14, "吴彤" <<a href="mailto:cnwutong@gmail.com">cnwutong@gmail.com</a>> escribió:<br type="attribution">> Hi all,<br>> <br>> Working with a C118 and everything was fine with the master branch, then<br>
> switched to the burst_ind branch and complied successfully, when running:<br>> <br>> $  ./osmocon -p /dev/ttyUSB0 -m c123xor<br>> ../../target/firmware/board/compal_e88/layer1.compalram.bin<br>> got 1 bytes from modem, data looks like: 2f  /<br>
> got 1 bytes from modem, data looks like: 00  .<br>> got 5 bytes from modem, data looks like: 1b f6 02 00 41  ....A<br>> got 1 bytes from modem, data looks like: 01  .<br>> got 1 bytes from modem, data looks like: 40  @<br>
> Received PROMPT1 from phone, responding with CMD<br>> read_file(../../target/firmware/board/compal_e88/layer1.compalram.bin):<br>> file_size=48564, hdr_len=4, dnload_len=48571<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/48571)<br>> handle_write(): 4096 bytes (8192/48571)<br>> handle_write(): 4096 bytes (12288/48571)<br>
> handle_write(): 4096 bytes (16384/48571)<br>> handle_write(): 4096 bytes (20480/48571)<br>> handle_write(): 4096 bytes (24576/48571)<br>> handle_write(): 4096 bytes (28672/48571)<br>> handle_write(): 4096 bytes (32768/48571)<br>
> handle_write(): 4096 bytes (36864/48571)<br>> handle_write(): 4096 bytes (40960/48571)<br>> handle_write(): 4096 bytes (45056/48571)<br>> handle_write(): 3515 bytes (48571/48571)<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>> ioctl(TIOCSSERIAL): Invalid argument<br>
> <br>> $ ./mobile<br>> Copyright (C) 2008-2010 ...<br>> Contributions by ...<br>> <br>> License GPLv2+: GNU GPL version 2 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a><br>
>><br>> This is free software: you are free to change and redistribute it.<br>> There is NO WARRANTY, to the extent permitted by law.<br>> <br>> VTY available on port 4247.<br>> No Mobile Station defined, creating: MS '1'<br>
> <000e> sim.c:1206 init SIM client<br>> <0005> gsm48_cc.c:61 init Call Control<br>> <0001> gsm48_rr.c:4944 init Radio Ressource process<br>> <0004> gsm48_mm.c:1220 init Mobility Management process<br>
> <0004> gsm48_mm.c:971 Selecting PLMN SEARCH state, because no SIM.<br>> <0002> gsm322.c:3471 init PLMN process<br>> <0003> gsm322.c:3472 init Cell Selection process<br>> <0003> gsm322.c:3526 No stored BA list<br>
> Mobile '1' initialized, please start phone now!<br>> <br>> then no reaction with the mobile application either rebooting the phone<br>> (press power bottom) or not, for layer23 application acts the same.<br>
> <br>> tried to search for the message "ioctl(TIOCSSERIAL): Invalid argument" but<br>> failed to get any useful information.<br>> <br>> could anyone help and many thanks for your time and considerations!<br>
> <br>> best regards,<br>> <br>> flaw<br></div>