Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - abhimanyum

Pages: 1 [2]
16
µTasker general / Re: uTasker API
« on: August 26, 2011, 04:03:16 PM »
Hi Mark,

I'm executing following code as a uTasker task, to fetch the value of h/w timer, as per your specified Macros.

Task Config:

Code: [Select]
{ "1", fnIntroTask, NO_QUE, 10, 1, UTASKER_STOP},
Task Code:

Code: [Select]
long i = 0;
i = EXECUTION_DURATION();
fnDebugDec(i,0,0);

The output I'm getting is a same number again and again, I'm not sure where I'm going wrong, Is there any other way to fetch the Hardware Timer Value.

Thanks a million.

Regards,
Ab

17
STTM STM32 and STR91XF / Re: Download Code to STR9Comstick
« on: August 23, 2011, 02:23:34 PM »
Thanks Mark

18
STTM STM32 and STR91XF / Re: Download Code to STR9Comstick
« on: August 23, 2011, 01:19:43 AM »
Hi Mark,

Can you please tell me all the step I need to follow inorder to load my first simple Task (as per your PDF File) and uTasker into STR9Comstick.

I'm really new in this field.


Thanks & Regards,

Ab

19
µTasker general / Re: uTasker API
« on: August 23, 2011, 12:11:41 AM »
Mark,

Thanks for your reply.
By the term "Dummy Task", I meant task which just run to occupy scheduler ( task with a loop) and System, and then to measure the uTasker on various things.

Since you always have to go and modify "TaskCongif" file, to add task to your RTOS, I was looking for a method/API through which I can create a these type of tasks, or do I have to manually go and add multiple tasks in it.

Cheers,
Ab

20
µTasker general / Re: uTasker API
« on: August 22, 2011, 03:17:07 PM »
Hi Mark,

Thanks for your reply. It is working now, able to get what I was looking for.  :)

Wondering, is there is any short and simple method to create Dummy Tasks or any method of that sort of.


Thanks & Regards,
Ab

21
µTasker general / Re: uTasker API
« on: August 18, 2011, 02:47:31 PM »
Hi Mark,


Thanks for your reply.
I've managed to extract some of METHOD_PERFORMANCE definations and methods from the project.
Now I'm getting couple of errors with some of PIT & SIM Definations (which are located in Kinetis.h).

Code: [Select]
#ifdef MONITOR_PERFORMANCE
    #define INITIALISE_MONITOR_TIMER()   POWER_UP(6, SIM_SCGC6_PIT); PIT_MCR = 0; LOAD_PIT(0, 0xffffffff); PIT_TCTRL0 = PIT_TCTRL_TEN
    #define EXECUTION_DURATION()  (0xffffffff - PIT_CVAL0); LOAD_PIT(0, 0xffffffff) // read the elapsed count value and reset the counter back to 0xffffffff
    #define PIT_TIMER_USED_BY_PERFORMANCE_MONITOR                        // since a PIT timer is used for the monitoring function don't allow PITS to be powered down
#endif

If you can help me in Identify how to get PIT and SIM for STR9Comstick, would really be helpfull.

Thanks & Regards,
Ab

22
µTasker general / Re: uTasker API
« on: August 17, 2011, 11:58:12 AM »
Hi Mark,

Thanks for your reply. Do really appreciate that.

I was not able to find this define MONITOR_PERFORMANCE in Kinetis Project.
Can you please help me with that.


Thanks,
Regards,
Ab

23
µTasker general / uTasker API
« on: August 16, 2011, 12:28:53 PM »
Hi Mark,

I'm looking to measure following things on uTasker RTOS, since I'm a newbie in this field, so can please help me with this. I've managed to create a Task (as per your PDF Guide), I want to perform following:

1. Timer in uTasker, when code execution started and when ended and getting how much time taken to execute that function. (Is there any way to do through uTasker)

2. Secondly, I'm looking how to create tasks with priority and context switch between them.



Thanks for your time,

Cheers,
Ab

24
STTM STM32 and STR91XF / Download Code to STR9Comstick
« on: August 15, 2011, 07:08:02 PM »
Hi Mark,

I'm Using following tools:

Hardware: STR9ComStick STR912F ARM9MCU
Software: 1. Microsoft Visual Studio 6 (C++ IDE) for Simulator
              2. HiTOP5 IDE By Hitex.

After following your PDF for creating a Simple Task (Hello World). How to do following:

1. Identify Which Files to Upload to STR9Comstick (which is including uTasker + My Code C File).
2. How to Upload to STR9Comstick.


Would really appreciate your help Mark.

Thanks for your time, :)

Cheers,
Ab

Pages: 1 [2]