At91SAM7X Crashes

alibeirami wrote on Saturday, May 09, 2009:

Hi there fellas,

I am new to FreeRTOS and trying to develop my first application. I am using AT91SAM7X256 and my program has just on task, just an endless loop of vTaskDelay(100) in the body of task. I debugged the program with a JTAG debugger and every thing works fine until I enter to the body of function and BAM! I find myself at memory address 0x10 which has an "b 0x10" instruction at it and serves data abort interrupt. I am sure that vTaskScheduler starts in SVC mode.
Any suggestions?
thanx.

rtel wrote on Saturday, May 09, 2009:

Make sure you have the ARM/THUMB configuration correct.  Best thing to do is start with the existing SAM7X/GCC demo, then just remove the demo tasks and add your own.  That way you start with a known good working configuration.

Regards.