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]

Re: why memcpy fails.


"Mynampati, Venkata S." wrote:
> 
> Hi,
> my redboot stops while trying to execute memcpy in strata.c.
> I get this message on screen: $T0a0f: 48350200; 0d; 10c800a0; #7c.
> 
> from earlier posts i understood that the above message means that
> instruction @00023548 gave me an error and this corresponds to
>    23548:       848c3004        strhi   r3, [ip], #4
> from this i gather that while trying to write it failed.
> 
> Now, my doubt is :
> 1> Why it failed?

At a guess it was loading an image from flash into memory, and got an
exception at some memory address. Check the memory addresses and ranges are
all valid.

> 2> What address it is trying to write when it failed?( a000c810?)

Don't know.

> 3> has it anything to do with scrubbing sdram? ( 80310 chipset)

Pass.
 
> the code is running on xscale board.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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