Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/AM4376: PRU-ICSS-HSR-PRP-DAN, HSR outgoing packet & VLAN problem

$
0
0

Part Number:AM4376

Tool/software: TI-RTOS

Hello,

There are problems with outgoing packet in HSR mode when payload contains VLAN tag. 

SDK RTOS 5.03.00.07 is used. PRU-ICSS-HSR-PRP-DAN 01.00.04.02 is used.

Message to send (VLAN tag + GOOSE), 86 bytes:

81    00    80    00   88    B8    00    00    00    50    00    00    00    00    61    46   
80    07    67    6F
    43    62    52    65    31    81    02    0B    B8    82    06    64   
61    74    53    65
    74    83    04    67    6F    49    64    84    08    48    88    90   
C1    24    00    00   
27    85    01    01    86    02    00    CD    87    01    00    88   
01    78    89    01   
00    8A   01    03    AB    0C     A2    80    84    03    00    80   
00    83    01   00    
00    00

Outgoing packet:

01    0C    CD    01    00    01    60    64    05    62    5E    F2    81    00    80    00
89    2F    00    5A    01    FD   81    00    80    00    88    B8    00    00    00    50
00    00    00    00    61    46    80    07    67    6F    43    62    52    65    31    81
02    0B    B8    82    06    64    61    74    53    65    74    83    04    67    6F    49
64    84    08    48    88    90    C1    24    00    00    27    85    01    01    86    02
00    CD    87    01    00    88    01    78    89    01    00    8A   01    03    AB    0C
A2    80    84    03    00    80    00    83

MAC's - black, added by PRU HSR firmware VLAN tag - red, HSR tag - blue, payload - green.

Problems:
1. Additional VLAN tag (red colored) has been added before HSR tag (blue colored), so there are two VLAN tag in packet (underscored). PRU HSR firmware on recieving side  does not accept such packets.

2. Last 4 bytes of payload (01 00 00 00) are not sent.

If payload does not contain VLAN tag outgoing packet is successfully accepted by recieving side.

PRU HSR firmware successfully accepts the following packets:
- MAC's + VLAN tag + HSR tag + payload (without VLAN tag)
- MAC's + HSR tag + VLAN tag + payload (without VLAN tag)
- MAC's + HSR tag + payload (without VLAN tag)

Thanks, Alexey.


Viewing all articles
Browse latest Browse all 17527

Latest Images

Trending Articles



Latest Images