This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot: "load -m xmodem" command
- From: Gary Thomas <gary at chez-thomas dot org>
- To: Mike A <embeddedeng at hotmail dot com>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 23 Jun 2002 15:56:14 -0600
- Subject: Re: [ECOS] Redboot: "load -m xmodem" command
- References: <F86GS1DknvCesa31Z9c00003756@hotmail.com>
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", 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
> CCCCCCCCCCan'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
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss