OpenQNX :: The QNX Community Portal

May 13, 2008 - 10:16 AM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 60 unlogged users and 0 registered users online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
amarnath
Post subject: How to connect Traget with Host using serial port  PostPosted: Apr 21, 2008 - 06:29 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

hi all,

Thanks for the reply,
But still i am getting the same problem with "Error -permission denied"

i followed following steps
1. you must establish a working serial connection between your host and target machines.

devc-pty &
pdebug /dev/ser1 &
stty </dev/ser1 it shows baudrate(57600)
2.Debugging via PPP:
Setting up target.To configure your target for PPP:

1. Create a file named options in the directory
/etc/ppp/options

debug
57600
/dev/ser1
localip:remoteip

2. If it's not already running, start io-net with this command:
io-net -ptcpip -ppppmgr

3. Type the following command to start the PPP daemon:

pppd

4. Type the following command to start the qconn target agent:

qconn



After the above steps i tryed "Debugging "
Launch Configuration dialog
"C/C++ Qnx Pdebug (serial)"

i am getting

"Failed Lunching Serial Debugger"
Error initializing: /dev/com1: Permission denied

Steps i followed are correct only or not ?


please help me in this issue


regards

amarnath
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.