public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250 platform)
@ 2003-04-03 13:24 Pascal Pediroda @ Brime
  2003-04-03 13:29 ` Gary D. Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Pascal Pediroda @ Brime @ 2003-04-03 13:24 UTC (permalink / raw)
  To: ecos-discuss

Hello,

When trying to download the eCos image inside the target, (load -m ymodem)
after 30 seconds, it fails:
message CCCCCCC.......... Can't load Time out

I sow in an old thread of the list such an issue but the solution was to use
the -c 0 option.
This option is not understand by my redboot version.

Anyone has already experienced this ?

Thank you.
Pascal



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

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

* Re: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250 platform)
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Gary D. Thomas @ 2003-04-03 13:29 UTC (permalink / raw)
  To: pascal.pediroda; +Cc: eCos Discussion

On Thu, 2003-04-03 at 06:26, Pascal Pediroda @ Brime wrote:
> Hello,
> 
> When trying to download the eCos image inside the target, (load -m ymodem)
> after 30 seconds, it fails:
> message CCCCCCC.......... Can't load Time out
> 

As soon as these messages start coming out, you need to tell
your communication software (minicom, HyperTerm, ??) to send
the file using X-modem.  RedBoot can't make that happen automatically.

> I sow in an old thread of the list such an issue but the solution was to use
> the -c 0 option.
> This option is not understand by my redboot version.

I don't know where you found this - ignore it.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


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

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

* [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  2003-04-03 13:29 ` Gary D. Thomas
@ 2003-04-03 13:44   ` Pascal Pediroda @ Brime
  2003-04-08  0:50     ` Jonathan Larmour
  0 siblings, 1 reply; 8+ messages in thread
From: Pascal Pediroda @ Brime @ 2003-04-03 13:44 UTC (permalink / raw)
  To: Gary D. Thomas; +Cc: eCos Discussion

Hello,
I use minicom .
After executing the load command from it, I press CTRL A , S select Ymodem ,
select my image to download and then enter.
Do you mean that it does not begin the load ?
I thought that the dots were meaning that sth has been downloaded !
I have to check if it works the same with Xmodem.
Thank you


-----Messaggio originale-----
Da: Gary D. Thomas [mailto:gary.thomas@mind.be]
Inviato: giovedì 3 aprile 2003 15.29
A: pascal.pediroda@brime.it
Cc: eCos Discussion
Oggetto: Re: [ECOS] Trouble with loading an exe on Redboot (XScale
DBPXA250platform)


On Thu, 2003-04-03 at 06:26, Pascal Pediroda @ Brime wrote:
> Hello,
>
> When trying to download the eCos image inside the target, (load -m ymodem)
> after 30 seconds, it fails:
> message CCCCCCC.......... Can't load Time out
>

As soon as these messages start coming out, you need to tell
your communication software (minicom, HyperTerm, ??) to send
the file using X-modem.  RedBoot can't make that happen automatically.

> I sow in an old thread of the list such an issue but the solution was to
use
> the -c 0 option.
> This option is not understand by my redboot version.

I don't know where you found this - ignore it.

--
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


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

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

* Re: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Jonathan Larmour @ 2003-04-08  0:50 UTC (permalink / raw)
  To: pascal.pediroda; +Cc: Gary D. Thomas, eCos Discussion

Pascal Pediroda @ Brime wrote:
> Hello,
> I use minicom .
> After executing the load command from it, I press CTRL A , S select Ymodem ,
> select my image to download and then enter.
> Do you mean that it does not begin the load ?

minicom should pop up a little window showing that it's trying to 
communicate with redboot. If it isn't doing that you probably aren't using 
minicom quite right. Have you selected the file with space?

Also make sure you don't take too long over it otherwise redboot will time 
out waiting!

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

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

* [ECOS] R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  2003-04-08  0:50     ` Jonathan Larmour
@ 2003-04-08  9:10       ` Pascal Pediroda @ Brime
  2003-04-08 15:59         ` [ECOS] " Jonathan Larmour
  0 siblings, 1 reply; 8+ messages in thread
From: Pascal Pediroda @ Brime @ 2003-04-08  9:10 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: Gary D. Thomas, eCos Discussion


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 ?
Thank you



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


Pascal Pediroda @ Brime wrote:
> Hello,
> I use minicom .
> After executing the load command from it, I press CTRL A , S select Ymodem
,
> select my image to download and then enter.
> Do you mean that it does not begin the load ?

minicom should pop up a little window showing that it's trying to
communicate with redboot. If it isn't doing that you probably aren't using
minicom quite right. Have you selected the file with space?

Also make sure you don't take too long over it otherwise redboot will time
out waiting!

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

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

* [ECOS] Re: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  2003-04-08  9:10       ` [ECOS] R: " Pascal Pediroda @ Brime
@ 2003-04-08 15:59         ` Jonathan Larmour
  2003-04-08 16:06           ` Gary D. Thomas
  2003-04-09  7:21           ` [ECOS] R: " Pascal Pediroda @ Brime
  0 siblings, 2 replies; 8+ messages in thread
From: Jonathan Larmour @ 2003-04-08 15:59 UTC (permalink / raw)
  To: pascal.pediroda; +Cc: eCos Discussion

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

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

* Re: [ECOS] Re: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  2003-04-08 15:59         ` [ECOS] " Jonathan Larmour
@ 2003-04-08 16:06           ` Gary D. Thomas
  2003-04-09  7:21           ` [ECOS] R: " Pascal Pediroda @ Brime
  1 sibling, 0 replies; 8+ messages in thread
From: Gary D. Thomas @ 2003-04-08 16:06 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: pascal.pediroda, eCos Discussion

On Tue, 2003-04-08 at 09:59, Jonathan Larmour wrote:
> 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

Isn't this ASCII for "$"?  After this happens (and the minicom download
gives up), do you get the RedBoot prompt back?

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


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

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

* [ECOS] R: R: [ECOS] R: [ECOS] Trouble with loading an exe on Redboot (XScale DBPXA250platform)
  2003-04-08 15:59         ` [ECOS] " Jonathan Larmour
  2003-04-08 16:06           ` Gary D. Thomas
@ 2003-04-09  7:21           ` Pascal Pediroda @ Brime
  1 sibling, 0 replies; 8+ messages in thread
From: Pascal Pediroda @ Brime @ 2003-04-09  7:21 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: eCos Discussion

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

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

end of thread, other threads:[~2003-04-09  7:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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           ` [ECOS] R: " Pascal Pediroda @ Brime

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