Hi all, In RTX we can assign a function as a task with the _task_ #NO tag. When calling os_create_task we just pass this task number as a parameter. Assume one has to use banking, in this case, how does RTX identify, in which bank the function exists ? from where does rtx get information about the banks of any task at runtime ? regards pachu
Yes, RTX51 and RTX51 Tiny save the current code bank in the Task Control Block (TCB). Reinhard
this thread has grown wings, so let me try to get it back to earth. I assume anyone can agree on the following 1) the '51 can be the right choice for an app requiring a RTOS. 2) the '51 can be the wrong choice for an app requiring a RTOS. 3) the '51 can be the right choice for an app requiring floating point. 4) the '51 can be the wrong choice for an app requiring floating point. 5) the '51 can be the right choice for an app requiring >64k code space. 6) the '51 can be the wrong choice for an app requiring >64k code space. I hope all agree so far, on that basis: Some of us see problems from the perspective of 1), 3) and 5), let us call those group a. Some of us see problems from the perspective of 2), 4) and 6), let us call those group b. So, since we agree on the 6 points, no group b member can disagree with a group a member as to what is possible So, since we agree on the 6 points, no group a member can disagree with a group b member as to what is possible I think group a is willing to accept someone using RTOS, FP and code banking, just because (s)he "wants to" whereas group b tend to question it. I have no beef with someone using RTOS, FP and code banking in a desperate attempt to save some already designed hardware, but I can not accept that "becuse i want to" is a reasonable design parameter. Erik
"So, since we agree on the 6 points, no group b member can disagree with a group a member as to what is possible So, since we agree on the 6 points, no group a member can disagree with a group b member as to what is possible" If you change the phrase 'is possible' to the phrase 'may be reasonable' then I'll agree with you.