From: "Mike A" <embeddedeng@hotmail.com>
To: gary@chez-thomas.org
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Redboot: "load -m xmodem" command
Date: Sun, 23 Jun 2002 18:41:00 -0000 [thread overview]
Message-ID: <F54s5IOiV3XpfbFT9tc0000362f@hotmail.com> (raw)
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
next reply other threads:[~2002-06-24 0:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 18:41 Mike A [this message]
2002-06-23 22:59 ` Gary Thomas
-- strict thread matches above, loose matches on Subject: below --
2002-06-23 17:02 Mike A
2002-06-23 17:32 ` Gary Thomas
2002-06-22 1:55 Mike A
2002-06-22 12:25 ` Gary Thomas
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=F54s5IOiV3XpfbFT9tc0000362f@hotmail.com \
--to=embeddedeng@hotmail.com \
--cc=ecos-discuss@sources.redhat.com \
--cc=gary@chez-thomas.org \
/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).