* [ECOS] eb40a RIP
@ 2002-07-24 7:11 Tim Drury
2002-07-25 9:38 ` [ECOS] " James
0 siblings, 1 reply; 6+ messages in thread
From: Tim Drury @ 2002-07-24 7:11 UTC (permalink / raw)
To: ecos-discuss
In the process of testing the flash driver with the eb40a port
I just created, I managed to blow away Angel in the lower half
of flash. I have a working copy of redboot_ROMRAM in the
upper half, but the flash driver programmed into it doesn't
see the first few sectors of the lower half of flash. This is
due to the issue of two different sector sizes in the AT49xxxx
flash chip and I simply ignored the smaller sectors.
Does anyone with an eb40a have a binary of the Angel bootloader
that I can borrow? I never compiled the one that came with
the eb40a and the trial period for Codewarrior has expired so
I can't compile it now.
If I can get that, I can write a low level driver to erase the whole
lower half of the flash and burn Angel back in since my current
redboot port cannot do that. I can use the existing redboot_
ROMRAM to load my little driver and fix my eb40a.
-tim
--
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] RE: eb40a RIP
2002-07-24 7:11 [ECOS] eb40a RIP Tim Drury
@ 2002-07-25 9:38 ` James
2002-07-27 9:03 ` Tim Drury
0 siblings, 1 reply; 6+ messages in thread
From: James @ 2002-07-25 9:38 UTC (permalink / raw)
To: 'Tim Drury', ecos-discuss
I have sent to you directly the binary so as not to hog
the mail list bandwidth. This is for
version "EB40A V1.0" and is a binary image of the flash.
It turned out that the angel monitor extends from
0x01000600 to almost 0x01013000, so it exceeds
the first 64K of flash.
James
James Musselman
> -----Original Message-----
> From: Tim Drury [mailto:tdrury@siliconmotorsports.com]
> Sent: Wednesday, July 24, 2002 7:09 AM
> To: ecos-discuss@sources.redhat.com
> Subject: eb40a RIP
>
>
>
> In the process of testing the flash driver with the eb40a port
> I just created, I managed to blow away Angel in the lower half
> of flash. I have a working copy of redboot_ROMRAM in the
> upper half, but the flash driver programmed into it doesn't
> see the first few sectors of the lower half of flash. This is
> due to the issue of two different sector sizes in the AT49xxxx
> flash chip and I simply ignored the smaller sectors.
>
> Does anyone with an eb40a have a binary of the Angel bootloader
> that I can borrow? I never compiled the one that came with
> the eb40a and the trial period for Codewarrior has expired so
> I can't compile it now.
>
> If I can get that, I can write a low level driver to erase the whole
> lower half of the flash and burn Angel back in since my current
> redboot port cannot do that. I can use the existing redboot_
> ROMRAM to load my little driver and fix my eb40a.
>
> -tim
>
>
--
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] RE: eb40a RIP
2002-07-25 9:38 ` [ECOS] " James
@ 2002-07-27 9:03 ` Tim Drury
0 siblings, 0 replies; 6+ messages in thread
From: Tim Drury @ 2002-07-27 9:03 UTC (permalink / raw)
To: ecos-discuss
My eb40a has risen from the ashes! Thank you James and
Min Ling for the eb40a angel images.
I wrote a small flash erase tool to erase those lower sectors
of the eb40a's flash which I couldn't do with the redboot image
I had running in the upper half of flash because the flash driver
I wrote ignored those smaller sectors. So I used the redboot
ROMRAM in the upper half of flash to upload my flash erase
tool and cleaned out the lower half of the flash chip. Then I
converted the Angel binary into an srec and loaded it with
redboot. Burned it back into the lower half of flash and my eb40a
is fully functional again.
I think I keep those Angel images and my flash erase tool around
though....
-tim
On Thursday 25 July 2002 12:37 pm, James wrote:
> I have sent to you directly the binary so as not to hog
> the mail list bandwidth. This is for
> version "EB40A V1.0" and is a binary image of the flash.
> It turned out that the angel monitor extends from
> 0x01000600 to almost 0x01013000, so it exceeds
> the first 64K of flash.
> James
> James Musselman
>
> > -----Original Message-----
> > From: Tim Drury [mailto:tdrury@siliconmotorsports.com]
> > Sent: Wednesday, July 24, 2002 7:09 AM
> > To: ecos-discuss@sources.redhat.com
> > Subject: eb40a RIP
> >
> >
> >
> > In the process of testing the flash driver with the eb40a port
> > I just created, I managed to blow away Angel in the lower half
> > of flash. I have a working copy of redboot_ROMRAM in the
> > upper half, but the flash driver programmed into it doesn't
> > see the first few sectors of the lower half of flash. This is
> > due to the issue of two different sector sizes in the AT49xxxx
> > flash chip and I simply ignored the smaller sectors.
> >
> > Does anyone with an eb40a have a binary of the Angel bootloader
> > that I can borrow? I never compiled the one that came with
> > the eb40a and the trial period for Codewarrior has expired so
> > I can't compile it now.
> >
> > If I can get that, I can write a low level driver to erase the whole
> > lower half of the flash and burn Angel back in since my current
> > redboot port cannot do that. I can use the existing redboot_
> > ROMRAM to load my little driver and fix my eb40a.
> >
> > -tim
--
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] eb40a RIP
@ 2002-08-27 5:54 Tim Drury
0 siblings, 0 replies; 6+ messages in thread
From: Tim Drury @ 2002-08-27 5:54 UTC (permalink / raw)
To: lm1121; +Cc: Ecos-List (E-mail)
Lin Ming wrote:
> When I run gdb with the EB40 application, gdb shows error message:
>
> "Program received signal SIGTRAP, Trace/breakpoint trap"
>
> What's the problem?
It's hard to tell without more information. What are you
running? redboot? your own app? How did you build it?
What version of gcc, binutils, etc. are you using? What
command did you issue in gdb to cause this error?
-tim
--
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] eb40a RIP
@ 2002-08-27 18:16 Tim Drury
0 siblings, 0 replies; 6+ messages in thread
From: Tim Drury @ 2002-08-27 18:16 UTC (permalink / raw)
To: lm1121, ecos-discuss
Please copy the ecos list with these questions - you
are bound to get better answers when you ask more than
just me.
Lin Ming wrote:
> Hi, Tim,
>
> I'm running an application with set leds and do serial port communication.
> I build the default library with your EB40A port(successfully). Then make my app
> with the library. The arm-elf-gcc version is 3.0.1. I use insight GDB with GUI and
> load the program and run. Then the error info shows.
I don't use gcc 3.0.1 - I'm not sure if that version is supported.
I would suggest using the supported version of gcc and getting
redboot running with it before trying a newer version of gcc.
> Must I use the redboot built from your port, too? I use the redboot from other places,
> anyway it can work with the app not built from ecos. Any clues for this problem?
Redboot has to be built with the eb40a as the target.
-tim
--
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] eb40a RIP
@ 2002-09-02 19:57 Tim Drury
0 siblings, 0 replies; 6+ messages in thread
From: Tim Drury @ 2002-09-02 19:57 UTC (permalink / raw)
To: Ecos-List (E-mail)
Lin Ming wrote:
> Hi, Tim,
>
> I still cannot get your EB40A port work. :-(
> Can you suggest a website to download the tools (including arm-elf-gcc and arm-elf-gdb with
> excutable file) and your ecos port if possible?
>
I don't know of any resources to download pre-compiled
binaries. The versions of the tools that I used are:
binutils-2.12.1
newlib-1.10.0
insight-5.2
gcc-2.95.2 + patch
All these should be available from either gnu.org or
redhat. I then followed the directions on the ecos
site for building the cross-compiler:
http://sources.redhat.com/ecos/tools/linux-arm-elf.html
You have to be careful to follow them exactly since
there are subtle ways in which to screw up and not
realize it.
-tim
--
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-09-03 2:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24 7:11 [ECOS] eb40a RIP Tim Drury
2002-07-25 9:38 ` [ECOS] " James
2002-07-27 9:03 ` Tim Drury
2002-08-27 5:54 [ECOS] " Tim Drury
2002-08-27 18:16 Tim Drury
2002-09-02 19:57 Tim Drury
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).