public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] Redboot: "load -m xmodem" command
@ 2002-06-23 17:02 Mike A
  2002-06-23 17:32 ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Mike A @ 2002-06-23 17:02 UTC (permalink / raw)
  To: gary; +Cc: ecos-discuss

Hi Gary,

Thanks for the info.

My time measurements on Window Hyperterminal:
It printed "CCCCCCCCC\x15\x15", 11 characters in 30 seconds. So, it has 3 seconds 
inter-character gap approximatly. Which I think is pretty ok from what you 
said in the eariler email.

Are you developing on Windows?? If so, what terminal program are you running 
this on? Let me know what you think about this.

Thanks a lot,
-Mike.

Hyperterminal screen capture:
RedBoot> load -m xm
CCCCCCCCC\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15Can't load '': Timed out
RedBoot>




>From: Gary Thomas <gary@chez-thomas.org>
>To: Mike A <embeddedeng@hotmail.com>
>CC: eCos Discussion <ecos-discuss@sources.redhat.com>
>Subject: Re: [ECOS] Redboot: "load -m xmodem" command
>Date: 22 Jun 2002 06:24:33 -0600
>
>On Sat, 2002-06-22 at 01:07, Mike A wrote:
> > Hi,
> >
> > I Redbooted my ATLAS(MIPS 4Kc) board. Then at the console prompt 
>"Redboot>"
> > (on Windows Hypertermial) I typed in the command to load the RAM image 
>"load
> > -m xmodem". Then I select Transfer->Send file (on Hyperterminal). with 
>the
> > following options I then click OK,
> >
> > Protocol: Xmodem
> > file:
> > 
>C:\myrep\examples\t\t_install\tests\io\wallclock\current\tests\wallclock.srec
> >
> > The file does not get download...
> >
> > Even before I start sending from the PC, I see a lot of 'C' being sent 
>from
> > Redboot in response to "load -m xmodem"
> >
> > I even tried with ymodem.. I wasn't sucessful
> >
> > Any clue??
>
>The most probable cause is that HAL_DELAY_US() isn't working properly.
>The way to check is run the same command (load -m xm) and don't try to
>start the transfer.  You should see a string of "C" characters, but they
>should only come out at a rate of one every 3 or 4 seconds.  Any faster
>says that the HAL_DELAY_US() macro is broken.
>
>If this is the case, try and fix it and rebuild RedBoot.
>
>As always, if you make changes, it would be nice to pass them back to
>the project.
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
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] 6+ messages in thread
* Re: [ECOS] Redboot: "load -m xmodem" command
@ 2002-06-23 18:41 Mike A
  2002-06-23 22:59 ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Mike A @ 2002-06-23 18:41 UTC (permalink / raw)
  To: gary; +Cc: ecos-discuss

Hi Gary,

I found the problem,

The RO_base (Or the Location the ecos application to be loaded in RAM) is 
pointing to a ROM address.

1st 2 lines from the generated Srec:
S010000077616C6C636C7E312E73726563E6
S3159FC000000500001000000000000000000000000076

The address 0x9FC00000 is in the FLASH (Reset vector address).

I guess, I have linked the application for FLASH. How do I link it for RAM? 
And also let me know a method to alter the RO_base (Program space) & RW_base 
(Data space) address without using the Memory Layout Window (becaue this is 
not supported in Conf. Tool 2.08).

Thanks a lot,
-Mike.



