If I work in IAR 6.1 with K60 and MQX 3.6.2 I have no problems in debugging.
I can see Task List, Task Summary, Stack Usage etc...
Migrating to MQX 3.7.0 I can still debug but all MQX and RTCS menus are dimmed.
How can I enable TAD with MQX 3.7.0?
If I came back to MQX 3.6.2 it's all ok, so it's not a Hardware problem.
Any idea?
Many thanks,
Corrado
解決済! 解決策の投稿を見る。
Problem solved.
In project system folders you have only to include MQX system_d.a files. Do not also include system.a files even if you are working in debug mode.
Hi Corrado,
There is a readme file in the folder C:\Program Files\Freescale\Freescale MQX 3.7\tools\iar_extensions which explains how to install the TAD manually. I am adding the content bellow. Have you tried these steps?
Best Regards,
Garabo
IAR Task Aware Debugging Plugin
-------------------------------
Content:
- ARM Task Aware Debugging plugin
- Tested with Embedded Workbench 5.5 and Embedded Workbench 6.1
- ColdFire Task Aware Debugging plugin
- Tested with Embedded Workbench 5.3
Installation:
- Close Embedded Workbench
- Copy a content of the ".\Embedded Workbench X.X" directory to your IAR Workbench installation directory.
- Ensure that both TAD plugin files are on following location:
<Program Files>\IAR Systems\Embedded Workbench X.X\<platform>\plugins\rtos\mqx\MQXRtosPlugin.ewplugin
<Program Files>\IAR Systems\Embedded Workbench X.X\<platform>\plugins\rtos\mqx\MQXRtosPluginARM.dll
Hi Garabo,
I tried but with no result.
I copy the two files (MQXRtosPlugin.ewplugin and MQXRtosPluginARM.dll) from my installation folder C:\Data\Freescale MQX 3.7\tools\iar_extensions\Embedded Workbench 6.X\arm\plugins\rtos\mqx to IAR folder C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\plugins\rtos\MQX.
As you can see in a picture of my previous answer, I think the problem is plugin version I have in my MQX 3.7 installation package.
On MQXRtosPluginARM.dll file -> right click -> properties -> i have version 4.4.1(CSpy 6.x, FLSMQXOS 3.6.1)
I think I need FLSMQXOS 3.7.0 but I can't find it.
Do you have my configuration (IAR 6.1 and MQX 3.7.0)? Your TAD is ok? If yes, can you please look at your MQXRtosPluginARM.dll properties?
Many thanks,
Corrado
Problem solved.
In project system folders you have only to include MQX system_d.a files. Do not also include system.a files even if you are working in debug mode.
Hi Just in case this is of any use I am using IAR and MQX 3.8 and the TAD is working but when migrating from 3.6 to 3.7 perhaps the MQX setting have been turn off, so to turn them back on shown below
Hi Kevin,
I still made this setting but with no result.
I tried both MQX 3.6 and MQX 3.7 plugins. I copy them form \Freescale MQX 3.X\tools\iar_extensions\Embedded Workbench 6.X\arm\plugins\rtos\mqx to C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\plugins\rtos\MQX,
This is for 3.6
and this for 3.7
As you can see description for 3.6 is "MQX Kernel Awareness (ARM)" and for 3.7 is "MQX Kernel Awareness (ARM) for CSpy 6.x".
Using 3.6 plugin it's all ok working with MQX 3.6.
If I work with MQX 3.7 I get the same problem both with 3.6 and 3.7 plugins:
Can you please tell me if you changed C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\plugins\rtos\MQX files or what you find in this folder?
Many thanks in advance,
Corrado
Hi Corrado,
I didn't change any files in my C:\Program Files\IAR Systems\Embedded Workbench 6.4\arm\plugins\rtos\MQX
My only other thought is the firmware in your debugger mine is a J-link and previously things stop working with different versions of workbench, j-link and MQX, if you can I would try the latest versions.
My plugin is version 4.6.0.0
Kevin
I think you are right.
If I look at dll properties in \Freescale MQX 3.X\tools\iar_extensions\Embedded Workbench 6.X\arm\plugins\rtos\mqx file I get both for 3.6 and 3.7 this:
so FLSMQXOS 3.6.1.
Properties in \Freescale MQX 3.8\tools\iar_extensions\Embedded Workbench 6.X\arm\plugins\rtos\mqx are:
so FLSMQXOS 3.8.0.
FLSMQXOS 3.7.0 is not avaible from standard Freescale MQX installation packages.
I have not even found them on internet.
I can't understand how you worked with MQX 3.7.0.
Is your IAR version 6.1 or higher?
Many thanks for your time and regards,
Corrado