FreeRTOS Task Aware Debugger for GDB Shows Nothing

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

FreeRTOS Task Aware Debugger for GDB Shows Nothing

3,215 Views
a5581267
Contributor I

Hello,

I am using NXP FreeRTOS Task Aware Debugger for GDB for monitoring tasks.

FreeRTOS is  v7.5.3. Task Aware Debugger is v1.0.2 (201704260904).

Besides, I have changed some configurations in FreeRTOSConfig.h  is:

  • #define configUSE_IDLE_HOOK 1 (so it should be at least a task idle_task )
  • #define configUSE_TRACE_FACILITY 1

There is a task_main in my program.

When I am in debugging mode, I have tried to suspend the program and check running task.

However, it shows nothing in all views (Task list, Queue list, Timer list) like following picture. 

Is there any suggesting for this problem?

Thank you very much.

pastedImage_3.png

Labels (1)
0 Kudos
7 Replies

2,139 Views
BlackNight
NXP Employee
NXP Employee

I think your FreeRTOS version is probably simply too old (the current version is 10.x) and the current Plugin is V1.0.8 in MCUXpresso IDE 10.3.0. Which MCUXpresso IDE are you using?

I suggests you check the gdb Console view in Eclipse, you can check as well Troubleshooting Tips for FreeRTOS Thread Aware Debugging in Eclipse | MCU on Eclipse .

You can check as well Better FreeRTOS Debugging in Eclipse | MCU on Eclipse  which  shows the settings for V9.0.0.

I hope this helps,

Erich

0 Kudos

2,139 Views
a5581267
Contributor I

Hello, thank you for you reply.

Now I am using Eclipse Kepler.
It it compatible for this tool ?
0 Kudos

2,139 Views
BlackNight
NXP Employee
NXP Employee

It has been developed for Kinetis Design Studio (Luna) and MCUXpresso IDE (latest version is Oxygen based).

What is the microcontroller you are using?

0 Kudos

2,139 Views
a5581267
Contributor I

Now I am using ARM9.

0 Kudos

2,139 Views
BlackNight
NXP Employee
NXP Employee

Which NXP part/device?

0 Kudos

2,139 Views
a5581267
Contributor I

Hey, I've checked the TAD Log

Maybe you have some idea for that.

Log text:

12:29:15.350 INFO: [TadModel] DSF session ID 5 has started.
12:29:20.47 INFO: [TadState] TAD state changed: DEBUG_STARTED -> DEBUG_INIT_0 (SUSPENDED, USER_REQUEST)
12:29:24.620 INFO: [TadState] TAD state changed: DEBUG_INIT_0 -> DEBUG_INIT_1 (RESUMED, USER_REQUEST)
12:29:46.964 INFO: [TadState] TAD state changed: DEBUG_INIT_1 -> DEBUG_SUSPENDED (SUSPENDED, USER_REQUEST)
12:29:47.28 INFO: [TadModel] DSF session ID 5 has ended.

0 Kudos

2,139 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Hennry:

I would suggest you try MCUXpresso v10.3.1. From the release note, one similar issue is resolved.

https://community.nxp.com/community/mcuxpresso/mcuxpresso-ide/blog/2019/02/21/mcuxpresso-ide-v1031-n... 

Regards

Daniel

0 Kudos