# queues not visible in IAR Embedded Workbench for MSP430 with WITTENSTEIN plugin

**URL:** <https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152>\
**Category:** Kernel\
**Created:** [January 27, 2014, 11:35pm UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152 "2014-01-27T23:35:57Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 27, 2014, 11:35pm UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/1 "2014-01-27T23:35:57Z")

</div>

**[gmenhennitt](https://sourceforge.net/u/gmenhennitt/)** wrote on [Monday, January 27, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#b1cd):

I’m developing a C++ application in IAR Embedded Workbench for MSP430. I’m using FreeRTOS 8.0.0 RC2 (although the same thing happens with the 7.6.0 release too). I have the Wittenstein plugin “Kernel awareness for FreeRTOS and OpenRTOS” version 2.0.0.0 installed.

Firstly (an aside), the signature of the vQueueAddToRegistry() is a problem for C++. The pcName parameter should be “const char\*” rather than “char\*”. This means 3 changes in queue.c and queue.h.

Anyway, I’ve defined configQUEUE\_REGISTRY\_SIZE to be 5 and I’m calling vQueueAddToRegistry() for the queues that I create. But the plugin won’t show them - it says “Use the vQueueAddToRegistry() API in the source code to make a queue visible in this table”. I am doing that, but it doesn’t work.

Tasks do show correctly in the Task view window, but queues don’t show in the Queue window.

Does anybody have any clues on getting this working, please.

Thanks for your help,  
Graham

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 28, 2014, 9:33am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/2 "2014-01-28T09:33:35Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, January 28, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#58d4):

> The pcName parameter should be “const char\*” rather than "char\*

The pcQueueName member of the QueueRegistryItem\_t structure has been changed to a const char \* to allow the pcName parameter to also be a const char \* without generating a warning. You will find this change in the v8 release.

> Wittenstein plugin “Kernel awareness for FreeRTOS and OpenRTOS” version 2.0.0.0 installed

Really this is a question for WITTENSTEIN, but I think as a starting point your plug-in version is out of date. Curiously though I would have thought the older version would have problems with the task table, not the queue table. You can download an updated version from the [http://www.highintegritysystems.com](http://www.highintegritysystems.com) website.

I’m pretty sure I tested the IAR plug-in with the version 8 release candidate, but only in the IAR MSP430 simulator, and with the latest plug-in version.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 29, 2014, 3:08am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/3 "2014-01-29T03:08:27Z")

</div>

**[gmenhennitt](https://sourceforge.net/u/gmenhennitt/)** wrote on [Wednesday, January 29, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#9075):

Thanks for responding.

Just checked SVN and rev 2183 looks like it does the right thing now - thanks.

I have tried to find a newer version on that website but haven’t had any success. I’ve also tried emailing them, and posting to their support website (both today and a few weeks ago). But I’ve never had any response. Is there any other way to get the newer version? Can you please tell me its version number?

Thanks,  
Graham

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 29, 2014, 9:15am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/4 "2014-01-29T09:15:57Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, January 29, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#8d47):

I think the latest is version 2.1.0 (from memory).  
[http://www.highintegritysystems.com/down-loads/stateviewer-plug-in/](http://www.highintegritysystems.com/down-loads/stateviewer-plug-in/)

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [January 29, 2014, 9:01pm UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/5 "2014-01-29T21:01:28Z")

</div>

**[gmenhennitt](https://sourceforge.net/u/gmenhennitt/)** wrote on [Wednesday, January 29, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#74b9):

Yeah, I went to that page and filled in the form. But I never got a reply. I’ve done it three times now.

However,…

I also posted a message on the High Integrity Systems “Ask us a question” page ([http://www.highintegritysystems.com/sales-support/contact/](http://www.highintegritysystems.com/sales-support/contact/)) and I did get a reply. They’ve sent me version 2.1.0.0 which fixes the problem.

So, all working now. Thanks very much for your help.

Graham

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [January 29, 2014, 9:14pm UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/6 "2014-01-29T21:14:03Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, January 29, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#68f8):

The online form is an automated process. I just tested it and got the download in my email within a few seconds. I suspect your just ended up in a junk or spam folder.

Regards.

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [January 31, 2014, 11:37pm UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/7 "2014-01-31T23:37:56Z")

</div>

**[westmorelandeng](https://sourceforge.net/u/westmorelandeng/)** wrote on [Friday, January 31, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#f425):

Hello Richard,

Having the same problem here. Download is for ARM - not the 430 - at least that is what I got in my download from them.

Tasks are working, Qs are not.

Regards,  
John

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [February 1, 2014, 12:03am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/8 "2014-02-01T00:03:43Z")

</div>

**[westmorelandeng](https://sourceforge.net/u/westmorelandeng/)** wrote on [Saturday, February 01, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#da11):

Hello Again Richard,

I tried to do a search to show how often this issue comes up. But search is broken.

Can we put this someplace so that we all don’t have to keep going through this exercise?  
It is like getting the same molar pulled over and over again.

I am not sure why Wittenstein has a policy that is different for ARM vs. the MSP430.  
I am sure the ‘volume’ argument can be made.

Regards,  
John W.

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 1, 2014, 8:05am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/9 "2014-02-01T08:05:08Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Saturday, February 01, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#0e4e):

There are not different plug-ins for ARM and MSP430 - the same works with both.

Having re-installed EW430 recently I note they are still shipping with the old plug-in version. It seems EWARM was updated, but not EW430 - but you can update the plug in to V2.1.0 yourself as described [in this post](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#8d47) just above.

Fill in the form to receive a link to the plug-in in your email (its an automated process, you don’t need to wait more than a few minutes).

Unzip the files you download.

Follow the readme.txt instructions in the file you unzipped.

I just tried it myself and everything is working fine after the update.

Regards.

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [February 1, 2014, 8:10am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/10 "2014-02-01T08:10:51Z")

</div>

**[westmorelandeng](https://sourceforge.net/u/westmorelandeng/)** wrote on [Saturday, February 01, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#5cda):

Richard,

I didn’t know about the ARM/MSP430 ‘merge’.

OK - it is working for my installation now.

I did try to do a search on this.

Regards,  
John

---

<div class="post-metadata">

**Author:** ![jwestmoreland](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jwestmoreland](https://forums.freertos.org/u/jwestmoreland)\
**Post date:** [February 1, 2014, 8:26am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/11 "2014-02-01T08:26:18Z")

</div>

**[westmorelandeng](https://sourceforge.net/u/westmorelandeng/)** wrote on [Saturday, February 01, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#8ee3):

A suggestion: Put this at the top of the readme:

NOTE:  
If you are using IAR Embedded Workbench for an architecture other than ARM,  
modify the following line in the OpenRTOSPlugin.ewplugin file supplied with  
this download to match the actual directory structure:  
$EW\_DIR$\arm\plugins\rtos\OpenRTOS\OpenRTOSPlugin.dll

_AND_ - put this on the download page on the web-site - that _only_ talks of the ARM plugin.

_Exact_ verbage from the web-site:  
“STATEVIEWER comes pre-installed with IAR’s EWARM IDE, for information on other platforms supported by STATEVIEWER within the IAR IDE please contact us here.”

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [February 1, 2014, 11:39am UTC](https://forums.freertos.org/t/queues-not-visible-in-iar-embedded-workbench-for-msp430-with-wittenstein-plugin/5152/12 "2014-02-01T11:39:00Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Saturday, February 01, 2014](https://sourceforge.net/p/freertos/discussion/382005/thread/e39e9c44/#0057):

The readme does have the following two notes:

> NOTE:  
> If you are using IAR Embedded Workbench for an architecture other than ARM,  
> e.g.TI MSP430 or Renesas RX etc., then replace “arm” in the above path as  
> appropriate, e.g. with “rx” for the Renesas RX.

and

> If you are using IAR Embedded Workbench for an architecture other than ARM,  
> modify the following line in the OpenRTOSPlugin.ewplugin file supplied with  
> this download to match the actual directory structure:  
> $EW\_DIR$\arm\plugins\rtos\OpenRTOS\OpenRTOSPlugin.dll

Note these files are **not** supplied by me.

Regards.
