The reality is that, there is a project to run the OSEK (automotive electronic operating system, is actually ucosii change), running on the freescale PowerPC microcontroller, now customer want to to evaluate, can run several tasks, not a clue
CodePudding user response:
Before we use ucos ii, the feeling is how much RAM resources, as long as enough RAM resources, number of tasks can be achieved ucos ii itself limits (64 or 256)CodePudding user response:
But you are more than four tasks performance may be about to fall, after this is also a great god said before, I haven't tried,CodePudding user response:
Ok, thank you!CodePudding user response:
Microcontroller resources has to do with you and with the number of tasks youCode 1, the operating system itself takes up FLASH (UCOSII code amount is not big, only a few K)
2, the operating system's internal variables to take up the RAM space
3, you create task stack takes up RAM space
4, you create a task using a global variable and a local variable
UCOSII support 64 biggest task, so want to meet the requirements, got a big piece of SCM (RAM and FLASH is large enough), and can meet the requirements for certain,
For example: choose a ARM microcontroller STM32F407IG
FLASH=1 m
RAM=192 k
Create 15 mission more than enough!