Bug #1024 (oscillating re-camping), the story goes on...

2009-03-31 Thread Timo Juhani Lindfors
 Also if anyone observing #1024 wants to help and make some
 traces, please let us know. Tracing is not that complicated,
 all what is needed is a cable to connect the optional debug
 UART from the headset to a terminal and record the data.

I connected the usart of my AVR (at90usbkey demo board) to the headset
and configured it to 115200 8N1. I then did gpio J6=0 and powered up
the gsm modem. I can receive data but it does not make any sense to
me. Is it really binary data or are serial port parameters wrong?

Here's how it starts after poweron:

  08 0a 83 0a 90 0a 80 0a  90 0a 12 0a c1 0a 80 0a  |Á...|
0010  00 0a c1 0a 7c 0a c0 0a  02 0a 90 0a 00 0a 3e 0a  |..Á.|.À|
0020  18 0a d1 0a b6 0a a2 0a  80 0a 96 0a 01 0a 80 0a  |..Ñ.¶.¢.|
0030  96 0a 90 0a 00 0a c3 0a  fc 0a 80 0a 94 0a 41 0a  |..Ã.ü.A.|
0040  52 0a 80 0a 96 0a 41 0a  72 0a b8 0a 41 0a 80 0a  |R.A.r.¸.A...|
0050  96 0a 03 0a 52 0a 38 0a  41 0a 80 0a 18 0a ab 0a  |R.8.A.«.|
0060  82 0a d1 0a f8 0a 82 0a  18 0a a9 0a 82 0a 82 0a  |..Ñ.ø.©.|
0070  18 0a ab 0a a0 0a 94 0a  80 0a b4 0a 80 0a b4 0a  |..«. .´...´.|
0080  a2 0a 80 0a 94 0a b2 0a  d1 0a d1 0a f8 0a 91 0a  |¢.².Ñ.Ñ.ø...|
0090  d1 0a f8 0a 93 0a d1 0a  f8 0a 93 0a d1 0a fa 0a  |Ñ.ø...Ñ.ø...Ñ.ú.|
00a0  d1 0a f8 0a 91 0a 80 0a  96 0a a3 0a 80 0a b6 0a  |Ñ.ø...£...¶.|
00b0  b3 0a 80 0a b6 0a a3 0a  82 0a 18 0a ab 0a 82 0a  |³...¶.£.«...|
00c0  18 0a ab 0a 82 0a 1a 0a  ab 0a b2 0a b4 0a a0 0a  |..«.«.².´. .|
00d0  80 0a d4 0a 80 0a d4 0a  96 0a 80 0a 96 0a 94 0a  |..Ô...Ô.|
00e0  d1 0a f8 0a 91 0a d1 0a  f8 0a d1 0a f8 0a 91 0a  |Ñ.ø...Ñ.ø.Ñ.ø...|
00f0  80 0a 96 0a b3 0a 80 0a  96 0a a3 0a fa 0a 91 0a  |³.£.ú...|
0100  18 0a fa 0a 91 0a f8 0a  93 0a b0 0a f8 0a 91 0a  |..ú...ø...°.ø...|
0110  01 0a a0 0a 23 0a 41 0a  00 0a 82 0a 41 0a 00 0a  |.. .#.A.A...|
0120  82 0a a2 0a 14 0a f8 0a  d1 0a d8 0a d1 0a f8 0a  |..¢...ø.Ñ.Ø.Ñ.ø.|
0130  d1 0a f8 0a 93 0a b0 0a  80 0a b4 0a 80 0a d4 0a  |Ñ.ø...°...´...Ô.|
0140  80 0a d4 0a 49 0a 80 0a  94 0a 80 0a 94 0a a2 0a  |..Ô.I.¢.|
0150  80 0a b4 0a 82 0a 94 0a  a2 0a d1 0a f8 0a d1 0a  |..´.¢.Ñ.ø.Ñ.|
0160  fa 0a d1 0a fa 0a 91 0a  d1 0a f8 0a d1 0a f8 0a  |ú.Ñ.ú...Ñ.ø.Ñ.ø.|
0170  d1 0a f8 0a 93 0a b0 0a  80 0a 96 0a 82 0a b6 0a  |Ñ.ø...°...¶.|
0180  80 0a b6 0a b2 0a 80 0a  96 0a 80 0a 96 0a b2 0a  |..¶.².².|
0190  80 0a b6 0a a2 0a 80 0a  b6 0a 15 0a d1 0a f8 0a  |..¶.¢...¶...Ñ.ø.|
01a0  d1 0a fa 0a d1 0a f8 0a  91 0a d1 0a f8 0a d1 0a  |Ñ.ú.Ñ.ø...Ñ.ø.Ñ.|
01b0  d8 0a 91 0a d1 0a fa 0a  80 0a 96 0a a3 0a 80 0a  |Ø...Ñ.ú.£...|
01c0  18 0a 82 0a 18 0a a9 0a  82 0a 38 0a 82 0a 18 0a  |..©...8.|
01d0  82 0a 1a 0a 94 0a d8 0a  91 0a 01 0a a0 0a 23 0a  |..Ø. .#.|
01e0  41 0a 00 0a 41 0a 00 0a  41 0a 00 0a 41 0a 00 0a  |A...A...A...A...|
01f0  82 0a 18 0a ab 0a b2 0a  3a 0a f8 0a 82 0a b4 0a  |«.².:.ø...´.|
0200  94 0a 80 0a d4 0a 80 0a  d4 0a 94 0a 80 0a 94 0a  |Ô...Ô...|
0210  82 0a 94 0a 94 0a 80 0a  b4 0a 80 0a b4 0a f8 0a  |´...´.ø.|
0220  91 0a b0 0a 90 0a 80 0a  91 0a b0 0a 90 0a 80 0a  |..°...°.|
0230  18 0a 80 0a b0 0a 90 0a  80 0a 18 0a 82 0a 90 0a  |°...|
0240  82 0a 18 0a 82 0a 18 0a  80 0a d4 0a 49 0a 18 0a  |..Ô.I...|
0250  82 0a d4 0a a0 0a a0 0a  23 0a c3 0a e2 0a 10 0a  |..Ô. . .#.Ã.â...|
0260  a0 0a 23 0a c3 0a e0 0a  10 0a d1 0a a0 0a 23 0a  | .#.Ã.à...Ñ. .#.|
0270  c3 0a e0 0a 61 0a 62 0a  58 0a b3 0a 18 0a 00 0a  |Ã.à.a.b.X.³.|
0280  a0 0a 23 0a c3 0a e2 0a  10 0a d1 0a e2 0a 94 0a  | .#.Ã.â...Ñ.â...|
0290  b4 0a a0 0a 01 0a 90 0a  80 0a 94 0a a2 0a 90 0a  |´. .¢...|
02a0  80 0a 00 0a 82 0a 94 0a  c1 0a 90 0a 80 0a 80 0a  |Á...|
02b0  94 0a a2 0a 90 0a 80 0a  02 0a 80 0a 94 0a c1 0a  |..¢...Á.|
02c0  90 0a 80 0a 00 0a 80 0a  94 0a a2 0a 90 0a 80 0a  |..¢.|
02d0  00 0a 80 0a 94 0a 11 0a  90 0a 80 0a 00 0a 90 0a  ||
02e0  23 0a c3 0a e0 0a 10 0a  60 0a 58 0a b3 0a 18 0a  |#.Ã.à...`.X.³...|
02f0  00 0a c3 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 0a  |..Ã.#.Ã.â...Ñ.ø.|
0300  62 0a 58 0a b1 0a 18 0a  00 0a c1 0a 23 0a c3 0a  |b.X.±.Á.#.Ã.|
0310  e0 0a 10 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 0a  |à...#.Ã.â...Ñ.ø.|
0320  a2 0a 91 0a 94 0a b3 0a  44 0a a0 0a 82 0a b4 0a  |¢.³.D. ...´.|
0330  c9 0a 90 0a 80 0a 00 0a  80 0a b4 0a b2 0a 90 0a  |É.´.²...|
0340  80 0a 00 0a d1 0a f8 0a  91 0a b0 0a d1 0a fa 0a  |Ñ.ø...°.Ñ.ú.|
0350  93 0a b0 0a 90 0a 80 0a  00 0a c3 0a fc 0a b0 0a  |..°...Ã.ü.°.|
0360  90 0a 80 0a d1 0a f8 0a  91 0a b0 0a 90 0a 82 0a  |Ñ.ø...°.|
0370  b4 0a a2 0a 90 0a 80 0a  00 0a 01 0a b4 0a c1 0a  |´.¢.´.Á.|

