This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Success with AT91EB40 and RedBoot!


Congrats!  I scrapped my whole build and rebuilt using your setup.
Again, because I have the EB40A with the unsupported onboard
SRAM I have to turn on CS1.  I found out my previous problem
with the SIGTRAP upon running redboot was because the uploaded
elf was improperly written to the sram because I needed a waitstate
added.  so instead of,

set *0xffe00004=0x02002001

I do

set *0xffe00004=0x02002021

and it appears that redboot get loaded properly.  I do this set command
right after the 'set $ps=0xd3' command in the at91/redboot instructions.
However, when I 'c' and ctrl-z gdb and fire up 'minicom -o' I still get 
nothing from the target board.  Well, I do get some garbage characters
which is the best results I've had so far, but no 'redboot>' prompt.

So I started playing with the baud rate.  I started with 38400 N81 as
per the instructions and started dropping it.  Most characters I type
would be echoed back as something else.  But at 57600, I was getting
a good echo for all letters, but not the enter key.  If redboot isn't seeing
that I could see why it does nothing for me.

-tim


On Wednesday 12 June 2002 06:49 pm, Scott Dattalo wrote:
> At last!
>
> For those of you who have been following this saga, it turns out that my
> hardware is corrupted in some way. Dammit! Fortunately, I purchased 2
> evaluation boards and the other board works fine. For posterity, I'll
> summarize the specifics:
>
> $ arm-elf-gdb -v
> GNU gdb 5.1.1
>
> $ arm-elf-gcc -v
> gcc version 2.95.2 19991024 (release)
>  (This also has the ecos-gcc-2952.pat patch applied)
>
> binutils: binutils-2.10.1
>
> Reboot images:
> redboot_RAM.elf
> redboot_ROMRAM.srec
>
> from eCos CVS.
>
>
> (I even managed to successfully build and download my own version of the
> redboot_RAM image that blinked the diagnostic LED's [although I didn't
> build the accompanying .srec image]).
>
> I essentially followed the directions to a T as described:
> http://sources.redhat.com/ecos/tools/linux-arm-elf.html
>
> -----
>
> My advice to others... check your hardware!
>
> Special thanks goes to: Gary Thomas, Tim Drury and Kjell Svensson.
>
> Scott


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]