TAD Data and Path invalids?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

TAD Data and Path invalids?

2,079 Views
RuiFaria
Contributor III

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.

Tags (4)
0 Kudos
Reply
7 Replies

1,804 Views
c0170
Senior Contributor III

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.

0 Kudos
Reply

1,804 Views
RuiFaria
Contributor III

Hi Martin,

There is the screenshot.

MQX_Errors.png

The registry key seems to be okay

RegEdit.png

Note: Yesterday i updated MQX for 4.0.2 version but the problem is the same.

Thank you the attention.

0 Kudos
Reply

1,804 Views
c0170
Senior Contributor III

Hello,

one small detail, what does "Check for Errors” TAD show? Can u share with us?

0 Kudos
Reply

1,804 Views
RuiFaria
Contributor III

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

0 Kudos
Reply

1,804 Views
pradeeshmt
Contributor II

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?

0 Kudos
Reply

1,804 Views
RuiFaria
Contributor III

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.

0 Kudos
Reply

1,804 Views
RuiFaria
Contributor III

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?

0 Kudos
Reply