When starting up the debugger (v5.22), I select the uC-OSIII OS in the configuration. When I stop in a task on a breakpoint, the OS tab has no information for any of the tables.
Is there some extra linkage that needs to be setup to get this feature to work?
Hi Lee,
I'm glad you were able to get the OS support into the enabled state. This now looks like the debugger constants in os_dbg.c are not making it out correctly.
As you've said that OS_CFG_DBG_EN is set to 1, the other common cause for this is the compiler optimising the values out when it recognises they are not read from. In the version of the source code I'm looking at (v3.04.01) there is a function at the bottom of the file, OS_Dbg_Init(void), which is intended to prevent this. A quick test suggests this function is required for my compiler (ARM Compiler 5.06 at -O0) - i.e. the symbols are optimised out without the function.
If that function is there it could point to a build issue - you could check that by using one of the constants in your application source code and see if it links correctly and the symbol is then printable from the debugger.
Hope this helps,
Jon