We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
As I know, in order to resume a task, uC/OS-II copy the whole hardware stack to the external simulated stack. However, RTX51 tiny just preserve part content of hardware stack of a task,then ,how does tiny resume a task? Thanks in advance!
RTX51 Tiny maintains a stack for each task using only the internal memory (IDATA) of the 8051. But the internal memory of the 8051 is very limited.if I create several tasks,maybe the stack would be overflow.How does TINY solve this problem? when task swithing ,in order to resume previous tasks later,do all of the registers and local varibles will be saved in the stack?Thanks.
Actually the stack requirements in real applications are not as high as you imaging. Basically only the call/ret addresses are stored on the stack. With other words, stack was not an issue on several 1000 RTX TINY user applications in the past 12 years.