download tool using pdebug (Serial)?

bridged with qdn.public.qnxrtp.devtools
Post Reply
Alex Cellarius

download tool using pdebug (Serial)?

Post by Alex Cellarius » Mon Feb 03, 2003 6:04 pm

Is there a utility (for either or both QNX & Windows hosts)
to download files using the pdebug serial on the target?
gdb has something built in (using the upload command),
but somethings outside of gdb would be useful.

Thanks

David Gibbs

Re: download tool using pdebug (Serial)?

Post by David Gibbs » Tue Feb 04, 2003 1:10 am

Alex Cellarius <acellarius@systems104.co.za> wrote:
Is there a utility (for either or both QNX & Windows hosts)
to download files using the pdebug serial on the target?
gdb has something built in (using the upload command),
but somethings outside of gdb would be useful.
I don't know of anything outside gdb...but the source to
gdb is available from cvs.qnx.com, and in the file remote-qnx.c
is a function called qnx_upload.c.

Maybe you could extract just the bits you need, and right your
own utility to do it?

http://cvs.qnx.com/cgi-bin/cvsweb.cgi/gdb/gdb/
http://cvs.qnx.com/cgi-bin/cvsweb.cgi/g ... mote-qnx.c

(You might need some of the 'establish contact stuff' first before
you do the upload as well.)

-David
--
QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Alex Cellarius

Re: download tool using pdebug (Serial)?

Post by Alex Cellarius » Tue Feb 04, 2003 3:00 am

On 4 Feb 2003 01:10:09 GMT, David Gibbs <dagibbs@qnx.com> wrote:
Alex Cellarius <acellarius@systems104.co.za> wrote:
Is there a utility (for either or both QNX & Windows hosts)
to download files using the pdebug serial on the target?
gdb has something built in (using the upload command),
but somethings outside of gdb would be useful.

I don't know of anything outside gdb...but the source to
gdb is available from cvs.qnx.com, and in the file remote-qnx.c
is a function called qnx_upload.c.

Maybe you could extract just the bits you need, and right your
own utility to do it?

http://cvs.qnx.com/cgi-bin/cvsweb.cgi/gdb/gdb/
http://cvs.qnx.com/cgi-bin/cvsweb.cgi/g ... mote-qnx.c

(You might need some of the 'establish contact stuff' first before
you do the upload as well.)
Thanks David, I will have a look

Post Reply

Return to “qdn.public.qnxrtp.devtools”