best regards,
Timo 

Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-31 Thread Joerg Reisenweber
Am Di  31. März 2009 schrieb Timo Juhani Lindfors:
  Also if anyone observing #1024 wants to help and make some
  traces, please let us know. Tracing is not that complicated,
  all what is needed is a cable to connect the optional debug
  UART from the headset to a terminal and record the data.
 
 I connected the usart of my AVR (at90usbkey demo board) to the headset
 and configured it to 115200 8N1. I then did gpio J6=0 and powered up
 the gsm modem. I can receive data but it does not make any sense to
 me. Is it really binary data or are serial port parameters wrong?
 
 Here's how it starts after poweron:
 
   08 0a 83 0a 90 0a 80 0a  90 0a 12 0a c1 0a 80 
0a  |Á...|
 0010  00 0a c1 0a 7c 0a c0 0a  02 0a 90 0a 00 0a 3e 
0a  |..Á.|.À|
 0020  18 0a d1 0a b6 0a a2 0a  80 0a 96 0a 01 0a 80 0a  |..Ñ.¶.
¢.|
 0030  96 0a 90 0a 00 0a c3 0a  fc 0a 80 0a 94 0a 41 
0a  |..Ã.ü.A.|
 0040  52 0a 80 0a 96 0a 41 0a  72 0a b8 0a 41 0a 80 0a  |
