<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div> </div>

<div>dot know why.... but now it works....</div>

<div> </div>

<div> </div>

<div> 
<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Samstag, 18. Februar 2017 um 10:06 Uhr<br/>
<b>Von:</b> "Dennis Schneck" <dennisschneck@web.de><br/>
<b>An:</b> baseband-devel@lists.osmocom.org<br/>
<b>Betreff:</b> Flashing Problem: C117 - additional info</div>

<div name="quoted-content">
<div style="font-family: Verdana;font-size: 12.0px;">
<div style="font-family: Verdana;font-size: 12.0px;">
<div> </div>

<div>Hello,</div>

<div>i try to Flash a Motorola C117. But did not work ... what did i wrong ?</div>

<div> </div>

<div>
<div>$ sudo host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/compal_e88/loader.compalram.bin<br/>
got 1 bytes from modem, data looks like: 00  .<br/>
got 2 bytes from modem, data looks like: 00 00  ..<br/>
got 4 bytes from modem, data looks like: 1b f6 02 00  ....<br/>
got 1 bytes from modem, data looks like: 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/loader.compalram.bin): file_size=27072, hdr_len=4, dnload_len=27079<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/27079)<br/>
handle_write(): 4096 bytes (8192/27079)<br/>
handle_write(): 4096 bytes (12288/27079)<br/>
handle_write(): 4096 bytes (16384/27079)<br/>
handle_write(): 4096 bytes (20480/27079)<br/>
handle_write(): 4096 bytes (24576/27079)<br/>
handle_write(): 2503 bytes (27079/27079)<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/>
Received DOWNLOAD ACK from phone, your code is running now!<br/>
battery_compal_e88_init: starting up</div>

<div><br/>
OsmocomBB Loader (revision osmocon_v0.0.0-1773-g0cdf4b0-modified)<br/>
======================================================================<br/>
Running on compal_e88 in environment compalram</div>

<div> </div>

<div> </div>

<div>
<div>$ sudo host/osmocon/osmoload memdump 0x000000 0x2000 compal_loader.bin<br/>
[sudo] password for builder:<br/>
Dumping 8192 bytes of memory at 0x0 to file compal_loader.bin<br/>
...................................done.<br/>
builder@buildervm:~/build/osmocom-bb/src$ sudo host/osmocon/osmoload funlock 0x010000 0x10000<br/>
Unlocking 65536 bytes of flash at 0x10000<br/>
  requesting flash info to determine block layout<br/>
    chip 0 at 0x00000000 of 2097152 bytes in 2 regions<br/>
      region 0 with 31 blocks of 65536 bytes each<br/>
        block 0 with 65536 bytes at 0x00000000 on chip 0<br/>
        block 1 with 65536 bytes at 0x00010000 on chip 0<br/>
        block 2 with 65536 bytes at 0x00020000 on chip 0<br/>
        block 3 with 65536 bytes at 0x00030000 on chip 0<br/>
        block 4 with 65536 bytes at 0x00040000 on chip 0<br/>
        block 5 with 65536 bytes at 0x00050000 on chip 0<br/>
        block 6 with 65536 bytes at 0x00060000 on chip 0<br/>
        block 7 with 65536 bytes at 0x00070000 on chip 0<br/>
        block 8 with 65536 bytes at 0x00080000 on chip 0<br/>
        block 9 with 65536 bytes at 0x00090000 on chip 0<br/>
        block 10 with 65536 bytes at 0x000a0000 on chip 0<br/>
        block 11 with 65536 bytes at 0x000b0000 on chip 0<br/>
        block 12 with 65536 bytes at 0x000c0000 on chip 0<br/>
        block 13 with 65536 bytes at 0x000d0000 on chip 0<br/>
        block 14 with 65536 bytes at 0x000e0000 on chip 0<br/>
        block 15 with 65536 bytes at 0x000f0000 on chip 0<br/>
        block 16 with 65536 bytes at 0x00100000 on chip 0<br/>
        block 17 with 65536 bytes at 0x00110000 on chip 0<br/>
        block 18 with 65536 bytes at 0x00120000 on chip 0<br/>
        block 19 with 65536 bytes at 0x00130000 on chip 0<br/>
        block 20 with 65536 bytes at 0x00140000 on chip 0<br/>
        block 21 with 65536 bytes at 0x00150000 on chip 0<br/>
        block 22 with 65536 bytes at 0x00160000 on chip 0<br/>
        block 23 with 65536 bytes at 0x00170000 on chip 0<br/>
        block 24 with 65536 bytes at 0x00180000 on chip 0<br/>
        block 25 with 65536 bytes at 0x00190000 on chip 0<br/>
        block 26 with 65536 bytes at 0x001a0000 on chip 0<br/>
        block 27 with 65536 bytes at 0x001b0000 on chip 0<br/>
        block 28 with 65536 bytes at 0x001c0000 on chip 0<br/>
        block 29 with 65536 bytes at 0x001d0000 on chip 0<br/>
        block 30 with 65536 bytes at 0x001e0000 on chip 0<br/>
      region 1 with 8 blocks of 8192 bytes each<br/>
        block 31 with 8192 bytes at 0x001f0000 on chip 0<br/>
        block 32 with 8192 bytes at 0x001f2000 on chip 0<br/>
        block 33 with 8192 bytes at 0x001f4000 on chip 0<br/>
        block 34 with 8192 bytes at 0x001f6000 on chip 0<br/>
        block 35 with 8192 bytes at 0x001f8000 on chip 0<br/>
        block 36 with 8192 bytes at 0x001fa000 on chip 0<br/>
        block 37 with 8192 bytes at 0x001fc000 on chip 0<br/>
        block 38 with 8192 bytes at 0x001fe000 on chip 0<br/>
  confirmed operation on chip 0 address 0x00010000, status FAILED<br/>
  operation done</div>

<div> </div>

<div> </div>

<div>Additional Info:   now it did not work to load the loader to RAM</div>

<div> </div>

<div>
<div>Received PROMPT1 from phone, responding with CMD<br/>
read_file(target/firmware/board/compal_e88/loader.compalram.bin): file_size=27952, hdr_len=4, dnload_len=27959<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</div>

<div> </div>
</div>

<div> </div>
</div>

<div>Thanks</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>