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 + NDK 2 issues

Hello

I am working on networking project for which i am using ndk 2 .

Well i hve configured the ethernet ports in ALE BYPASS mode it works between two PC .

But when i i hook one physical to my lan cable and other 2 my pc ... no traffic flows

NDK 2 stops working on LAN ...

Kindly please comment

Regards

Amna

  • I may not be able to help you directly with your problem.

    But your description is confusing to me. Please state the DM648 hardware you are using and the exact network topology you are using. There seem to be words missing ("physical ..." what?) and ambiguous use of 2 for two or to (I am not sure).

  • hello;

    i have TMDXDVP DM648 board and i have connected two computers to its two physical RJ45 ports. i want to communicate between two computers or between a computer and LAN...
    but i have to use four wire(2 pair) Ethernet(LAN) cable. i don't want to use all the 8 wires of ethernet cable...

    1) when i use NDK 1.92.00.22 it works well.
    2) but when i use NDK 2.0.0.0 it did not communicate at all.

    now my question is will it work, in case of NDK 2.0.0.0, if not, what can be the reason???

    As NDK 1.92.00.22 is an evaluation version and it alse creates halting problems, that's why only choice i have is to use NDK 2.0.0.0 but using 4 wires of ethernet cable.

    regards
    Adnan

  • hola

     Okies .. i'll tell u everything in detail... DM648 comes with two on board ethernet physical port.

    Inital configuration of these ports  in every NDK project is in normal mode that is they act like a switch , they simple forward the traffic comimg from one end to another and vice versa.

    In ALE bypass mode , the ethernet packets coming on either port are just forwarded to the DSP , and its the decison of the DSP port where 2 send this packet meaning on which port. I have asked ti for more information on ALE BYASS mode but they hve given none as yet ...

    So my goal was to behave the board 2 act as switch in ALE bypass mode . I started working on HelloWorld project, i was able 2 configure it in ale bypass mode and forwarded the packets to desire ethernet port. My configuration was simple each ethernet jack was connected via cross cable to a station . And the station were communicating to each other through the DM648 board - which was configure in ALE BY PASS mode...

    I started with NDK 1.92 , which came by the board - provide by lyrtech. Modified the HelloWorld project to work in ale bypass mode , first topology communication btween two pcs . The code ran fine for sometime and after which it halted for no reason . I test it in da second topology , one of DM648 ethernet port connected to lan and other to station , the code worked fine  i could c the lan packets on station by help of WIreshark ... but then too da code halted.

    As ti has not provided me with no example on ALE bypass mode ... so i cant b sure wht is bug in my code bec of lack of guidance it hard to understand the problem an project HelloWorld is complex as uses a lot of libraries , i replace all the of them xpect the stack library as it files is not open source.

    For some time i been looking in NDK 2 , project as they are simple 2 understand. I modified the code again and ran it worked fine in first topology btw two station but in second topolgy the code doesnt work at all ...  Secondly again here i hve the following problems :

    1. Only works in Station board station topology , an then two halts after some time ... dont know y ...

    2. Second i cant make ndk 2 project boot loader , i cant burn this code in my flash....

    Kindly plese help ... n ti plz provide more insight and help on my problems and provide more info on ALE bypass mode and provide some non bios exapmle on ALE bypass mode as its easier too understand...

    Waiting for reply and help

    Regards

    Amna