This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX Code Banking

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

Parents
  • Removing the RTX and the floating point made the code banking superfluous and, lo and behold, aftre doing the above, the project started behaving as required.

    It has been my experience that using the right tool for the right job is usually the best practice.

    I have worked on a project where the original designer spent weeks writing work-arounds to avoid using an RTOS (on an 8051). After one month he had a system that barely worked. There was still about 3 weeks of development left to do. The project was handed to me to finish (because, after all, it was almost finished).

    After an audit of what I had, I determined that the system, as designed, would not work. So, I tossed the design, and used an RTOS (RTX51 Tiny) and got the whole thing finished in about 1 week.

    There is a time and a place for each tool. RTOS, floating-point, and code banking are just more tools in the toolbox from which to choose.

    Jon

Reply
  • Removing the RTX and the floating point made the code banking superfluous and, lo and behold, aftre doing the above, the project started behaving as required.

    It has been my experience that using the right tool for the right job is usually the best practice.

    I have worked on a project where the original designer spent weeks writing work-arounds to avoid using an RTOS (on an 8051). After one month he had a system that barely worked. There was still about 3 weeks of development left to do. The project was handed to me to finish (because, after all, it was almost finished).

    After an audit of what I had, I determined that the system, as designed, would not work. So, I tossed the design, and used an RTOS (RTX51 Tiny) and got the whole thing finished in about 1 week.

    There is a time and a place for each tool. RTOS, floating-point, and code banking are just more tools in the toolbox from which to choose.

    Jon

Children
No data