Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on

Re: porting tcp/ip stack from one rtos to another

1) Read the tcp/ip stack documentation.
2) Read the target RTOS documentation.
3) Port code.
Seriously, did you expect a useful answer from such a vague
question? If yes, then give up and hire somebody with a clue.
--
Grant Edwards grante Yow! Four thousand
at different MAGNATES, MOGULS
Grant Edwards grante Yow! Four thousand
at different MAGNATES, MOGULS
We've slightly trimmed the long signature. Click to see the full one.

Re: porting tcp/ip stack from one rtos to another
On Fri, 26 Oct 2007 12:22:04 -0500, "elitekatti"

First you should thoroughly understand the synchronization and
communication primitives of the original OS.
Then you should thoroughly understand the synchronization and
communication primitives of the target OS.
Understanding how TCP works will help a lot.
After this it is time to start studying the TCP/IP stack code and
think about how the primitives used in the original OS can be replaced
with primitives available in the target OS.
Paul

First you should thoroughly understand the synchronization and
communication primitives of the original OS.
Then you should thoroughly understand the synchronization and
communication primitives of the target OS.
Understanding how TCP works will help a lot.
After this it is time to start studying the TCP/IP stack code and
think about how the primitives used in the original OS can be replaced
with primitives available in the target OS.
Paul

Re: porting tcp/ip stack from one rtos to another

Understand the OS specific requirements w.r.t tcp/ip code and
implement those changes. Try correlation.
Normal changes can be :
1) The IPC - It can be syntax difference, operation difference ,
header file difference,
return type difference and others.
2) Prioritising.
3) Interrupt handling
4) Scheduling
5) Synchronisation
6) Compiler dependent changes will also be present.
Calling convention differences.
It would help the people in the group to help you if you can tell
about your development environment details.
Karthik Balaguru
Site Timeline
- » AHB-APB bridge between normal peripheral and processor
- — Next thread in » Embedded Programming
-
- » GTK on LH75401
- — Previous thread in » Embedded Programming
-
- » C++, Ada, ...
- — Newest thread in » Embedded Programming
-
- » Prośba o namierzenie "blaszki z wtyczki"
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » RCA RNSMU4336
- — The site's Last Updated Thread. Posted in » Electronics Repair
-