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: RedBoot for Assabet (strongarm) problem



Used 3 to fix this issue.
-----Original Message-----
From: todd.kallam@acterna.com [mailto:todd.kallam@acterna.com]
Sent: Monday, November 19, 2001 3:30 PM
To: ebenard@free.fr
Cc: ecos-discuss@sources.redhat.com
Subject: [ECOS] RedBoot for Assabet (strongarm) problem





Hi,

This looks like a similar problem that I had with the reset vector being
initiailized
to the wrong address.  You can tell by looking at the third line of your hex
dump.
The first entry shows the address of the the reset_vector and should be 0040
instead of 0060.

You can search the archives for more info about reset_vector and
UNMAPPED_PRT
to find out more about this problem, but here are three solutions from Chris
Lesiak:

        1. Add the following to your hal_platform_setup.h file:
                #define CYGHWR_HAL_ROM_VADDR 0x50000000
        2. Change your binutils.  Binutils-011002 does not have this problem
.
        3. Define CYGSEM_HAL_ROM_RESET_USES_JUMP (I haven't tried this
myself.)

I used method 1 to fix my problem.

Todd

> Hi Jesper,
>
> Yes the flash is 32 bits width but I don't think this is the problem :
> I've got a running binary of redboot and mine non working binary.
>
> I've checked with hexdump and the bytes seems to be properly ordered in
both
files :
> working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0060 0000 037c 5000 0400 5000 0438 5000
>
> non-working redboot.bin :
> 0000000 f018 e59f f018 e59f f018 e59f f018 e59f
> 0000010 f018 e59f 0000 0000 f018 e59f f018 e59f
> 0000020 0040 0002 0128 0002 01ac 0002 01e4 0002
>
> Thanks
> Eric



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