OpenQNX :: The QNX Community Portal

May 13, 2008 - 12:46 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 63 unlogged users and 2 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 15, 2008 - 11:33 AM
Active Member


Joined: Apr 15, 2008
Posts: 10

Hi all.

QNX :6.3.2
IDE :Momentics 4.0.1


We tried connecting Target(QNX Neturino) with host using serial port .
Com1 of Target and Com1 of Host is connected using DB9-9
cable(Nullmodem).

On Target "pdebug /dev/ser1,57600 & " ,
"devc-pty -n 32 &" Command was Executed.

In Host machine we ruined Debug binary exe file.

It saying "FAILED LAUNCHING SERIAL DEBUGGER" .
"Error initializing : Undefined Command: "upload" , Try "help" "


Anyone know why I'm getting this kind of Error.

Is this is correct way to do serial port communication between
Target and Host?

Can anyone please help?

Regards,
Amarnath.
 
 View user's profile Send private message  
Reply with quote Back to top
rgallen
Post subject: Re: How to connect Traget with Host using serial port  PostPosted: Apr 15, 2008 - 04:22 PM
QNX Master


Joined: Jul 11, 2002
Posts: 557

amarnath wrote:
Hi all.

QNX :6.3.2
IDE :Momentics 4.0.1


We tried connecting Target(QNX Neturino) with host using serial port .
Com1 of Target and Com1 of Host is connected using DB9-9
cable(Nullmodem).

On Target "pdebug /dev/ser1,57600 & " ,
"devc-pty -n 32 &" Command was Executed.

In Host machine we ruined Debug binary exe file.

It saying "FAILED LAUNCHING SERIAL DEBUGGER" .
"Error initializing : Undefined Command: "upload" , Try "help" "


Anyone know why I'm getting this kind of Error.

Is this is correct way to do serial port communication between
Target and Host?

Can anyone please help?

Regards,
Amarnath.


If you possible, the simplest way to debug over serial is to run pppd on the target. You'll want to set the bit rate to 115.2K as well. This way, you can use qconn, and the docs cover this pretty well...
 
 View user's profile Send private message Visit poster's website  
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.