This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: EtherNet/IP Adapter Demos: LLDP Management Object Test

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: LP-AM243

I built the demo below and checked its operation.

"ethernetip_adapter_generic_device_mii_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang"

We checked with version 09.00.00.03 of INDUSTRIAL-COMMUNICATIONS-SDK-AM243X.

We then conducted a CT19.1 protocol test on these.

At that time, the following error occurred in LLDP Management Object Test.

1323      1> *** The required System Capbility TLV is missing.
1324      2> *** The required Management Address TLV is missing.
1325      3> *** The required CIP Identification TLV is missing.
1326    Found 62 padding bytes in the frame.
1327    01 80 C2 00 00 0E 1C 63 49 25 1D CC 88 CC 02 07 04 1C 63 49 25 1D CC 04 07 05
1328        50 6F 72 74 20 31 06 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1329        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1330        00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
1331    Received a valid LLDP frame.
1332      4> *** Still received a LLDP frame after LLDP disabled.

Although it is a shutdown LLDP frame, it seems that the packet size remains unchanged at 100 bytes.

When I checked the Known Issues, I found the following issues.

[DTKEIPA-1838]
Sporadic LLDP error reported by CT19.1 after changing msgTxInterval.
The ODVA Conformance Test sets the LLDP msgTxInterval (Instance Attribute 2 in LLDP Management Object) to 5 seconds. After that the DUT correctly transmits a LLDP frame immediately (see IEEE802.1 chapter 9.2.10 Transmit timer state machine). The subsequent LLDP frame is occasionally not send correctly after 5 seconds.

Is the above error related to Known Issues?

Also, will it be fixed in the next release?

  • Hi Ryohei,

    We have received your query. Allow us till End of this week to get back on it.

  • Hi Ryohei,
    This will be fixed in the next upcoming release. Meanwhile you can test this patch:(Please note this is an early drop, it will become part of sdk in 9.1 Industrial comms sdk) Also note that it is not fully tested and the the test runs have been performed with CT20 and for the LP-AM243

       EtherNetIP_AM243_EVM_RTOS_V3.06.01.zip     

       EtherNetIP_AM243_LP_RTOS_V3.06.01.zip     

    Passwords:

    AM243x LP: [[S<{b2:0SHLWzG5

    AM243x EVM: @epDJ8|tuGBaY<m0

  • Hi Nilabh,

    Thank you for providing the patch.

    In CT19.1, we confirmed that the same four errors occur even with the new test patch.

    generic_dev_am243x_alx_r5f_freertos_mii.zip

    In CT19.1

    1323 1> *** The required System Capbility TLV is missing.
    1324 2> *** The required Management Address TLV is missing.
    1325 3> *** The required CIP Identification TLV is missing.
    1326 Found 62 padding bytes in the frame.
    1327 01 80 C2 00 00 0E 1C 63 49 25 19 E3 88 CC 02 07 04 1C 63 49 25 19 E3 04 07 05
    1328 50 6F 72 74 20 31 06 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    1329 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    1330 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    1331 Received a valid LLDP frame.
    1332 4> *** Still received a LLDP frame after LLDP disabled.

    However, In CT20, the above error no longer occurs.

    In CT20

    21459 Received a Shutdown LLDPDU.
    21460 Found 62 padding bytes in the frame.
    21461 01 80 C2 00 00 0E B8 18 6F 00 00 00 88 CC 02 07 04 B8 18 6F 00 00 00 04 07 05
    21462 50 6F 72 74 20 31 06 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    21463 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    21464 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    21465 Received a valid LLDP frame.

    Will the next released version support CT20?

  • Hi Ryohei,

    I am sorry the tested version of CTT tool is 20. Not 19, As it was recently released by ODVA suggesting fix for TLV LLD issue.

  • Hi Nilabh,

    Thank you for your reply.

    I understand that this patch was tested on CT20.

    I understand that the next released version will pass the LLDP Management Object Test.

  • Okay will close the thread now.