Dowloading files via serial channel

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 <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.

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

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

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

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 :slight_smile:

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