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.

F28M35H52C1 Ethernet UDP



hi all,

i'm using the concerto card to sends to send and receive data through the ethernet cable via UDP protocol. Everythings works but after 5 minutes the concerto send UDP broken broadcast like this : www.hostingpics.net/viewer.php

The concerto card was programmed with simulink that use the TI libraries. 

This is the report from Matlab :   ( to visualise it you need to open com_ethernet_m3_codegen_rpt.html with internet explorer).

Is this possible that there are some conflict with the way that simulink use the library from TI ? 

Regards, 

Chris.

  • Chris,

    I'm not sure about Simulink, I haven't worked with it. But after 5 mins are the packets still being transmitted from device? Is the device going through a watchDOG reset? or is the PHY getting reset? the source address is also broadcast address and I'm not sure why that would be. Probably something to debug.

    Best Regards

    Santosh Athuru

  • Hello,
    May I know your setup a bit more? I mean how many channels of UDP are you using at once and what is the datalength that you are trying to transfer.
    Also, would be great to know how your F28M35 is connected to the network. Is it a direct cable connection to the receiver of the UDP packets or is it via router network?
    I guess you are using the DHCP assignment of IP address to the Concerto. Do you see the same problem with STATIC IP address assignment too?
    Regards
    Sandeep
  • Hello Chris

    Can you please provide us the info as mentioned in my first reply if it is still reproducible.

    If it is, it would be highly helpful if you can contact Tech Support of Mathworks or email us with the models at c2000_expert@mathworks.com along with your License Number.

    I was not able to reproduce this behavior with R2016a. I don't know which version of MATLAB/Simulink you are using?

    Regards

    Sandeep

  • Hi all,

    Thank for your replies,

    Sorry for taking so long to answer your questions.

    The concerto still transmit UDP packet : not the one with the data but the broken one i have linked before.

    i'm looking if the device is going through a watchDog reset or PHY.

    i'm using 2 UDP channel : One receiver et one sender. The datalength is 8 ( an double ) i use an router network, and i'm only using the Static IP.

    i'm using the matlab R2015b

    Regards,

    Chris
  • Hello Chris

    I guess your problem is happening at the receiver of the UDP. Can you please check and confirm if the UDP receive block in your model is has checked "Wait until data received". If that is set to true, we will wait until valid data is received and can potentially time out your IP address lease. 

    This can then be traced back to why the sender is not sending the data which the UDP receiver in Concerto is waiting for. 

    You can uncheck that checkbox and see that you may not face that problem of the broadcast stopping. 

    Regards

    Sandeep

  • Hello Sandeep,

    "Wait until data received" in the UDP receive block was uncheck.

    I have disable the watchDog and i still have the problem.

    Regards

    Chris
  • Hello Chris

    I think the easiest solution at this point would be to send us the models and your license number to c2000_expert@mathworks.com. 

    The moment we receive your models, i will try to get back to you as soon as possible.

    Regards

    Sandeep Acharya

  • Hello Sandeep

    I'll contact my licence administrator and send you the models asap.

    Regards

    Chris