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.
I have to make an rtos for 8051.
1.what are the functions performed by bootloader during startup of the chip? if i can execute a program on my chip stored at any location in memory then what do i mean by making a separate OS for 8051?
please help me..
regards, M.Stephen Selvaraj
...you can either roll your own RTOS...
or you can ask me for a copy of my rapid time opareting system.
go on.... you know your wanting it ;)
In some situations, the requirement is in ns - which means we need dedicated hardware. ---- In that case, you can either roll your own RTOS ---- or you can ask me for a copy of my rapid time opareting system.
WHY ON EARTH????
or you can ask me for a copy of my rapid time opareting system. sure, if it can handle a 100ns task period.
Erik
PS I am not a RTOS hater, I use them on more capable processors, but the hops, skips and jumps taken by those that make OS for the '51 is nothing but trying to fit a square peg in a round hole.
sure, if it can handle a 100ns task period.
it can do.... but youve got to use a 8051 microprocessor core running at more than 1500MHz
thats a meaty chip ;)
How much more than 1.5GHz?
1.5GHz only informs us what the clock cycle time is. It still doesn't say anything about now many clock cycles a single instruction takes, or how many clock cycles that are needed to detect that a task switch is needed and then manage to perform that switch.
Do you detect and switch in 150 clock cycles? And normally, the real-time requirement is that the task must have responded within the stipulated time, so the task may need a couple of clock cycles too...
BULL!!!
the correct statement would be "it can NOT do since no 8051 microprocessor core running at more than 1500MHz exist".
I repeat a RTOS for the '51 is trying to for a square peg in a round hole
"a RTOS for the '51 is trying to for a square peg in a round hole"
With powerful chips like the big SiLabs ones, and especially the extended ones like Dallas with >>64K linear code space, there most certainly are applications where an 8051-derivative could be used and an RTOS could be appropriate.
Sure, these are at the "high end", and I stand by my earlier assertion that, In general, applications that are suitable for implementation on an 8051 do not need an RTOS - but that is quite a bit different from just calling it unqualified BULL...
"or you can ask me for a copy of my rapid time opareting system."
You originally promised to just post it without the need for anyone to ask - so where is it...?
This is a side issue, but I really don't buy this comment: the correct statement would be "it can NOT do since no 8051 microprocessor core running at more than 1500MHz exist".
Both Intel and AMD are processing more than one instruction/clock cycle at higher frequencies. And the x86 instructions are not easier to process than the '51 instructions. With duplication of the tiny execution units, such a processor could use speculative evaluation to avoid stalls on misspredicted branches.
The problem is not if a GHz '51 core can be made - the problem is that the I/O pins would not work too well at 5V or 3.3V logic with such frequencies.
To make it worth the investment, and at the same practical, the core would have to be integrated into an application chip, allowing it to run all I/O at 1.2 to 1.8V. With 5V outputs supporting several mA each and full speed toggling, the chip would probably start to glow if put in a tight loop toggling all pins.
the original statement: it can do.... but youve got to use a 8051 microprocessor core running at more than 1500MHz
Andy Neil Posted
I stand by my earlier assertion that, In general, applications that are suitable for implementation on an 8051 do not need an RTOS - but that is quite a bit different from just calling it unqualified BULL...
I stand by my statement, stating that something "can do" something if a nonexisting device were available, is BULL. If something requires something nonexisting to do somathing it can NOT do it.
The qualified 'BULL' referred to that specific phrase.
As a software developer, you should notice that the "You can do xx if yy..." in a previous post is a valid sentence, and not automatically bull because of the lack of existing 1.5GHz '51 processors. That's the nice thing about qualified conditionals :)
If the sentence had said "You can do xx [now]" it would have been bull unless such a core had existed.
The question here is if 1.5GHz is enough or how much "more than 1500MHz" that would be required.
The question here is if 1.5GHz is enough or how much "more than 1500MHz" that would be required just for ease let us make the orignal statement 1.2Ghz making the instruction cycle frequency 100MHZ ~10nS. That would give (for a 100ns task switch) 10 instruction cucles to save the stack in XRAM, restore the new tasks stack, switch task etc. Evwn with a one clocker (120 instruction cycles) I doubt very much it could be done.
so my estimate
a whole lot more
Maybe the guy pushing his real (sorry, rapid) time operating system is expecting us to emulate an 8051 running at 1500MHz on a PC quad core running at 4MHz or more?
PC quad core running at 4MHz...
Whoops, I think I should have typed 4GHz!
I was thinking about the new hip trend in embedded systems: Z80Quad :)