- RTOS porting
- Posted by abhiraj11 on November 28th, 2005
Hi,
Can any one tell me how to start porting a RTOS on ARM. I mean wha
exactly should i Study to port a RTOS.
Thank You.
Abhiraj
- Posted by Boudewijn Dijkstra on November 28th, 2005
"abhiraj11" <abhiraj11@yahoo.com> schreef in bericht
news:_ZOdnb1WGJYtZhfeRVn-iQ@giganews.com...
I'm not a porting expert, but I think I have a few useful clues for you:
- Make sure that it isn't already ported.
- Determine how portable the various parts of RTOS code are.
- Use as much as possible a high level language like C.
- Use a popular compiler/assembler/linker toolchain.
- Get a popular reference board, a popular JTAG debugger and a popular IDE
that supports your toolchain and debugger.
- Look at standalone sample IDE projects for ARM and for architectures that
you are familiar with.
- Look at RTOS sample IDE projects for ARM and for architectures that you are
familiar with.
- Look at other ports of the RTOS.
- Look at other RTOSes ported to ARM.
BTW, which RTOS are we talking about?
- Posted by Dan Henry on November 28th, 2005
On Mon, 28 Nov 2005 18:09:09 +0100, "Boudewijn Dijkstra"
<usenet@bdijkstra.tmfweb.nl> wrote:
Since some (small?) portion of the RTOS is likely to be written in
assembly language, study the ported-from architecture and its
instruction set(s) in addition to the same for the ARM.
--
Dan Henry
- Posted by Richard on December 2nd, 2005
"abhiraj11" <abhiraj11@yahoo.com> wrote in message
news:_ZOdnb1WGJYtZhfeRVn-iQ@giganews.com...
The FreeRTOS WEB site has reproduced a report written by two students that
details their porting efforts. Take a look at the ColdFire port pages, also
the "How FreeRTOS Works" might be of interest. URL in signature below.
Regards,
Richard.
http://www.FreeRTOS.org
- Posted by Jim on December 9th, 2005
Your development board should come with startup assembler code for
getting RAM, etc. to work. And your compiler vender should give you
the rest to get a c/c++ environment up & running. I always get a small
c/c++ program up & running first. Then, I port the RTOS. Note, each
RTOS has it's own porting guide.
If you lack experience with an RTOS, you might find the book
MicroC/OS-II by Labrosse helpful. It's a real small RTOS and I'm sure
it's been ported to arm.
Jim