Dowloading files via serial channel

bridged with qdn.public.qnxrtp.powerpc
Post Reply
Dave Edwards

Dowloading files via serial channel

Post by Dave Edwards » Wed Apr 10, 2002 4:03 pm

Hi,

I'm trying to download some files onto a target PPC board but am having
no luck at the moment.

I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target repeatedly
sends out characters, but nothin happens.

I've seen that there are some problems with Qtalk and qcp. Does anyone
have an alternative? A PPC build of Kermit would be ideal!

Thanks in advance

Dave

David Gibbs

Re: Dowloading files via serial channel

Post by David Gibbs » Wed Apr 10, 2002 5:26 pm

Dave Edwards <nobody@home.com> wrote:
Hi,

I'm trying to download some files onto a target PPC board but am having
no luck at the moment.

I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target repeatedly
sends out characters, but nothin happens.
Hm... not a solution, but I'd bet its an endianness issue. qcp probably
doesn't do any endian conversions for its "flag the start of qtalk
transfer" sequence, and it isn't being recognised as such.

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

Issam Haddad

Re: Dowloading files via serial channel

Post by Issam Haddad » Wed Apr 10, 2002 8:52 pm

You could start ppp on the serial port and then use ftp/tftp... more
overhead, but it works.

"Dave Edwards" <nobody@home.com> wrote in message
news:3CB46262.8020305@home.com...
Hi,

I'm trying to download some files onto a target PPC board but am having
no luck at the moment.

I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target repeatedly
sends out characters, but nothin happens.

I've seen that there are some problems with Qtalk and qcp. Does anyone
have an alternative? A PPC build of Kermit would be ideal!

Thanks in advance

Dave

Dave Edwards

Re: Dowloading files via serial channel

Post by Dave Edwards » Thu Apr 11, 2002 9:35 am

Hi Issam,

I agree that this would work, but I'm limited to flash size and was
hoping for a small, compact utility that would just take over the serial
channel and perform the transfers. Something akin to the sendnto utility
would be fine.

Regards

Dave


Issam Haddad wrote:
You could start ppp on the serial port and then use ftp/tftp... more
overhead, but it works.

"Dave Edwards" <nobody@home.com> wrote in message
news:3CB46262.8020305@home.com...

Hi,

I'm trying to download some files onto a target PPC board but am having
no luck at the moment.

I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target repeatedly
sends out characters, but nothin happens.

I've seen that there are some problems with Qtalk and qcp. Does anyone
have an alternative? A PPC build of Kermit would be ideal!

Thanks in advance

Dave


Dave Edwards

Re: Dowloading files via serial channel

Post by Dave Edwards » Thu Apr 11, 2002 9:38 am

Hi David,

I've been using sendnto to transfer the OS image onto the board. The
documentation makes reference to the
source code for this utility. Is it available? If so, I believe that
I could probably modify this to do exactly what
I require


Thanks in advance

Dave


David Gibbs wrote:
Dave Edwards <nobody@home.com> wrote:

Hi,


I'm trying to download some files onto a target PPC board but am having
no luck at the moment.


I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target repeatedly
sends out characters, but nothin happens.


Hm... not a solution, but I'd bet its an endianness issue. qcp probably
doesn't do any endian conversions for its "flag the start of qtalk
transfer" sequence, and it isn't being recognised as such.

-David

Dave Edwards

Re: Dowloading files via serial channel

Post by Dave Edwards » Fri Apr 19, 2002 10:20 am

For anyone that's interested, I have managed to compile C-Kermit 8.0.201
for both x86 and PPC under QNX. It produces a "FAT" executable but it
works and seems to be reliable :)

Dave


Dave Edwards wrote:
Hi,

I'm trying to download some files onto a target PPC board but am
having no luck at the moment.

I've tried using qcp but it either crashes Qtalk when sending from the
target or Qtalk fails to pick up the start signal. The target
repeatedly sends out characters, but nothin happens.

I've seen that there are some problems with Qtalk and qcp. Does anyone
have an alternative? A PPC build of Kermit would be ideal!

Thanks in advance

Dave

Post Reply

Return to “qdn.public.qnxrtp.powerpc”