Some doubts while Reading FAQ's

ephobb wrote on Sunday, May 31, 2015:

I have one query regarding FreeRTOS, While reading FAQ on following are the doubts.

  1. i found that there is written as
    “All FreeRTOS ports use a timer interrupt, and some FreeRTOS ports use multiple interrupts. Use the provided demo projects as an example.”

What does it mean? Is it like it uses timer interrupt to handle schedule task?

  1. Each byte of the task stack is set to 0xa5 when the task is created, making it relatively simple to see if a stack overflow has occurred.
    why only 0xa5 value? means is there any specific reason or only to compare?

rtel wrote on Monday, June 01, 2015:

1 - All timing in the RTOS is relative to a periodic interrupt called the tick interrupt. The timer is used to generate the tick interrupt.

2 - 0xa5 is just used to make it easy to see when debugging. There is nothing special about the number other than it is a repeating pattern of 1 then 0.


ephobb wrote on Monday, June 01, 2015:

Ok thanks.
If we are using timer fortick then is it available to programmer to use it somewhere else?

tlafleur wrote on Monday, June 01, 2015:

Microchip will be releasing a new PIC32MZ processor soon with FPU, do you have plans to support this FPU variant in FreeRTOS…

PIC32MZxxEFxx. This is about to go into sampling and target production in early July’15.
The additional enhancement is adding a FPU…

rtel wrote on Monday, June 01, 2015:

The timer used to generate the tick interrupt is under the control of
FreeRTOS, but you can add code into the tick interrupt by way of a tick
hook function:


rtel wrote on Tuesday, June 02, 2015:

Hi - I think this was posted in this thread accidentally rather than
starting a new thread - but the answer is yes there will be support at
some point.