Hello,
I am using the RL-ARM TCPnet in an attempt to set up a PPP connection to Windows XP over a null modem cable.
The connection seems to work for a while--I am using the debugger library RTLCD.lib and am able to verify that PPP packets are being exchanged between Windows and RL-ARM. Unfortunately, before authentication has finished, the link seems to stop working... ppp_is_up( ) never returns TRUE. Here are the last several debug messages received.
PPP: *** Processing PPP-LCP frame *** PPP: LCP Config Request received. PPP: Sending PPP frame... PPP: Frame len: 12 PPP: *** Processing PPP frame *** PPP: Frame len: 29 bytes PPP: Protocol: C021 PPP: *** Processing PPP-LCP frame *** PPP: LCP Config Request received. PPP: Sending PPP frame... PPP: Frame len: 12 PPP: *** Processing PPP frame *** PPP: Frame len: 29 bytes PPP: Protocol: C021 PPP: *** Processing PPP-LCP frame *** PPP: LCP Config Request received. PPP: Sending PPP frame... PPP: Frame len: 12
The beginning messages may actually prove more useful as there is a Rejecting Unsupported Config Options message:
PPP: Dialing number: * PPP: Username: 'Test', Password: 'Test' PPP: Sending LCP Configuration request. PPP: Sending PPP frame... PPP: Frame len: 26 PPP: *** Processing PPP frame *** PPP: Frame len: 63 bytes PPP: Protocol: C021 PPP: *** Processing PPP-LCP frame *** PPP: LCP Config Request received. PPP: Rejecting Unsupported Config Options. PPP: Sending PPP frame... PPP: Frame len: 44 PPP: *** Processing PPP frame *** PPP: Frame len: 24 bytes PPP: Protocol: C021 PPP: *** Processing PPP-LCP frame *** PPP: LCP Config Acknowledge received. PPP: Async Char MAP: 00,00,00,00 PPP: Enabled PF Compression PPP: Enabled ACF Compression PPP: Magic Number: 00295AF7
I am trying to establish this connection with the microcontroller as the client and Windows XP as the host. On Winodws XP: I set up the modem: Communications cable between two computer and created an Incoming Connection for which I enabled TCP/IP and set Allow callers to access my local area network, Assign TCP/IP addresses automatically using DHCP and checked Allow calling computer to specifiy its own IP address
My code uses Keil's null_modem.c driver. In Net_Config.c, I enabled Obtain Client IP address automatically, so therefore the IP address and Subnet Mask fields do not matter, correct?
I am using the latest release of RL-ARM (3.13a), and the latest release of MDK-ARM 3.15b. This code is for the ARM7 LPC2378 microcontroller, on Keil's MCB2300 board.
I would appreciate any advice! I am very new to PPP. Thanks!
-Eric