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
  • ""1) Code banking"

    Not on an 8051 project"

    ""2) Floating point"

    Never without the aid of a numerical co-processor."

    ""3) RTX"

    Never on an 8051."

    You see, this is the thing that gets me down. You are advising the OP not to use these things with little or no information about his project and no experience of using them yourself in the context of the 8051/Keil toolchain.

    I see that you do have experience of RTOS and code banking on other 8 bit devices, and I'm not surprised that the experience wasn't particularly enjoyable. However, neither of us has experience of the Keil implementations of these things so I don't think it's reasonable to just rule them out, especially without knowing any details of the project they're being used on.

    I have never used RTOS/code banking with an 8 bit processor and probably never will for a variety or reasons. However, I can see that there may be some applications where speed or timing are not issues in which case these may be perfectly reasonable to use.

    I do use floating point - lots of it, in most of my projects. The 8051 suits my applications very well and I have no timing issues with the maths. So, in my case, the 8051 is the right processor, the fact that it is not 'suited' to floating point is irrelevant.

Reply
  • ""1) Code banking"

    Not on an 8051 project"

    ""2) Floating point"

    Never without the aid of a numerical co-processor."

    ""3) RTX"

    Never on an 8051."

    You see, this is the thing that gets me down. You are advising the OP not to use these things with little or no information about his project and no experience of using them yourself in the context of the 8051/Keil toolchain.

    I see that you do have experience of RTOS and code banking on other 8 bit devices, and I'm not surprised that the experience wasn't particularly enjoyable. However, neither of us has experience of the Keil implementations of these things so I don't think it's reasonable to just rule them out, especially without knowing any details of the project they're being used on.

    I have never used RTOS/code banking with an 8 bit processor and probably never will for a variety or reasons. However, I can see that there may be some applications where speed or timing are not issues in which case these may be perfectly reasonable to use.

    I do use floating point - lots of it, in most of my projects. The 8051 suits my applications very well and I have no timing issues with the maths. So, in my case, the 8051 is the right processor, the fact that it is not 'suited' to floating point is irrelevant.

Children