>From: Gary Thomas <gary@chez-thomas.org>
>To: Mike A <embeddedeng@hotmail.com>
>CC: eCos Discussion <ecos-discuss@sources.redhat.com>
>Subject: Re: [ECOS] Redboot: "load -m xmodem" command
>Date: 23 Jun 2002 15:56:14 -0600
>
>On Sun, 2002-06-23 at 15:40, Mike A wrote:
> > Hi Gary,
> >
> > Thanks for the info.
> >
> > My time measurements on Window Hyperterminal:
> > It printed "CCCCCCCCC\x15\x15", 11 characters in 30 seconds. So, it has 3 
>seconds
> > inter-character gap approximatly. Which I think is pretty ok from what 
>you
> > said in the eariler email.
> >
>
>This is perfect and tells me that the timer routine (HAL_DELAY_US) is
>functioning fine.  Of course, it means that you need to get the data
>started before 30 seconds.  One thing I've found is that you might want
>to move the file you are downloading so that you don't have to do a lot
>of window/menu messing about when you are selecting the file to
>download.  Don't forget, 30 seconds can go by quite fast when you are
>mousing about.
>
> > Are you developing on Windows?? If so, what terminal program are you 
>running
> > this on? Let me know what you think about this.
> >
>
>No, I normally use 'minicom' on Linux.  I have also tested with
>HyperTerm on Windows, so I know that RedBoot works fine once you have
>the basic connection sorted out.
>
> > Thanks a lot,
> > -Mike.
> >
> > Hyperterminal screen capture:
> > RedBoot> load -m xm
> > CCCCCCCCC\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15\x15Can't load '': Timed out
> > RedBoot>
> >
> >
> >
> >
> > >From: Gary Thomas <gary@chez-thomas.org>
> > >To: Mike A <embeddedeng@hotmail.com>
> > >CC: eCos Discussion <ecos-discuss@sources.redhat.com>
> > >Subject: Re: [ECOS] Redboot: "load -m xmodem" command
> > >Date: 22 Jun 2002 06:24:33 -0600
> > >
> > >On Sat, 2002-06-22 at 01:07, Mike A wrote:
> > > > Hi,
> > > >
> > > > I Redbooted my ATLAS(MIPS 4Kc) board. Then at the console prompt
> > >"Redboot>"
> > > > (on Windows Hypertermial) I typed in the command to load the RAM 
>image
> > >"load
> > > > -m xmodem". Then I select Transfer->Send file (on Hyperterminal). 
>with
> > >the
> > > > following options I then click OK,
> > > >
> > > > Protocol: Xmodem
> > > > file:
> > > >
> > 
> >C:\myrep\examples\t\t_install\tests\io\wallclock\current\tests\wallclock.srec
> > > >
> > > > The file does not get download...
> > > >
> > > > Even before I start sending from the PC, I see a lot of 'C' being 
>sent
> > >from
> > > > Redboot in response to "load -m xmodem"
> > > >
> > > > I even tried with ymodem.. I wasn't sucessful
> > > >
> > > > Any clue??
> > >
> > >The most probable cause is that HAL_DELAY_US() isn't working properly.
> > >The way to check is run the same command (load -m xm) and don't try to
> > >start the transfer.  You should see a string of "C" characters, but 
>they
> > >should only come out at a rate of one every 3 or 4 seconds.  Any faster
> > >says that the HAL_DELAY_US() macro is broken.
> > >
> > >If this is the case, try and fix it and rebuild RedBoot.
> > >
> > >As always, if you make changes, it would be nice to pass them back to
> > >the project.
> > >
> >
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at 
>http://explorer.msn.com/intl.asp.
> >
> >
> > --
> > Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> > and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


-- 
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] 6+ messages in thread
* [ECOS] Redboot: "load -m xmodem" command
@ 2002-06-22  1:55 Mike A
  2002-06-22 12:25 ` Gary Thomas
  0 siblings, 1 reply; 6+ messages in thread
From: Mike A @ 2002-06-22  1:55 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I Redbooted my ATLAS(MIPS 4Kc) board. Then at the console prompt "Redboot>" 
(on Windows Hypertermial) I typed in the command to load the RAM image "load 
-m xmodem". Then I select Transfer->Send file (on Hyperterminal). with the 
following options I then click OK,

Protocol: Xmodem
file: 
C:\myrep\examples\t\t_install\tests\io\wallclock\current\tests\wallclock.srec

The file does not get download...

Even before I start sending from the PC, I see a lot of 'C' being sent from 
Redboot in response to "load -m xmodem"

I even tried with ymodem.. I wasn't sucessful

Any clue??

Thanks alot,
-Mike.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


-- 
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] 6+ messages in thread

end of thread, other threads:[~2002-06-24  0:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-23 17:02 [ECOS] Redboot: "load -m xmodem" command Mike A
2002-06-23 17:32 ` Gary Thomas
  -- strict thread matches above, loose matches on Subject: below --
2002-06-23 18:41 Mike A
2002-06-23 22:59 ` Gary Thomas
2002-06-22  1:55 Mike A
2002-06-22 12:25 ` 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).