[ECOS] why memcpy fails.

Mynampati, Venkata S. MynamVS@nsc-msg01.network.com
Thu Aug 2 11:53:00 GMT 2001


> > 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



More information about the Ecos-discuss mailing list