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.

dm648 Ethernet programming

Hello Everybody

I have been working for few days on DM648 and after trying all possible ways to get my problem solved go in vain I decide to join this community to seek help from learned people in this field.

 I am using an evaluation module of DM648 to make a demonstration project about sending/recieving data from RJ45 through DSP. I am using the Hello World example in NDK2.0. The problem occurs when I can clearly see a recieved packet from RJ45 port 0 on the DDR2 of the DSP. It can be viewed by seeing the code of Hello World at the function called "EMAC_DEQEUERX" Now this packet is present in the DSP memory and I want to send the packet back from port 1. I dont know how to do this what changes I put in the Hello World example to make me able to do so. For your information size overflow of DSP memory due to large no. of packets is not an issue in this senario because I am making a demonstration project hence only 10 packets are sent over a period of 5 minutes Please answer me with some appropriate changes in the code to achieve my target.

Reagrds

Mark J Depp

  • Hi,

    As you might be aware, the DM648 has a three port switch Ethernet subsystem(3PSW) and its dual EMAC interfaces add IP switching capabilities.

    However, for applications that require interaction with two completely different IP networks, a complete separation of the two EMAC interfaces is required.

    So there was a solution developed on top of NDK2.0 which makes this support possible. Please see the link below -

    http://processors.wiki.ti.com/index.php/Using_two_DM648_EMACs_separately

     However the above solution is mainly - If you want your computer A and B to be on different subnets and they are connected via DM648 EVM, hence you may be required to associate 2 different IP addresses to the ports on DM648.

    Otherwise if both your computers - Computer A and Computer B are on same subnet and connected via DM648 EVM, then the NDK2.0 should work straightaway without requiring the above mentioned solution.

    This can be tested with just a simple ping command, issue ping command from computer A (which is connected to port 0 of DM648 EVM) to Computer B (which is connected to port 1 of DM648 EVM).

    Thanks,

    Prathap.

  • Prathap

     

    I already have all the information you gave. The DM648 is working fine on NDK2.0 for few hours and then suddenly stops and halts in to the infinite CSL loop. I want the answer of this problem. Moreover this problem is not only faced by me but many engineers around the world and many posts on this BIOS and DM648 forum is present highlighting the issue but no one listening no one responding.

  • Mark,

    From the earlier post, it looked like a different problem of getting packets out of port 1. So i gave you some links that would help you to get the 2 ports working independently. Now from your latest post, i understand that the problem seems to be DM648 stopping after few hours of working.

    Are you using a 100Mbps or gigabit network? Do you see problems in both scenarios?  Are there any error logs/print messages seen?

    Also i understand from your post that you are running helloworld application. Have you tried running client.pjt application? Do you see problems there also ie i mean to ask do you see problems irrespective of the application used?

    My simple suggestion would be to make a point to point setup ie DM648 EVM connected to a standalone PC and then run over night ping tests from the PC to the DM648 EVM  in both 100Mbps as well as gigabit configuration. This would isolate any network/speed related issues.

    Thanks,

    Prathap.

  • Hi,

    Tt seems as if I have the same problem. After correctly running for a few hours, the commucation will stop.
    The problem has been described at: http://e2e.ti.com/support/embedded/f/355/t/64939.aspx

    But nobody response to me.