This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Loading executables with ymodem


I'm working on two different custom SA-1110 boards. I've been using
GDB successfully with them for a while. 

I now need to be able to store my programs in flash, but I'm having
difficulty with RedBoot's load command. From within Minicom, I issue
the command  

  load -m y

and then tell Minicom to start sending the file. The transfer never
happens...I see lots of NAKs reported, but it's not clear that any
packets are actually ACKed. I've also tried using Hyperterm: again, no
packets are successfully transfered. I do see some 'C's being printed,
presumably from RedBoot trying to initiate the transfer. And after I
kill the transfer (because it's not doing anything), I see some
garbage characters on the command line. If I hit return, RedBoot
complains that <garbage> isn't a valid command. It's like both sides
are trying to make the transfer, but are somehow missing each other.

Looking through the ecos-discuss archives, I see several threads
discussing this sort of problem. None of them, though, offer any fixes
that seem to be applicable. Some older messages mention patches, which
I assume have long since been incorporated into CVS. (I last updated
my sources a few weeks ago.) What is the general status of the RedBoot
load command? I was under the impression that it should just work,
assuming the HAL is in decent order. 

As a final note, I vaguely recall some note about the xyzmodem code
being hardwired to HAL channel 1, either in the source or the
ChangeLog. . Is this true? One of my boards has only one HAL channel:
the SA1110's serial port 2. The other has two channels, the SA1110's
ports 1 and 3.

-- Nathan Ickes


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]