Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.241

Viewing objects

Once configured, plugin's main window showing tasks can be opened or closed by selecting Plugins / uC RTOS / Tasks.

 

After download (or reset) objects are in undefined state. This is indicated with "RTOS in undefined state". Once current task is set the windows should display associated content.

The windows content is refreshed after CPU stops (if AutoRefresh option is selected in the configuration window) which means that while CPU is running, content is not refreshed.

 

 

Viewing tasks

Image below shows a task list. Note that currently active task row has green background. For more information about displayed task properties refer to the uC RTOS documentation.

 

RTOS-uC-tasks

 

 

Tasks can also be viewed in winIDEA dedicated Tasks window. This window is opened by selecting View / Debug / Tasks from winIDEA main menu (available only when the operating system is selected in Debug / Operating System). The preview is shown on image below. Tasks window is a standard part of winIDEA and is meant as unified RTOS window. It is populated with data provided by RTOS plugin for specific RTOS. uC RTOS plugin provides this data for uC RTOS. Note that unified window doesn't show RTOS specific information as dedicated plugin window does. Additional info in unified window can be viewed by selecting desired task and pressing the Task Properties button.

Also note that task debug context is available for any task when the CPU is in STOP mode. Context is entered by double clicking on desired task in Task window or selecting desired task and pressing the Set Context button. This feature is currently available only for ARM architecture and is not available from plugin windows.

 

RTOS-uC-tasks-1

 

 

Troubleshooting

As long as memory is not accessible all windows will report “Cannot access task object or bad configuration” like shown on image below. Task list will appear once the debug session is started with a download.

 

RTOS-uC-noAccess

 

 

If the message still persists, this indicates that the object symbols could not be evaluated. In this case use the Symbol Browser (View / Symbols) to check if the symbols are available. Depending on the version of the uC RTOS you are using, look for the following symbols:

Version 2: OSTCBList and OSTCBCur

Version 3: OSTaskDbgListPtr and OSTCBCurPtr

Symbol availability depends on code, compile tool and its settings, download file debug information format, loader settings...

To adjust download file options open Debug / Files For Download dialog.

Select the download file and click Properties. In Download File Options dialog click on Advanced button to open dialog for setting advanced options.

 

Copyright © 2024 TASKING Germany GmbH