R.A.r.¸.A...|
 0050  96 0a 03 0a 52 0a 38 0a  41 0a 80 0a 18 0a ab 
0a  |R.8.A.«.|
 0060  82 0a d1 0a f8 0a 82 0a  18 0a a9 0a 82 0a 82 
0a  |..Ñ.ø.©.|
 0070  18 0a ab 0a a0 0a 94 0a  80 0a b4 0a 80 0a b4 0a  |..«. .´...
´.|
 0080  a2 0a 80 0a 94 0a b2 0a  d1 0a d1 0a f8 0a 91 0a  |
¢.².Ñ.Ñ.ø...|
 0090  d1 0a f8 0a 93 0a d1 0a  f8 0a 93 0a d1 0a fa 0a  |
Ñ.ø...Ñ.ø...Ñ.ú.|
 00a0  d1 0a f8 0a 91 0a 80 0a  96 0a a3 0a 80 0a b6 0a  |Ñ.ø...
£...¶.|
 00b0  b3 0a 80 0a b6 0a a3 0a  82 0a 18 0a ab 0a 82 0a  |³...¶.
£.«...|
 00c0  18 0a ab 0a 82 0a 1a 0a  ab 0a b2 0a b4 0a a0 0a  |..«.«.².
´. .|
 00d0  80 0a d4 0a 80 0a d4 0a  96 0a 80 0a 96 0a 94 
0a  |..Ô...Ô.|
 00e0  d1 0a f8 0a 91 0a d1 0a  f8 0a d1 0a f8 0a 91 0a  |
Ñ.ø...Ñ.ø.Ñ.ø...|
 00f0  80 0a 96 0a b3 0a 80 0a  96 0a a3 0a fa 0a 91 0a  |³.
£.ú...|
 0100  18 0a fa 0a 91 0a f8 0a  93 0a b0 0a f8 0a 91 0a  |..ú...ø...
°.ø...|
 0110  01 0a a0 0a 23 0a 41 0a  00 0a 82 0a 41 0a 00 
0a  |.. .#.A.A...|
 0120  82 0a a2 0a 14 0a f8 0a  d1 0a d8 0a d1 0a f8 0a  |..
¢...ø.Ñ.Ø.Ñ.ø.|
 0130  d1 0a f8 0a 93 0a b0 0a  80 0a b4 0a 80 0a d4 0a  |Ñ.ø...°...
´...Ô.|
 0140  80 0a d4 0a 49 0a 80 0a  94 0a 80 0a 94 0a a2 0a  |..Ô.I.
