Except RTX: illegal instruction. Please Help

Hi, I have an OpenAT application that runs of a FXT009. I have the latest firmware installed 7.52 (from DevStudio 3.0).

I am getting an intermittent restart of the modem. adl_InitGetType() indicates ADL_INIT_REBOOT_FROM_EXCEPTION and the backtraces show illegal instruction as in the attached picture.

The AXF file is loaded, so it seems the stack is pointing to FW code when it hangs? Can anyone help me or suggest how I can get to the bottom of this?

Thanks,

Karl


So I have analyzed this a little more to see if there is any more information to be had. I have a state machine running which at the point of failure is being looped every 10seconds. i.e. every 10 seconds the state of the modem is checked and any actions that is required is executed and then the modem goes to “sleep” in that nothing happens until the next 10seconds is up an event is fired.

The modem is a server in that is listens on a port and then just waits. The restart seems to always happen between the next timer being set up and it being fired. Not always at the same point between the 10 secs, but always during this interval.

So it is virtually impossible to work out the problem without some help from Sierra Wireless on the stack trace in my backstrace? This is a new problem, so I assume something I have changed has caused this, but who knows what? Anybody able to help?

PS. I use the W32K mode in case that impacts this.

Thanks,

Karl

OK, so a little more information. Not really knowing what the various “system” traces are, I turned on as many as I could before getting too many lost frames… If anyone has more information on the obscure traces, that could prove very helpful.

Below is my trace, but I still can’t see any reason for the reset, I seem to have also lost the “Binary header” trace that normally occurs at start up. I believe the module is resetting at the third trace.

2014/06/25;“11:25:31.887”;“001”;“ATI”;“1”;"0d 0a 2b 57 49 4e 44 3a 20 33 0d 0a "

where —main task— is my trace which is the first line in the main tasks entry function.

2014/06/25;"11:25:27.519";"001";"ADL";"1";"---cbSdSoundEventHandler---"
2014/06/25;"11:25:28.096";"001";"ATI";"2";"Rec AT_TIM_REQ"
2014/06/25;"11:25:31.887";"001";"ATI";"1";"0d 0a 2b 57 49 4e 44 3a 20 33 0d 0a "
2014/06/25;"11:25:31.887";"002";"ATI";"1";"<CR><LF>+WIND: 13<CR><LF>"
2014/06/25;"11:25:31.918";"001";"ATI";"1";"0d 0a 4f 4b 0d 0a "
2014/06/25;"11:25:31.933";"001";"ATI";"1";"<CR><LF>+CREG: 0<CR><LF>"
2014/06/25;"11:25:31.949";"001";"ATI";"1";"<CR><LF>OK<CR><LF>"
2014/06/25;"11:25:31.949";"002";"ATI";"1";"0d 0a 2b 43 47 52 45 47 3a 20 30 0d 0a "
2014/06/25;"11:25:31.965";"001";"ATI";"13";"00 80 00 04 00 00 09 00 41 54 2b 43 52 43 3d 31 0d 0d 00 00 00 "
2014/06/25;"11:25:31.980";"001";"ATI";"1";"41 54 2b 43 52 43 3d 31 1a "
2014/06/25;"11:25:31.996";"001";"ATI";"2";"Rec AT_APPLI_SEND_COMMAND"
2014/06/25;"11:25:32.011";"001";"ATI";"1";"41 54 2b 43 47 45 52 45 50 3d 32 1a "
2014/06/25;"11:25:32.011";"002";"ATI";"1";"0d 0a 2b 43 4d 45 20 45 52 52 4f 52 3a 20 35 31 35 0d 0a "
2014/06/25;"11:25:32.043";"001";"ATI";"1";"ati<CR>"
2014/06/25;"11:25:32.043";"002";"ATI";"1";"0d 0a 53 69 65 72 72 61 20 57 69 72 65 6c 65 73 73 0d 0a "
2014/06/25;"11:25:32.043";"003";"ATI";"3";"Snd AT_APPLI_INTERMEDIATE_IND"
2014/06/25;"11:25:32.058";"001";"ATI";"1";"FXT009 Product<CR><LF>"
2014/06/25;"11:25:32.058";"002";"ATI";"1";"<CR><LF>OK<CR><LF>"
2014/06/25;"11:25:32.074";"001";"ATI";"3";"Snd AT_APPLI_UNSOLICITED_IND"
2014/06/25;"11:25:32.074";"002";"ATI";"13";"00 01 0e 00 00 39 19 00 0d 0a 2b 57 49 4e 44 3a 20 31 33 0d 0a 00 19 00 98 53 26 00 84 39 19 00 90 39 19 00 9c 39 19 00 a8 39 19 00 8a de fe ca 02 00 00 80 d7 ec 09 00 18 bc 08 18 18 90 08 18 b0 a9 08 18 00 39 19 00 08 3a 19 00 ea de fe ca 02 00 00 80 8f 0d 00 00 01 57 ca d5 cc cd cd cd f8 8e 10 18 "
2014/06/25;"11:25:32.074";"003";"ATI";"3";"Snd AT_APPLI_UNSOLICITED_IND"
2014/06/25;"11:25:32.089";"001";"ATI";"13";"00 00 0d 00 00 00 00 00 0d 0a 2b 43 52 45 47 3a 20 30 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 8a de fe ca 04 00 00 80 3d 55 0b 00 17 00 18 00 22 00 01 43 00 00 0e 00 00 00 00 00 0d 0a 2b 43 47 52 45 47 3a 20 30 0d 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 "
2014/06/25;"11:25:32.089";"002";"ATI";"3";"Snd AT_APPLI_UNSOLICITED_IND"
2014/06/25;"11:25:32.089";"003";"ATI";"2";"Rec AT_APPLI_SEND_UNS_INTERNAL"
2014/06/25;"11:25:32.105";"001";"ATI";"2";"Rec AT_APPLI_SEND_UNS_INTERNAL"
2014/06/25;"11:25:32.121";"001";"ATI";"2";"Rec AT_APPLI_SEND_UNS_INTERNAL"
2014/06/25;"11:25:32.136";"001";"ADL";"1";"---main_task---"

Maybe someone can tell me which traces might offer me a clue?

Any help would be greatly appreciated!

Karl