RTOS Port on ATmega32

vishveshd wrote on Monday, August 19, 2013:

I am trying to port RTOS port for ATmega323 using IAR . I am using IAR Workbench for ATmel AVR 6.11

I am facing a problem using  breakpointing using JTAGICE mkII .
when i put the IDE in debug mode an error message pops up . It says stack plugin failed to set a breakpoint on main .
I havent done any changes in configuring the port except changing the controller . Please help me through this .
thanking you

davedoors wrote on Monday, August 19, 2013:

Are you sure this is a FreeRTOS question and not a question for IAR?

vishveshd wrote on Monday, August 19, 2013:

the RTOS port provided for ATmega323 is giving this problem on IAR 6.11 for AVR. you may check this on simulator simulating the same … so needed the help on this …

thanx a lot

rtel wrote on Monday, August 19, 2013:

I don’t think that will prevent debugging - at least it didn’t for me.

The plug-in that checks the stack is not useful when you are running FreeRTOS anyway because task stacks come from the FreeRTOS heap - which the compiler and linker know nothing about - so it is best just to turn it off anyway.  That can be done using the Tools->Options menu item in the IDE.