> Karl Reichert wrote:
> > -------- Original-Nachricht --------
> > Datum: Thu, 29 Mar 2007 10:34:31 +0200
> > Von: Jan Kiszka <jan...@we...>
> > An: Karl Reichert <Kar...@gm...>
> > CC: rtn...@li...
> > Betreff: Re: [RTnet-developers] RTnet port for Tricore?
> >
> >> Karl Reichert wrote:
> >>> Hello all,
> >>>
> >>> is there any work done porting RTnet on tricore from Infineon?
> >>>
> >>> What do you think, how much work would it be, writing an ethernet
> driver
> >> for RTnet for triboard 1130 NIC? I'm talking about a direct
> >> implementation, so no RTLinux like Xenomai/RTAI underneath.
> >>
> >> On bare metal? No OS at all? Feasible, for sure. It's much like hacking
> >> RTmac/TDMA (I suppose that is your goal) into Etherboot, see the old
> >> patches. The basic TDMA support was fairly small code, just suffering a
> >> bit from our lacking standardised format for transmitting the TDMA
> >> configuration to the slaves (you will see the shell script parser in
> the
> >> patch...). Additionally, I had to add high resolution timer support to
> >> Etherboot.
> >>
> >> The advantage of bare-metal RTnet clearly is that you can achieve very
> >> low jitters for frame timing and time stamp synchronisation. Basically,
> >> you should get into the region which Ethernet Powerlink reaches as well
> >> by dedicating separate controllers on their protocol handling. I would
> >> be very interested to hear about your experiences!
> >>
> >> Jan
> >>
> >
> > Well, I'm still reading lots of papers to evaluate things, but as far as
> I understood until now, there are two possible ways how to do:
> > a) As there is no port of etherboot to the tricore architecture, I first
> have to port it to this and then using the old patches and hacking them
> into etherboot.
> > b) Implementing the RTnet spec directly on the tricore itself, which
> means, without using etherboot.
> >
> > Would you agree with that or do you have any other ideas?
> >
> > What would you consider to be less work, if you can tell?
>
> Go for b), unless you want features of Etherboot as well (boot image
> download...). I gave the reference just to study the TDMA patch, not the
> whole Etherboot design.
>
> What will be the application of that port? Means: what control structure
> will your code on tricore have, what communication will take place
> (periodic data reception or delivery, interactive traffic)? Or do you
> plan to write an RTnet library, ie. something totally generic? That's
> relevant when considering possible designs of the RTnet state machines.
>
> Jan
>
Thanks for the helping answer :)
The plan is not to write a generic lib, although this would be very fine. I'm writing my diploma at university of applied sience Berlin from beginning of may for three months. This work consists of much more than a RTnet implementation. I also have to first evaluate the requirements of the whole system, communication ...
So, what I can say to the requirements is, that I need a realtime ethernet communication, but with much less features RTnet is offering. I need for example no backup masters, no protection against failing slaves ... I just need a very simple, basic realtime ethernet, cause we are dealing with some testing systems here and if sth like failing stations occure, we will just stop whole tests, so no need for that. We are dealing with only few use cases here, which are communication from master to slave(uni/multicast) with or without answers, callbacks and communication between slaves. The whole communication is totally async.
But of course writing a generic lib could be an option for me afterwards, or maybe for master thesis next summer.
So why I am asking these questions is, because I'm at the moment thinking about differnet possibilities how to solve this problem. One of those - and at the moment my most prefered one, cause there is already a ready implementation for the PC (master) - is RTnet, but what I'm trying to find out is, how much work this would be, porting this (not completely, but basic features we need) to tricore 1130.
So, don't really know what to ask at the moment. Maybe you could give me some hints/suggestions, if you consider RTnet to be right for this, if you see any major problems ...
Thanks a lot
Karl
--
von Karl Reichert
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
|