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.

Reg: Ethernet communication

Other Parts Discussed in Thread: TMS320DM6437

Dear All,

Server: PC (TFTP server)

Client: TMS320DM6437 Davinci board

I like to transfer the file from server to client through Ethernet port, can any one suggest?

If possible, share the supporting code.

Thanks in advance......

Note: Already I have checked the Loopback methode code  existing one with TI TMS320DM6437

and that is working fine.

Regards,

P. Sivachandran.

 

  • Hi,

    You will be using BIOS correct?

  • Hi Paul,

    I like to transfer the ".BIN" file from PC to DM6437 board through Ethernet cable,

    Currently I dn't have source code, port and register setting details.

    If TFTP server kind of platform is available for the TI board, I can transfer the file

    from my PC.  So please suggest me that and share the source code if you have,

    Thanks and Regards,

    P. Sivachandran.

     

  • Hi Paul,

    I am not using BIOS, It needs to be implemented without BIOS.

    I like to transfer the file, for that I need necessary settings and protocol.


    Regards,

    P. Sivachandran.

  • I am afraid that we don't have something like this.

  • We are able to get the TFTP working without using BIOS, But we can run this only if we make a .out & run form CCS. If we make a .bin file, we are not able to transmit .Its continiously waiting to check teh transmit interrupt flag. The same works if done with .out

    following mux settings are done.

    CFG_PINMUX0 = 0x00148001 //pinmux 0
    CFG_PINMUX1 = 0x01618530; //pinmux1
    CFG_VDD3P3V_PWDN = 0x00000000;

    Anything is missed out ?

    the .bin is made as below....

    genAIS.pl -otype bin -i emac .out -o emac .bin -bootmode emif -addrsz 8 -crc 0
    pause

    Let us know what might be the issue with this type of behaviour in the .bin
  • Anytime you have a program that works from CC but not from a direct boot, you are usually missing a step that was performed by CC through the gel file.  To check if you are booting at all, you can attach to the dsp after it boots with no gel file loaded and see what is happening.  Check the boot complete register to see if it successfully booted.  If so, try to find out if the gel file is performing some initialization step that you missed, like register changes, plls, cache, etc.

  • Thanks .

    BUt we tried following, still the same issue

    1) We didnot use the gel file at all, just compiled the emac test program( loopback) . This .out works , but again the .bin doesnot will fail wrt test ( we tested by invoking led for pass/fail)

    2) We written the code wrt GEL file ( ie as in GEL file) , & made the .out, it worked, but again .bin didnot

    Let us know some pointers for this

    Pl find attached the code