embOS View task list, "data" field

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • embOS View task list, "data" field

    Hi,

    I'm running embOS 3.82v on a Cortex-M3 and trying to use the information provided by embOS view to debug my application.
    I'm note sure of the meaning of the "data" field of embOs view.

    For example, i have a task waiting for an event, its status is "Wait Event Object" and data is something like 0x200093B8.
    Is it the address of the event object ? It would be the logical meaning of this field, but it seems to be an address inside the task's stack,
    and i'm sure that my object is not allocated on the stack but on the heap.

    Could you explain me what is the "data" field ?

    Thanks
    Images
    • embOS_view_data.png

      8.76 kB, 440×132, viewed 1,023 times
  • Hello Marc,

    the actual data field content depends on the task status, but in general it's the address of the task wait list.
    This wait list is a linked list of all wait objects.

    In the case of e.g.:

    OS_EVENT _HW_Event;
    OS_EVENT_Wait(&_HW_Event);

    the wait list would include a wait object for _HW_Event.

    Best regards,
    Til
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.