|
Trouble getting PPP link over serial for debugging target
|
07/31/2009 2:01 AM
post34984
|
Trouble getting PPP link over serial for debugging target
Hi,
First of all I apologise for another thread on PPP over serial as I realise that similar threads have popped up many
times in the past, but after scrawling through them I still could not find the answer.
I'm targetting the i.MX31 on custom hardware, however I am using the i.MX31ADS BSP's serial driver on ser1 and the ksh
terminal works successfully on it. I am running Momentics IDE 4.6 on Windows XP.
I have followed the guide: http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/target.html carefully however no
matter what I try I cannot get windows to connect to the target, even using the settings as outlined in "Example for
linking an embedded system running QNX Neutrino to a Windows network connection". Now I do know that the serial driver
on the i.MX31 is started by default disabling hardware flow control, therefore I tried starting pppd without the "-
crtscts" option, but with no success. e.g.
/usr/sbin/pppd persist auth +chap 10.0.0.1:10.0.0.2 netmask 255.255.255.0 /dev/ser1 115200
Upon starting pppd, there is garbage/data periodically sent over the serial link by the target so something is happening
, however whenever I try to connect to the target with windows I get the "Dialing..." progress window but it always
fails with error "777 - The connection attempt failed because the modem (or other connecting device) on the remote
computer is out of order.
I only have the one serial connection on our target and currently no USB or ethernet, therefore I cannot have a second
terminal to debug the PPP connection with.
Does anyone have any suggestions?
Thanks,
Radek.
|
|
|