nobody wrote on Sunday, August 20, 2006:
I have cleaned out the AT91SAM7X demo to work with AT91SAM7S instead. Most of the code except the USB CDC task is removed and replaced with my own code. It all compiles and run fine in IAR but I am having issues with Crosswork. The code compiles in crosswork and all initiation seam to work fine exccept when it is time to start all the created tasks. As I understand the "vTaskStartScheduler" function ends by calling "vPortISRStartFirstTask" to start the sceduler. When this is done I get a data abort and the program stucks in the "dabort_handler" loop.
Does anyone have an idea where I should start to look for the problem. Can there be an memmory issue, stack perhaps? The Heap should be fine. I still have arround 100 bytes left on the heap assigned in freertosconfig.h file after all tasks are created. I also use heap_1.c for memory management.
Thank you for any ideas.