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

DS-5 debugger does not show uC-OS info

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?

Parents
  • Hi Lee,

    Thanks for that - something definitely looks wrong here, the symbols appear to have been correctly loaded and the OS appears to have finished initialization, but the debugger thinks it hasn't.

    I have a number of follow up questions:

    • Do you see any errors in the Commands view? Do any errors come up in the Error Log (it probably isn't open by default, "Window | Show View | Error Log" will open it)?
    • What version of uCOS-III are you running? The command "print OSDbg_VersionNbr" will give the version number if you don't know (I see 30401 for our images, corresponding to v3.04.1).
    • Could you try printing some task information, e.g. "print OSTCBCurPtr->NamePtr" (or just "print OSTCBCurPtr" if that doesn't work)?
    • When is the startup task being run? Is this a normal OS task, or is this being run before/during the OS initialisation? It shouldn't really matter as long as 'OSRunning' is set to 1 (which occurs after the call to 'OSStart(...)'), but it will help me reproduce the issue.

    Thanks - best regards,

    Jon

Reply
  • Hi Lee,

    Thanks for that - something definitely looks wrong here, the symbols appear to have been correctly loaded and the OS appears to have finished initialization, but the debugger thinks it hasn't.

    I have a number of follow up questions:

    • Do you see any errors in the Commands view? Do any errors come up in the Error Log (it probably isn't open by default, "Window | Show View | Error Log" will open it)?
    • What version of uCOS-III are you running? The command "print OSDbg_VersionNbr" will give the version number if you don't know (I see 30401 for our images, corresponding to v3.04.1).
    • Could you try printing some task information, e.g. "print OSTCBCurPtr->NamePtr" (or just "print OSTCBCurPtr" if that doesn't work)?
    • When is the startup task being run? Is this a normal OS task, or is this being run before/during the OS initialisation? It shouldn't really matter as long as 'OSRunning' is set to 1 (which occurs after the call to 'OSStart(...)'), but it will help me reproduce the issue.

    Thanks - best regards,

    Jon

Children
No data