This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: why memcpy fails.
- To: "'Jonathan Larmour'" <jlarmour at redhat dot com>
- Subject: RE: [ECOS] why memcpy fails.
- From: "Mynampati, Venkata S." <MynamVS at nsc-msg01 dot network dot com>
- Date: Thu, 2 Aug 2001 13:53:12 -0500
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot 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