[U-Boot] cp.b command not working for copy to flash

Shinose shinose at gmail.com
Wed Jul 22 08:36:39 CEST 2009


On Wed, Jul 22, 2009 at 12:03 PM, Dieter Kiermaier <dk-arm-linux at gmx.de>wrote:

> Hi Nirav,
> >
> > I am trying cp.b 22000000 10100000 180000 (i.e. copy from RAM to FLASH)
> > Its showing me message flash can't Erase.
> >
> > But when i tried cp.b 10100000 22000000 180000 its working. (i.e. copy
> from
> > FLASH to RAM)
> > Can please anybody tell me what's going wrong??
>
> Maybe you have to unprotect your flash first?
>

Also You have to erase the sector of the Flash before you do the cp
operation.

-Shinose


> Dieter
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list