2009-07-06 02:19:29 UTC
I discovered that for some reason the CPU mode had changed to FIQ after power up and before vTaskStartScheduler was being called. This made me look at the start up files 'Philips_LPC230X_Startup.s' and 'crt0.s' and discovered that crt0.s had been changed (particularly the supervisor set up for some unknown reason) from the original project (unfortunately not currently under revision control). Using the old version of the file from a backup fixed this problem. Thanks heaps for your help Richard. I wasn't very familiar with the CPU modes and their use in OS design till you prompted me to look into it. Cheers.