ARM: RTX5 awareness in µVISION debugger when using ARMCC
Information in this knowledgebase article applies to:
I am using ARMCC to build my project that uses CMSIS RTX5. Some OS objects, like threads, are created with custom control blocks, specified in the attribute parameter. I even used the section attribute as described in the manual to put the control blocks in the required sections. But when starting the debug session, I don't see this objects in the Component Viewer window for RTX5. The threads also don't appear in the Call Stack + Locals window.
For debugging my application, I need information about that RTX5 objects in the debugger. What can be done about this?
µVision Component Viewer gets the information from the application by reading a certain object "os_cb_sections" from the target image. This object is only referred by the debugger.
Unfortunately there is no reliable way to make sure, the debugger symbol does not get removed during building the project. So, when the objects with custom control blocks are not show, "os_cb_sections" is not in the flashed image.
To make sure, that the required object gets not removed, add the following option:
in the Options for Target ... - Linker - Misc Controls field and build and flash the project again. After that, the Component Viewer and the Call Stack + Locals window should be aware of the objects.
Last Reviewed: Monday, April 16, 2018
of your data.