On 2013-03-07 15:44, Mariusz Janiak wrote:
> Dear all,
> 
> I would like to implement the RTnet protocol on a small a microcontroler. As 
> far, I have working a TDMA discipline which is able to synchronize with a 
> master (PC with Xenomai). Also, I have working non rt UDP stack implemented 
> on top of the FreeRTOS. In the next step I plan to send a UDP frames through 
> a RTmac.

Sounds cool. :)

> At this point I have small uncertainty, how whole ethernet frame containing a 
> RT UDP looks like? I assume that sending a standard UDP frame in a node slot 
> is not a point. Is the 
> following frame correct?
> 
> ----------------------------------------------------------------------------------------------------------
> |                           |                         |                  |    
>                 |            |
> |  Ethernet header  |  RTmac header  |  IP header  |  UDP header |  DATA  |
> |                           |                         |                  |    
>                 |            |
> ----------------------------------------------------------------------------------------------------------
> 
> Ethertype = 0x9021
> 
> If this is a RT UDP frame, how looks like RTmac header:
>   - Type     = ???,
>   - Version = 0x02,
>   - Flags    = 0x01 ???
> 
> Could you please shed light on this issue?

RT packets do not come with an RTmac header. That is only used to
encapsulate and tunnel non-RT packets (and for RTmac control packets, of
course).

You can find more information in rtnet/Documentation/*.spec.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SDP-DE
Corporate Competence Center Embedded Linux

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to