Hello!
I am using TWRK70 + MQX 4.0.1 + CW10.4 Windows XP + g++ and i am having problems in debugging my Code Cpp and MQX tasks.
In MQX Errors view i can see that TAD Data and Path aren't valid!! How can i define or configure the Path?
I already noticed that the debugger doesn't work so well for Cpp example in CW10.4! Works better for a simple application in C.
I confirmed the "MQX OS for Cortex" option in "OS Awareness" and installed MQX plug-ins for CW10.4.
Any help is welcome.
Thanks.
Hello Rui Faria,
When the target stops in the debugger, can you use Variable Watch view to show values of _mqx_version and _mqx_vendor variables? If not, this is the reason why TAD cannot derive path to the MQX installation. If the variables are there, then most probably the Windows Registry entries for MQX are invalid. Please check the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Freescale\FreeScale MQX\[version]
where [version] are the two MSB bytes of the _mqx_version variable.
The registry key should contain PATH value with the path to MQX installation.
If this does not help, try to post the screenshot of your “Check for Errors” TAD screen.
Hi Martin,
There is the screenshot.
The registry key seems to be okay
Note: Yesterday i updated MQX for 4.0.2 version but the problem is the same.
Thank you the attention.
Hello,
one small detail, what does "Check for Errors” TAD show? Can u share with us?
Hello,
Now i try with the Script file (-T) "intflash_sramdata.ld" in Linker and works okay! :smileyhappy:
But i don't understand what it is the problem of the "intflash_ddrdata.ld" fine :S
Hello,
I am facing the same issue. TAD path is not available. Can you please share the details how you sort it out. what is that script file?
Hi,
i noticed that sometimes i had problems in debugging because of bsp and psp libraries (.a) were incompatible. Try to Clean and Build those 2 libraries and debug your application.
Hello,
Sorry i didn't understand but for me the "Check for Errors" is the screenshot that i already sent to you :S
Am i wrong?