This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX5 component viewer failure

I have an RTX5 project. The project appears to run OK, but the RTX RTOS component viewer shows errors after the kernel starts. This error is shown in the command window:

Expression: 'ipsr = __GetRegVal("XPSR") & 0x01FF;
          psp  = (v8m_ns == 0) ? (__GetRegVal("PSP")) : (__GetRegVal("PSP_NS"));
          psp  = (psp == 0) ? (TCB[i].sp) : (psp);

          sp = ((ipsr != 0) && (ipsr < 16)) ? (TCB[i].sp) : (psp);'
E306: Execution problem - undefined register name 'XPSR'

The component viewer is a plugin defined by the RTX5.scvd file. It is opened with View > Watch Windows > RTX RTOS. I'm using RTOS2 v5.3.0.

The component viewer is fine while stepping over thread creation between

osKernelInitialize()

and

osKernelStart()

Created threads show up in the view, etc. After the kernel starts, the viewer doesn't update properly anymore -- it just shows errors.

Has anyone else seen this?

0