* [ECOS] why memcpy fails.
@ 2001-08-02 9:21 Mynampati, Venkata S.
2001-08-02 10:45 ` Jonathan Larmour
0 siblings, 1 reply; 3+ messages in thread
From: Mynampati, Venkata S. @ 2001-08-02 9:21 UTC (permalink / raw)
To: 'ecos-discuss@sources.redhat.com'
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?
2> What address it is trying to write when it failed?( a000c810?)
3> has it anything to do with scrubbing sdram? ( 80310 chipset)
the code is running on xscale board.
Rgds
Venkat
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ECOS] why memcpy fails.
2001-08-02 9:21 [ECOS] why memcpy fails Mynampati, Venkata S.
@ 2001-08-02 10:45 ` Jonathan Larmour
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Larmour @ 2001-08-02 10:45 UTC (permalink / raw)
To: Mynampati, Venkata S.; +Cc: 'ecos-discuss@sources.redhat.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
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [ECOS] why memcpy fails.
@ 2001-08-02 11:53 Mynampati, Venkata S.
0 siblings, 0 replies; 3+ messages in thread
From: Mynampati, Venkata S. @ 2001-08-02 11:53 UTC (permalink / raw)
To: 'Jonathan Larmour'; +Cc: 'ecos-discuss@sources.redhat.com'
> > 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.
Thanks, your suggestion worked. I have changed CYGMEM_REGION_ram from
32MB to 64 MB,without appropriately changing the code in
hal_platform_setup.h( for scrubing 64MB instead of 32... i don't
have i2C discovery), so the work_space got messed up.
Best Regards
Venkat
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-08-02 11:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-02 9:21 [ECOS] why memcpy fails Mynampati, Venkata S.
2001-08-02 10:45 ` Jonathan Larmour
2001-08-02 11:53 Mynampati, Venkata S.
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).