I am new to FreeRTOS so sorry if that is a stupid question but I really want to figure this out…
I have an IAR program originally written for Cortex M3 using Stellaris. I got it from the source code with the FreeRTOS book - A practical guide. As I don’t have the device I want to debug the program with the Simulator. I changed the progect options and everything compiles.
The BIG problem is that the xPortSysTickHandler located in startup_ewarm.c is never called… I think it should be called with every system tick. I have no idea why this happens…
The FreeRTOSConfig.h looks ok - it includes:
/* Use the system definition, if there is one */
#define configPRIO_BITS __NVIC_PRIO_BITS
#define configPRIO_BITS 5 /* 32 priority levels */
/* The lowest priority. */
#define configKERNEL_INTERRUPT_PRIORITY ( 31 << (8 - configPRIO_BITS) )
/* Priority 5, or 160 as only the top three bits are implemented. */
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 << (8 - configPRIO_BITS) )
I suppose that there is some issue with the demo… running with the IAR simulator but I have no idea what should I change. Any advice will be much helpful
Thanks very much!