Content originally posted in LPCWare by FernandoR on Wed Jul 23 11:15:18 MST 2014Hey 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.cI'm using the FreeRTOS 8.1Obs: 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êlloComputer Science studentOriginal Attachment has been moved to: Sample_FreeRTOS.rar