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.

AM2612: Profinet LP-AM261 no connect response

Part Number: AM2612
Other Parts Discussed in Thread: LP-AM261

Hi TI-Team,

i am trying to get the profinet device demo running on the LP-AM261.

Actually it worked pretty good.... mostly.

I followed this FAQ:

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1581230/faq-am2612-how-to-run-profinet-example-on-am261x

I am using:

mcu_plus_sdk_am621x_11_00_00_29
ind_comms_sdk_am261x_2025_00_00_08
CCS 20.4.1.4 (not relevant)
ti-cgt-armllvm_4.0.3.LTS

I build the demo with the help of the AM261 makefile!

I followed all steps mentioned above. Everything looks good. After flashing the EVM and setting back to OSPI boot mode i have the exact output on the uart like in the FAQ.
I connected the LP-AM261 EVM to a certified Profinet Master.

I can set the profinet device name and i can see that the ip is set correctly in the device.
image.png
I can also use the DCP feature to let a LED blink on the EVM.
image.png


BUT if it comes to cyclic data exchange, nothing happens.

image.png

There is no connect response from the device. Normaly i would at least expect to receive a connect response with a diff block. 
I am very limited in debugging because of the prebuild lib. I tried to see if i am getting the PN_APP_IOD_cbrArConnectInd callback without success.

Could you please help finding the problem to start some performance tests with the board.
thanks a lot
best regards
Chris

  • Hi Chris,

    Based on the UART info and the trace picture you shared, it looks like the stack is up and running. Would you please share the following info:

    1. What are the differences between your application and the default demo application available within the SDK?
    2. Since our device is also certified, it makes sense to try with another PLC. Are you able to do that? Our stack is tested with Siemens PLCs recommended by the certification tester.
    3. Would you be able to share a Wireshark log that starts with a device switch on and ends shortly after "connect request"?

    Thank you.
    Kind regards,
    Kamil

  • Hi Kamil,

    thanks for the response.

    1. There is no change between my application and the default demo application. I only added two OSAL_Printf to see if i receive a ConnectInd from the pnio stack.

    2. Right now i do not have any other PLC. Maybe next week. 

    3. please find attached the wireshark trace. maybe you see something that i miss. 

    -> can i have a email to share the wireshark trace. The upload is not working!?

    thanks a lot for you support

    best regards

    Chris

  • Hi Chris,

    the upload should be working. Can you try to put it in a zip file?

    Thanks.
    Kind regards,
    Kamil

  • pnio_startup_am261.zip

    that seems to work. Thanks

  • Hi Chris,

    are you able to change DSCP field in the IP layer from CS2 to CS0?
    It seems that our device is dropping your PLC frames because of this reason.

    Kind regards,
    Kamil

  • Hi Kamil,

    thanks for helping. The profinet stack is running now. I used an older profinet stack version on our controller side that send DSCP field CS0 and it worked.

    Now i have some additional questions.
    - Why is your stack dropping frames with DSCP CS0? (I am not sure, but for me it seems that DSCP is another layer then profinet.)
    - How old is your certification?
    - Will you change this in future? When will an update be available?

    have a nice weekend

    best regards
    Chris

  • Hi Chris,

    - The stack is dropping frames with DSCP > CS0 due to an internal bug on our side.
    - The certification was obtained for the latest SDK release (the one you are using).
    - I just planned the fix and it will be included within the next release in April.

    Thank you.
    Kind regards,
    Kamil