¢.|
 0150  80 0a b4 0a 82 0a 94 0a  a2 0a d1 0a f8 0a d1 0a  |..´.
¢.Ñ.ø.Ñ.|
 0160  fa 0a d1 0a fa 0a 91 0a  d1 0a f8 0a d1 0a f8 0a  |
ú.Ñ.ú...Ñ.ø.Ñ.ø.|
 0170  d1 0a f8 0a 93 0a b0 0a  80 0a 96 0a 82 0a b6 0a  |Ñ.ø...
°...¶.|
 0180  80 0a b6 0a b2 0a 80 0a  96 0a 80 0a 96 0a b2 
0a  |..¶.².².|
 0190  80 0a b6 0a a2 0a 80 0a  b6 0a 15 0a d1 0a f8 0a  |..¶.
¢...¶...Ñ.ø.|
 01a0  d1 0a fa 0a d1 0a f8 0a  91 0a d1 0a f8 0a d1 0a  |
Ñ.ú.Ñ.ø...Ñ.ø.Ñ.|
 01b0  d8 0a 91 0a d1 0a fa 0a  80 0a 96 0a a3 0a 80 0a  |Ø...Ñ.ú.
£...|
 01c0  18 0a 82 0a 18 0a a9 0a  82 0a 38 0a 82 0a 18 
0a  |..©...8.|
 01d0  82 0a 1a 0a 94 0a d8 0a  91 0a 01 0a a0 0a 23 
0a  |..Ø. .#.|
 01e0  41 0a 00 0a 41 0a 00 0a  41 0a 00 0a 41 0a 00 0a  |
A...A...A...A...|
 01f0  82 0a 18 0a ab 0a b2 0a  3a 0a f8 0a 82 0a b4 0a  |«.².:.ø...
´.|
 0200  94 0a 80 0a d4 0a 80 0a  d4 0a 94 0a 80 0a 94 
0a  |Ô...Ô...|
 0210  82 0a 94 0a 94 0a 80 0a  b4 0a 80 0a b4 0a f8 0a  |´...
´.ø.|
 0220  91 0a b0 0a 90 0a 80 0a  91 0a b0 0a 90 0a 80 0a  |..°...
°.|
 0230  18 0a 80 0a b0 0a 90 0a  80 0a 18 0a 82 0a 90 0a  |
°...|
 0240  82 0a 18 0a 82 0a 18 0a  80 0a d4 0a 49 0a 18 
0a  |..Ô.I...|
 0250  82 0a d4 0a a0 0a a0 0a  23 0a c3 0a e2 0a 10 
0a  |..Ô. . .#.Ã.â...|
 0260  a0 0a 23 0a c3 0a e0 0a  10 0a d1 0a a0 0a 23 
0a  | .#.Ã.à...Ñ. .#.|
 0270  c3 0a e0 0a 61 0a 62 0a  58 0a b3 0a 18 0a 00 0a  |
Ã.à.a.b.X.³.|
 0280  a0 0a 23 0a c3 0a e2 0a  10 0a d1 0a e2 0a 94 
0a  | .#.Ã.â...Ñ.â...|
 0290  b4 0a a0 0a 01 0a 90 0a  80 0a 94 0a a2 0a 90 0a  |´. .
¢...|
 02a0  80 0a 00 0a 82 0a 94 0a  c1 0a 90 0a 80 0a 80 
0a  |Á...|
 02b0  94 0a a2 0a 90 0a 80 0a  02 0a 80 0a 94 0a c1 0a  |..
¢...Á.|
 02c0  90 0a 80 0a 00 0a 80 0a  94 0a a2 0a 90 0a 80 0a  |..
¢.|
 02d0  00 0a 80 0a 94 0a 11 0a  90 0a 80 0a 00 0a 90 
0a  ||
 02e0  23 0a c3 0a e0 0a 10 0a  60 0a 58 0a b3 0a 18 0a  |
#.Ã.à...`.X.³...|
 02f0  00 0a c3 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 
0a  |..Ã.#.Ã.â...Ñ.ø.|
 0300  62 0a 58 0a b1 0a 18 0a  00 0a c1 0a 23 0a c3 0a  |b.X.
