FreeRTOS + LPC1778

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

FreeRTOS + LPC1778

844 次查看
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

标记 (2)
0 项奖励
回复
0 回复数