I keep getting a __dapt() on execution of the Demo for ARM7_AT91SAM7X256_Eclipse. On the first call to vTaskIncrementTick() it attempts to find if a timeout has expired using prvCheckDelayedTasks(). Unfortunately, it appears prvInitialiseTaskLists() has not executed prior to this point and pxDelayedTaskList has a NULL pointer for it. This causes all kinds of problems.
Any idea why initializations are not preformed prior to allowing ticks to generate? Has this already been found out? (I did browse/search this list and did not find any thing.) Is there a patch for this potential issue?
The tick interrupt is configured as the scheduler is started and after interrupts have been disabled. Interrupts will not be enabled again until the first task is running. This means provided you have created some tasks to run you should not get any tick interrupts until everything has been initialized. The lists get initialized when the first task is created.
Are you using IAR tools? If so the most likely cause is that the debugger macro file (which contains scripts that are run on debug events, such as reset) is not correctly clearing the interrupt peripherals. Look for a file in the debugger settings that has a .mac extension.