Difference between revisions of "Enable RTOS Awareness in Embedded Studio"

From SEGGER Wiki
Jump to: navigation, search
Line 2: Line 2:
   
 
* First download the latest thread awareness script from our website: https://www.segger.com/products/rtos/embos/tools/plug-ins/embedded-studio/
 
* First download the latest thread awareness script from our website: https://www.segger.com/products/rtos/embos/tools/plug-ins/embedded-studio/
  +
** Alternatively in the Embedded Studio installation folder under /samples you can also find the embOS awareness script.
 
* Open your Embedded Studio project
 
* Open your Embedded Studio project
 
* Go to: Project->Edit Options...->Debug->Debugger->Thread Script File
 
* Go to: Project->Edit Options...->Debug->Debugger->Thread Script File
Line 7: Line 8:
   
 
== Thread awareness for other OSs ==
 
== Thread awareness for other OSs ==
  +
 
In the Embedded Studio installation folder under /samples you can find RTOS awareness scripts for other RTOSs.
 
In the Embedded Studio installation folder under /samples you can find RTOS awareness scripts for other RTOSs.
 
Setup steps are the same as with embOS.
 
Setup steps are the same as with embOS.
Line 13: Line 15:
 
that the referenced symbols do not have static qualifier (so the
 
that the referenced symbols do not have static qualifier (so the
 
debugger can access them).
 
debugger can access them).
  +
  +
===Create your own awareness script===
  +
  +
The documentation for the RTOS awareness scripts can be found here:
  +
* https://studio.segger.com/index.htm?https://studio.segger.com/ide_threads_window.htm
  +
* https://studio.segger.com/ide_es_script_class_Debug.htm
  +
* https://studio.segger.com/arm_es_target_script_TargetInterface.htm
  +
* https://studio.segger.com/ide_script_class_WScript.htm
  +
  +
For reference we recommend to use the embOS awareness script as explained above.
   
 
[[Category:Embedded Studio]]
 
[[Category:Embedded Studio]]

Revision as of 16:44, 27 March 2023

Enable thread awareness for embOS

  • First download the latest thread awareness script from our website: https://www.segger.com/products/rtos/embos/tools/plug-ins/embedded-studio/
    • Alternatively in the Embedded Studio installation folder under /samples you can also find the embOS awareness script.
  • Open your Embedded Studio project
  • Go to: Project->Edit Options...->Debug->Debugger->Thread Script File
  • Set path to your downloaded thread awareness script and press ok

Thread awareness for other OSs

In the Embedded Studio installation folder under /samples you can find RTOS awareness scripts for other RTOSs. Setup steps are the same as with embOS.

Note: When using FreeRTOS the scripts require FreeRTOS to be compiled such that the referenced symbols do not have static qualifier (so the debugger can access them).

Create your own awareness script

The documentation for the RTOS awareness scripts can be found here:

For reference we recommend to use the embOS awareness script as explained above.