public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Pascal Pediroda @ Brime" <pascal.pediroda@brime.it>
To: "Jonathan Larmour" <jifl@eCosCentric.com>
Cc: "eCos Discussion" <ecos-discuss@sources.redhat.com>
Subject: [ECOS] R: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
Date: Wed, 09 Apr 2003 07:21:00 -0000	[thread overview]
Message-ID: <NCEOKOKPCEBIENIGGHIJGEHGCGAA.pascal.pediroda@brime.it> (raw)
In-Reply-To: <3E92F1F9.7070808@eCosCentric.com>

Hello Jonathan, hello Gary,
When I have the popup window of ymodem on the host side, I have redboot
hanging.
After a while, ymodem says that the transfer is incomplete.
BUT, I have resolved the problem : it was linked to the avaialable RAM
memory.
On the RedBoot user's guide I have, it was written to use the command
"version" in
order to get the first free offset in RAM...
I have shifted this address from 0xa0000000 to 0xa0100000... and the
transfer was complete.

Now I am trying to do the same with tftp (I also have an Ethernet
connection) but the load command is immediately finished,
I don't think that it had enough time to transfer the file !


-----Messaggio originale-----
Da: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Inviato: martedi 8 aprile 2003 18.00
A: pascal.pediroda@brime.it
Cc: eCos Discussion
Oggetto: Re: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot
(XScale DBPXA250platform)


Pascal Pediroda @ Brime wrote:
> In the little window that pops up I have :
> Ymodem sector/kbytes sent: 0/ 0k Retry 0: NACK on sector
> Rewtry 0: NACK on sector
> Ymodem sector/kbytes sent: 3/ 0k Retry 0: Got 24 for sector
> ACK
> Retry 0: Got 24 for sector ACK
> Retry 0: Got 24 for sector ACK
> Retry 0: Got 24 for sector ACK
> ...
> ...
>
> Does it seems to work correctly to you ?

Yes. Sometimes it has to retry a few times at the outset to get into sync,
but then gets going. Definitely try and select the file quite quickly from
the outset to give it more time to sync.

I would ask you to check that you're using a recent redboot, but I know
you can't be if it's the DBPXA250 as that's a port Intel refuses to
contribute, so it won't have many fixes. Hassle them about it. In the
meantime you could try to merge in any fixes yourself from the public code
base. Have a look at redboot's xyzmodem.c. I know intel have heavily
customised their redboot package in general so you can't necessarily just
substitute in the current redboot package.

You could also try xmodem instead of ymodem - if it fixes the problem, who
cares.

Of course one possibility is that the serial can't keep up and you're
dropping characters - you could try a lower baud rate, either with the
baudrate command or you may have to recompile your redboot.

Or there may be some other problem causing character loss such as flaky
hardware.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

      parent reply	other threads:[~2003-04-09  7:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-03 13:24 [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250 platform) Pascal Pediroda @ Brime
2003-04-03 13:29 ` Gary D. Thomas
2003-04-03 13:44   ` [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform) Pascal Pediroda @ Brime
2003-04-08  0:50     ` Jonathan Larmour
2003-04-08  9:10       ` [ECOS] R: " Pascal Pediroda @ Brime
2003-04-08 15:59         ` [ECOS] " Jonathan Larmour
2003-04-08 16:06           ` Gary D. Thomas
2003-04-09  7:21           ` Pascal Pediroda @ Brime [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NCEOKOKPCEBIENIGGHIJGEHGCGAA.pascal.pediroda@brime.it \
    --to=pascal.pediroda@brime.it \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jifl@eCosCentric.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).