hi,
what kind of code exactly is nxtOSEK generating? Is it native ARM machine code or is it sort of byte code for a virtual machine?
nxtOSEK
Re: nxtOSEK
Your answer should be on this page: http://lejos-osek.sourceforge.net/faq.htm
More info: http://www.cs.ru.nl/lab/nxt/nxtosek/nxtOSEK.html
- Xander
More info: http://www.cs.ru.nl/lab/nxt/nxtosek/nxtOSEK.html
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: nxtOSEK
I know this site, but I don't understand the information given.
it's a RTOS, ok, and one can write code for this via gpp, ok.
But what is a RTOS? a bytecode interpreter? or what else? What exactly is it doing with the code?
I can't find anything specific about the kind of the compiled code - they only speak of "final program binary."
I can't actually imagine how preemptive multitasking is achieved by pure, native genuine ARM machine code, considering that the ARM C gnu compiler itself does not support multitasking. So is code for RTOS sth different from genuine ARM machine code to be able to be interpreted by nxtOSEK RTOS? Comparable to sth LejOS does with compiled java code?
it's a RTOS, ok, and one can write code for this via gpp, ok.
But what is a RTOS? a bytecode interpreter? or what else? What exactly is it doing with the code?
I can't find anything specific about the kind of the compiled code - they only speak of "final program binary."
I can't actually imagine how preemptive multitasking is achieved by pure, native genuine ARM machine code, considering that the ARM C gnu compiler itself does not support multitasking. So is code for RTOS sth different from genuine ARM machine code to be able to be interpreted by nxtOSEK RTOS? Comparable to sth LejOS does with compiled java code?
Re: nxtOSEK
Real Time Operating System: http://en.wikipedia.org/wiki/Real-time_operating_systemdoc-helmut wrote:But what is a RTOS? a bytecode interpreter? or what else? What exactly is it doing with the code?
Depending on how you compile, it is a pure ARM binary that you load into the RAM. There is no interpretation going on.I can't find anything specific about the kind of the compiled code - they only speak of "final program binary."
I can't actually imagine how preemptive multitasking is achieved by pure, native genuine ARM machine code, considering that the ARM C gnu compiler itself does not support multitasking.
Linux is also capable of multitasking, despite being compiled with gcc (the same compiler). The multitasking is not done by the compiler, it is done by the OS, using a scheduler. Here's another example of an RTOS that can run natively on many platforms: http://www.state-machine.com/, using a very small microkernel. It doesn't matter that the scheduler runs in a program or inside the kernel.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: nxtOSEK
thx, now I understand a little more of it...
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest