# Except RTK 161 during ATI9

**URL:** <https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354>\
**Category:** Open AT\
**Created:** [November 28, 2011, 1:26pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354 "2011-11-28T13:26:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ljweko](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@ljweko](https://forum.sierrawireless.com/u/ljweko)\
**Post date:** [November 28, 2011, 1:26pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/1 "2011-11-28T13:26:30Z")

</div>

When issuing the ATI9 command, the modem excepts:

```auto
2011/11/28;14:10:38:126;001;RTK;1;Except RTK ....161 1806c720 12
```

The same happens, when appli is not running (AT+WOPEN=0).

---

<div class="post-metadata">

**Author:** ![tomridl](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/tomridl/32/2704_2.png) [@tomridl](https://forum.sierrawireless.com/u/tomridl)\
**Post date:** [November 28, 2011, 3:21pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/2 "2011-11-28T15:21:40Z")

</div>

RTK Exception 161 has the following description:

```auto
#define RTK_EXCEPT_BAD_HEAP_RELEASE 161 ///<Bad bloc header or footer. Header or footer may have been destroyed
```

Looks like the memory on the device has been corrupted. Try reflash it using DWLWin.

---

<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:** [November 28, 2011, 9:50pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/3 "2011-11-28T21:50:44Z")

</div>

> [@ljweko](#):
>
> The same happens, when appli is not running (AT+WOPEN=0).

What if the application is completely deleted - not just stopped?

ATI9 includes some stuff from the application - so it’s possible that could be corrupt…

---

<div class="post-metadata">

**Author:** ![ljweko](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@ljweko](https://forum.sierrawireless.com/u/ljweko)\
**Post date:** [November 29, 2011, 9:24am UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/4 "2011-11-29T09:24:21Z")

</div>

Application Version in Application Settings should not be longer than 11 characters.

---

<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:** [November 29, 2011, 5:58pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/5 "2011-11-29T17:58:34Z")

</div>

> [@ljweko](#):
>
> Application Version in Application Settings should not be longer than 11 characters.

Are you saying that was the cause of your problem ❓

---

<div class="post-metadata">

**Author:** ![ljweko](https://avatars.discourse-cdn.com/v4/letter/l/47e85d/32.png) [@ljweko](https://forum.sierrawireless.com/u/ljweko)\
**Post date:** [January 2, 2012, 10:26pm UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/6 "2012-01-02T22:26:17Z")

</div>

Well, it is really funny. I just found some spare time, so I tested again.

I built two binaries, the only difference being Application Settings / Application / Version: first had entry 2.25\_beta1 and the second one 2.25\_b1.

I used two different devices (Supreme 20, Xtend 009), both with the same result.

The process:

1. AT+WOPEN = 0
2. DwlWin to load OS 7.46.
3. AT+WDWL to load 2.25\_beta1.
4. ATI9 crashes the modem.
5. AT+WDWL to load 2.25\_b1.
6. ATI9 works .

Note that I didn’t enable the application (AT+WOPEN=1) at all. And when I do, both applications work correctly, I just can’t use Target Management Debug, as it uses ATI9 info in its initialization.

Maybe my installation is somewhat corrupt/weird, as I did have some specific problems before. And, it is only this project, others do not show this behaviour.

---

<div class="post-metadata">

**Author:** ![Moderator1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Moderator1](https://forum.sierrawireless.com/u/Moderator1)\
**Post date:** [January 4, 2012, 11:51am UTC](https://forum.sierrawireless.com/t/except-rtk-161-during-ati9/5354/7 "2012-01-04T11:51:25Z")

</div>

Hi ,

Actually the problem is seen in the cases when the application size is large. This is a known problem and a tracker was created for the same which is also fixed and would be available in the Open AT Framework version 2.37.
