From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mynampati, Venkata S." To: "'Jonathan Larmour'" Cc: "'ecos-discuss@sources.redhat.com'" Subject: RE: [ECOS] why memcpy fails. Date: Thu, 02 Aug 2001 11:53:00 -0000 Message-id: X-SW-Source: 2001-08/msg00074.html > > 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