Need starting point for FREERTOS+AT91SAm7+gcc, configUSETRAC

Hello,

I need a simple starting project for FreeRTOS+AT91Sam7+gcc,

I am tryint to create my own by as soon as I disable configUSETRACEFACILITY , teh system stopped working:

Steps: Take ARM7AT91SAM7X256Eclipse, stripped it by removing the demo task, web server, and uip - still works

My FreeRTOS config ia as follows:

#define configUSE_PREEMPTION 1

#define configUSE_IDLE_HOOK 0

#define configUSE_TICK_HOOK 1

#define configCPU_CLOCK_HZ ( ( unsigned long ) 47923200 )

#define configTICK_RATE_HZ ( ( portTickType ) 1000 )

#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 4 )

#define configMINIMAL_STACK_SIZE ( ( unsigned short ) 200 )

#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24 * 1024 ) )

#define configMAX_TASK_NAME_LEN ( 0)

#define configUSE_TRACE_FACILITY 1

#define configUSE_16_BIT_TICKS 0

#define configIDLE_SHOULD_YIELD 1

#define configUSE_MUTEXES 1

/* Co-routine definitions. */

#define configUSE_CO_ROUTINES 0

#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )

/* Set the following definitions to 1 to include the API function, or zero

to exclude the API function. */

#define INCLUDE_vTaskPrioritySet 0

#define INCLUDE_uxTaskPriorityGet 0

#define INCLUDE_vTaskDelete 0

#define INCLUDE_vTaskCleanUpResources 0

#define INCLUDE_vTaskSuspend 0

#define INCLUDE_vTaskDelayUntil 1

#define INCLUDE_vTaskDelay 1

#define INCLUDE_xTaskGetCurrentTaskHandle 0

#define INCLUDE_vTaskList 0

As soon as I change configUSETRACEFACILITY to 0, the image size is 8.2 K (great), but free rtos stoped working.

As far as I can see from debugging, it does not gets ticks interrupts?

Any ideas how to solve this?

On the alternative, any working starting point for FReeRTOS+GCC+SAM7?

If you look at DEV-08244

Development Board for AT91SAM7X256 in the Sparkfun in catalogue, there are pointers to Jim Lynch’s tutorial for this processor. The are also examples and FreeRTOS for this board.

If it isn’t on this page, there is also http://www.olimex.com/dev/SAM-BA%20Notes.htm which explains how to us SAM-BA which as I undersand it is the bootloader for the AT91SAM.

I didn’t know there was an Eclipse setup for the AT91SAM. I’ll have it track it down.

Forgive me if you already know this.

Let us know if you get it working. I’m about to buy one myself.

Dennis