AnsweredAssumed Answered

Will FreeRTOS viewer work with S32 Design Studio

Question asked by Adam Hamilton on Oct 9, 2019
Latest reply on Oct 17, 2019 by Jiri Kral

My current IDE is

S32 Design Studio for ARM

 

Version: 2018.R1
Build id: 180815

 

The FreeRTOS version I use is 10.2.1

 

I can't get FreeRTOS plugin to work properly. I have also applied update 10 and still no help.

 

I get an empty task list and I get exceptions when I try to view the queues. I can view the heap usage though.

 

Below is some of the log output

"FreeRTOS Task Aware Debugger for GDB" version 1.0.2 (201704260904)
(c) 2016 NXP Semiconductors, Inc.
==================================
15:56:40.294 INFO: [TadModel] DSF session ID 0 has started.
15:56:42.360 INFO: [TadState] TAD state changed: DEBUG_STARTED -> DEBUG_INIT_0 (SUSPENDED, USER_REQUEST)
15:56:42.895 INFO: [TadState] TAD state changed: DEBUG_INIT_0 -> DEBUG_INIT_1 (RESUMED, USER_REQUEST)
15:56:42.933 INFO: [TadState] TAD state changed: DEBUG_INIT_1 -> DEBUG_SUSPENDED (SUSPENDED, BREAKPOINT)
15:56:45.697 INFO: [TadState] TAD state changed: DEBUG_SUSPENDED -> DEBUG_RESUMED (RESUMED, USER_REQUEST)
15:56:47.731 INFO: [TadState] TAD state changed: DEBUG_RESUMED -> READY (SUSPENDED, SIGNAL)
15:57:52.31 INFO: [TadState] TAD state changed: READY -> DEBUG_RESUMED (RESUMED, USER_REQUEST)
15:57:56.680 INFO: [TadState] TAD state changed: DEBUG_RESUMED -> READY (SUSPENDED, SIGNAL)
15:58:35.36 INFO: [Benchmark] Loading data for "Task List" has started.
15:58:36.147 EXCEPTION: [QueueFactory] ReadingException in class "com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory" at 167. line when calling method "readLongAtAddress(0x1ffff0d8, QueueDefinition, pcTail)"
com.nxp.freertos.gdb.tad.controller.TadFactory.readLongAtAddress(TadFactory.java:160)
com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory.getQueue(QueueFactory.java:167)
com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory.getData(QueueFactory.java:109)
com.nxp.freertos.gdb.tad.model.TadModel$2.execute(TadModel.java:223)
com.nxp.freertos.gdb.tad.model.TadModel$3.run(TadModel.java:352)
15:58:36.149 ERROR: [TadFactoryData] Could not load data for "Queue List" view! For more information check TAD log
15:58:37.184 INFO: [FreeRTOS] FreeRTOS macro "configGENERATE_RUN_TIME_STATS" is disabled.
15:58:38.243 INFO: [FreeRTOS] FreeRTOS macro "configUSE_MUTEXES" is disabled.
15:58:39.303 INFO: [FreeRTOS] FreeRTOS macro "configUSE_TRACE_FACILITY" is disabled.
15:58:40.305 ERROR: [TaskFactory] Cannot read information from "pxReadyTasksLists[0]".
15:58:41.532 ERROR: [TaskFactory] Cannot read information from "xSuspendedTaskList".
15:58:42.646 ERROR: [TaskFactory] Cannot read information from "xDelayedTaskList1".
15:58:42.666 INFO: [Benchmark] Loading data for "Task List" took 7629 ms.
15:58:48.247 INFO: [Benchmark] Loading data for "Task List" has started.
15:58:49.345 EXCEPTION: [QueueFactory] ReadingException in class "com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory" at 167. line when calling method "readLongAtAddress(0x1ffff0d8, QueueDefinition, pcTail)"
com.nxp.freertos.gdb.tad.controller.TadFactory.readLongAtAddress(TadFactory.java:160)
com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory.getQueue(QueueFactory.java:167)
com.nxp.freertos.gdb.tad.controller.queuelist.QueueFactory.getData(QueueFactory.java:109)
com.nxp.freertos.gdb.tad.model.TadModel$2.execute(TadModel.java:223)
com.nxp.freertos.gdb.tad.model.TadModel$3.run(TadModel.java:352)
15:58:49.346 ERROR: [TadFactoryData] Could not load data for "Queue List" view! For more information check TAD log

 

Will there be an update to this plugin?

I believe it works with MCUXpresso and I tried importing my project there but it would not debug.

 

Thanks

Adam Hamilton

Outcomes