AT91SAM7S256 modes in FreeRTOS

aturowski wrote on Thursday, February 26, 2009:

Hi all!!!
I’ve got two questions:

1) Could you please tell me, which ARM processor modes are used during execution of which parts of FreeRTOS. I mean which mode is used during for example scheduler execution, semaphore take etc.

2)Could you also please tell me what are the minimal stack sizes for these modes and if stacks for all processor modes has to be allocated and/or initialized?

davedoors wrote on Thursday, February 26, 2009:

For stack sizes check the demo apps.

Main is called from Supervisor mode. Supervisor mode and IRQ mode are both used for context switching. Tasks run in System mode.

aturowski wrote on Thursday, February 26, 2009:

Thank you for information.