Yes, I tried demo application of lpc2368_Eclipse.But thats not working.
Than i use WinARM compiler.And now i am able to create tasks only.
After that when I call scheduler my tasks are not executing.
Here is the patch of main.c…
> Yes, I tried demo application of lpc2368_Eclipse.But thats
> not working.
Not working could mean: Not compiling, not linking, not programmable, not debuggable, not running, crashing, etc. etc.
> Than i use WinARM compiler.And now i am able to create tasks only.
> After that when I call scheduler my tasks are not executing.
> Here is the patch of main.c…
>
> /*main.c*/
> int main( void )
> {
> prvSetupHardware();
> xTaskCreate( MyTask1, ( signed portCHAR * ) "MyTask1",
> configMINIMAL_STACK_SIZE,
> NULL, mainCHECK_TASK_PRIORITY, NULL );
> vTaskStartScheduler();
> return 0;
> }
>
> MyTask1 is a simple continous loop to print a message on
> Hyperterminal.
>
> But my code go upto to timer interrupt but not execute MyTask1.
Have you made any modifications to the makefile or startup code? In particular, have you started the scheduler in Supervisor mode?
I was able to compile but after flashing .hex on lpc2368.No indication is seen like LED or LCD indication according to freertos code and i dont have JTAG.
Yes i did some modifications in make file according to WinARM
and my scheduler is in supervisor mode.
And plz tell me->
1. is freertos using roundrobin prempt scheduling or something else?
2.How can we handle multiple interrupts for multiple tasks?
I am not able to run scheduler.
If u need makefile and bootup file then tell how can i send u those?
Well this is a bit tricky to answer without all the information as requested by davedoors.
As for the previous posts questions: 1 Round robin pre-emptive with priorities (See online documentation for more information).
Not sure about multiple interrupts for multiple tasks. Should that be a task can be woken by multiple interrupt sources? or an interrupt source can wake multiple tasks? Or any other combination?
It’s not that we don’t want to help but you’re not making it easy for us to figure out what may be going wrong.