# Processor Restarting

**URL:** <https://forum.sierrawireless.com/t/processor-restarting/4540>\
**Category:** Open AT\
**Created:** [July 1, 2010, 7:42am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540 "2010-07-01T07:42:39Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajamanickem](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@rajamanickem](https://forum.sierrawireless.com/u/rajamanickem)\
**Post date:** [July 1, 2010, 7:42am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/1 "2010-07-01T07:42:39Z")

</div>

Hi,

Earlier the application was running and it got CME Error: 3 when it attempted to execute an AT command.

But after 2 or 3 days even when the application is not running the processor keeps on restarting. when OS is re-flashed problem gets solved, but yet the cause is unknown.

Thanks & Regards,  
Rajamanickem. S

---

<div class="post-metadata">

**Author:** ![wtb2](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@wtb2](https://forum.sierrawireless.com/u/wtb2)\
**Post date:** [July 8, 2010, 10:11pm UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/2 "2010-07-08T22:11:34Z")

</div>

How far is your antenna from the flash memory, module and SIM card? We experienced a problem where units would reboot due to emmission interference from the antenna which was very close to our SIM and Flash. We also found that loading new firmware fixed the problem, but in our case we thought it was because we loaded a newer version of the firmware.

---

<div class="post-metadata">

**Author:** ![rajamanickem](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@rajamanickem](https://forum.sierrawireless.com/u/rajamanickem)\
**Post date:** [July 9, 2010, 5:23am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/3 "2010-07-09T05:23:43Z")

</div>

Hi,

```
The antenna is place at sufficient distance. The processor displays +WIND:13, +WIND:1, +WIND:16, +WIND:7 and then once again +WIND:13.

In my code i delete all SMS after reading it but when i place the SIM in my mobile i am able to see one unread message. Once i read it i get a GPRS settings message from the network provide. Does this has anything related for the cause of restarting?

```

Thanks & regards,  
Rajamanickem. S

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [July 9, 2010, 6:17am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/4 "2010-07-09T06:17:41Z")

</div>

> [@rajamanickem](#):
>
> In my code i delete all SMS after reading it

You’re not doing that in a loop, are you…?

See: [forum.sierrawireless.com/viewtop … IKI#p16098](https://forum.sierrawireless.com/t/faq-forum-wiki/3491/7)

> [@](#):
>
> i get a GPRS settings message from the network provide. Does this has anything related for the cause of restarting?

I’d say that’s highly likely!

I’d guess that this “settings” message is not what your application is expecting, and that causes the crash; eg, due to a buffer overrun; or if the message is PDU, and you’re only expecting text…

I once inherited an application which had a bug exactly like this: it “worked fine” i [/i]until, one day, it got an SMS sent by someone to a wrong number. That SMS, of course, was not in the expected format - and this crashed the app.

---

<div class="post-metadata">

**Author:** ![rajamanickem](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@rajamanickem](https://forum.sierrawireless.com/u/rajamanickem)\
**Post date:** [October 5, 2010, 6:30am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/5 "2010-10-05T06:30:36Z")

</div>

Hi,

When i give the AT+WOPEN=3 and restart, the problem got vanished. Kindly could anyone suggest whether the Flash has caused the problem.

Regards,  
Rajamanickem. S

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [October 5, 2010, 7:01am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/6 "2010-10-05T07:01:15Z")

</div>

I doubt very much that the flash itself actually caused the problem.

More likely that your application was not correctly handling the data stored in the flash…

---

<div class="post-metadata">

**Author:** ![rajamanickem](https://avatars.discourse-cdn.com/v4/letter/r/71e660/32.png) [@rajamanickem](https://forum.sierrawireless.com/u/rajamanickem)\
**Post date:** [October 5, 2010, 7:42am UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/7 "2010-10-05T07:42:13Z")

</div>

Hi,

Is there any specific way for handling flash?

I have used the Flash API mentioned in the ADL user guide.

Kindly provide if any other references available.

Thanks & Regards,  
Rajamanickem. S

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [October 5, 2010, 6:16pm UTC](https://forum.sierrawireless.com/t/processor-restarting/4540/8 "2010-10-05T18:16:39Z")

</div>

Yes, the API is the way to handle it - that’s what “API” means!
