This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: why memcpy fails.
- To: "Mynampati, Venkata S." <MynamVS at nsc-msg01 dot network dot com>
- Subject: Re: [ECOS] why memcpy fails.
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 02 Aug 2001 18:42:43 +0100
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <A7E1C26945C8D211ADBF0008C709661A035F2B08@nsc-msg02.network.com>
"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