[ECOS] Redboot: "load -m xmodem" command
Mike A
embeddedeng@hotmail.com
Sun Jun 23 18:41:00 GMT 2002
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", 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
>
>
_________________________________________________________________
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
More information about the Ecos-discuss
mailing list