This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM: Unable to use tftp over PPP

I successfuly configured Http_Demop and Telnet demo to work Over PPP using Keil RL_ARM 3.10. But i am unable to do so with tftp demo. I have a LPC2148 based Evaluation Board with no ETHERNET. can somebody help me!!!

The problem with TFTP demo is that i am unable to connect to my evaluation board windows dial-up. The same is possible with HTTP demo and Telnet demo.
Please help...

Parents
  • I don't know how to enable debug and watch how far it is executed.. please help if possible..
    My net_config.c file has following things enabled...
    1 - PPP Interface with default parameters
    2 - UDP Sockets with No of sockets = 3 and highest port for autoselect = 1024
    3 - TCP Sockets default configured.
    4 - tftp server default configured.

    It also has a Filesystem File(which is in same as in the tftp_demo project). I changed only the RAM drive base address from 40000000(MCB2300) to 40004000(LPC2148).

    When i try to connect to board using dial-up connection it simply hangs and shows "dialing..." dosen't go any further. the same dial-up connection works for other PPP Projects.

    Here is a code fragment form tftp_demo.c

    int main (void) {
       /* Main Thread of the TcpNet */
    
       init ();
       init_TcpNet ();
       fformat ("");
       ppp_listen ("Keil", "test");
    
       while (1) {
          timer_poll ();
          main_TcpNet ();
         }
    }
    

Reply
  • I don't know how to enable debug and watch how far it is executed.. please help if possible..
    My net_config.c file has following things enabled...
    1 - PPP Interface with default parameters
    2 - UDP Sockets with No of sockets = 3 and highest port for autoselect = 1024
    3 - TCP Sockets default configured.
    4 - tftp server default configured.

    It also has a Filesystem File(which is in same as in the tftp_demo project). I changed only the RAM drive base address from 40000000(MCB2300) to 40004000(LPC2148).

    When i try to connect to board using dial-up connection it simply hangs and shows "dialing..." dosen't go any further. the same dial-up connection works for other PPP Projects.

    Here is a code fragment form tftp_demo.c

    int main (void) {
       /* Main Thread of the TcpNet */
    
       init ();
       init_TcpNet ();
       fformat ("");
       ppp_listen ("Keil", "test");
    
       while (1) {
          timer_poll ();
          main_TcpNet ();
         }
    }
    

Children
No data