public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Loading executables with ymodem
@ 2001-07-05  1:18 Nathan J Ickes
  2001-07-05  1:49 ` Stefan Eletzhofer
  2001-07-05  6:02 ` Gary Thomas
  0 siblings, 2 replies; 3+ messages in thread
From: Nathan J Ickes @ 2001-07-05  1:18 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-07-05  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-05  1:18 [ECOS] Loading executables with ymodem Nathan J Ickes
2001-07-05  1:49 ` Stefan Eletzhofer
2001-07-05  6:02 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).