±.Á.#.Ã.|
 0310  e0 0a 10 0a 23 0a c3 0a  e2 0a 10 0a d1 0a f8 0a  |
à...#.Ã.â...Ñ.ø.|
 0320  a2 0a 91 0a 94 0a b3 0a  44 0a a0 0a 82 0a b4 0a  |¢.³.D. ...
´.|
 0330  c9 0a 90 0a 80 0a 00 0a  80 0a b4 0a b2 0a 90 0a  |É.
´.²...|
 0340  80 0a 00 0a d1 0a f8 0a  91 0a b0 0a d1 0a fa 0a  |Ñ.ø...
°.Ñ.ú.|
 0350  93 0a b0 0a 90 0a 80 0a  00 0a c3 0a fc 0a b0 0a  |..°...Ã.ü.
°.|
 

Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-31 Thread Dieter Spaar
Hello Timo,

Timo Juhani Lindfors wrote:
 I connected the usart of my AVR (at90usbkey demo board) to the headset
 and configured it to 115200 8N1. I then did gpio J6=0 and powered up
 the gsm modem. I can receive data but it does not make any sense to
 me. Is it really binary data or are serial port parameters wrong?
   

Great that you tried it this way !

115200 8N1 is OK, however you should receive mainly ASCII
data. When the modem powers up, it could be that you receive
a few binary data from the bootloader, but after that its 
mainly ASCII. If the GSM modem has started, but GSM has not 
been turned on, you should receive something like that, one 
line every few second:

IQ EXT: ADC End  ADC :407 0
IQ EXT: ADC End  ADC :509 0

If the modem is idle and registered to a network, it looks like this:

IQ EXT: ADC EndNP_I  15320 0 308 149 1327 214 3 3 3 3 
IBA_I 15320 1 36 (234 0)(236 -1)(238 0)(240 0)(246 0)(248 -1)(252 0)(254 0)
  deep_sleep: 15325 15717 1 19
  ADC :15723 0
  gauging 15723

IQ EXT: ADC EndNP_I  15728 0 308 149 1327 214 3 3 3 3 
IBA_I 15728 1 36 (308 35)(256 0)(260 -1)(264 0)(270 -2)(280 -1)(283 
-2)(297 -3)
  deep_sleep: 15733 16125 1 19
  TOA updated:16131 0
  ADC :16131 0
  gauging 16131

IQ EXT: ADC EndNP_I  16136 0 308 149 1327 214 3 3 3 3 
IBA_I 16136 1 36 (301 -4)(303 -2)(305 -2)(321 -3)(331 -2)(362 -2)(234 
0)(236 -2)
  deep_sleep: 16141 16315 1 19
BS_I  16326 0 308 150 1327 214
  deep_sleep: 16328 16366 1 19
BS_I  16377 0 308 149 1327 214
  deep_sleep: 16379 16417 1 19
  TOA updated:16423 0
BS_I  16428 0 308 149 1327 214
  deep_sleep: 16430 16468 1 19
BS_I  16479 0 308 150 1327 214
  deep_sleep: 16481 16519 1 19
BS_I  16530 0 308 149 1327 213
  TOA updated:16539 0
  ADC :16539 0
  gauging 16539


Please be sure not to send anything to the modem, this might
disturb the firmware.

Best regards,
   Dieter

___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware


Re: Bug #1024 (oscillating re-camping), the story goes on...

2009-03-31 Thread Dieter Spaar
Hello Joerg,

Joerg Reisenweber wrote:
 I'm not sure but I think this is correct data from modem debug that needs 
 decoding by TI-TAT tool.
 Dieter for sure can tell details. I assume you need to capture the raw data 
 and send to him for analysis.
 Great work, really!
 Also thanks to Paul :)
   

Sorry, no, there seems to be something wrong. PCO2 is not needed to 
decode the default
trace data, they are mainly ASCII. At least if nothing has been sent to 
the modem and one
is only listening (115200 8N1). Only listening is OK to get a first 
impression if bug #1024
occurs, if more detailed trace data are needed, I first have to find out 
how to configure
the traces without using PCO2. Should not be too difficult, however I 
have not done
it yet  (I would be happy with a few more #1024 traces of just the 
default data :-).

Best regards,
 Dieter

___
hardware mailing list
hardware@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/hardware