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
so, as I said earlier, "if you've decided that a 'small' controller like an 8051 is suitable for your project, I can't really see why you should then need to use an RTOS." Here are a few reasons... 1. The RTOS solves a problem that you can't or don't want to code (possibly incorrectly) my way around. 2. You will save development time that you can put to better use elsewhere. 3. The MCU has enough horsepower to run the RTOS and your application. 4. The complexity of the 8051 (with an RTOS) is simpler than some other architecture. 5. You have experience with the 8051 and RTOS. All of these sound like pretty good reasons to me. Jon
"All of these sound like pretty good reasons to me." Well, potentially good reasons...! ;-) <cynic>But you would say that - you've got an RTOS to sell...!</cynic> ;-) I didn't say it's impossible - just seems pretty improbable to me.