This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Concerto ARM Issues while context switch without debug enabled

Other Parts Discussed in Thread: CONTROLSUITE

Hi

I have a Systick handler function SysTick_Handler for which the assembly code is generated as follows when the debug flag is used.

PUSH            {R3, LR}
SysTick_isr();
BL              SysTick_isr

When debug flag is not enabled then     PUSH      {R3, LR} is not get generated. Pushing PSR and LR to stack is done only when debug is enabled.  As I am doing some context switching inside Systick ISR I need a consistent behavior irrespective of Debug is enabled or not.

I am using arm_5.1.2 from controlSuite for F28M36 processor.

Thanks in Advance,

Sumith