FreeRTOS + LPC1778

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS + LPC1778

774 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by FernandoR on Wed Jul 23 11:15:18 MST 2014
Hey Guys,


I started to study about freeRTOS lately, yesterday I download a sample code from freeRTOS.org to test it, but when I try to run
the sample code, it goes to an SVC_handler() after the firmware attempts to start the task scheduler.

I debuged it and goes to a part where it says:

/* Setting up the timer tick is hardware specific and thus in the
portable interface. */
if( xPortStartScheduler() != pdFALSE )
{
/* Should not reach here as if the scheduler is running the
function will not return. */
}
else
{
/* Should only reach here if a task calls xTaskEndScheduler(). */
}


In file tasks.c

I'm using the FreeRTOS 8.1

Obs: I'm attaching a file with the code I'm trying to run.

Does anyone knows why this happen??
I'll keep searching to see if I find any solutions, but if one of you knows, I'd really appreciate!!

Regards,
Fernando Augusto Rebêllo
Computer Science student

Original Attachment has been moved to: Sample_FreeRTOS.rar

0 Kudos
Reply
0 Replies