Thursday, February 22nd 2018, 11:41pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Marc

Beginner

Date of registration: Mar 11th 2014

Posts: 3

1

Tuesday, March 11th 2014, 11:16am

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
Marc has attached the following image:
  • embOS_view_data.png

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 264

2

Wednesday, March 12th 2014, 9:02am

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