[U-Boot-Users] flash erase

Wolfgang Denk wd at denx.de
Wed May 26 19:26:45 CEST 2004


In message <048d01c4432c$6cb9e280$6b01a8c0 at cc> you wrote:
> 
> I added a new flash (28F128J3C) to my board and u-boot seems detect the
> flash now.

...which does not mean much.

> I erase the first sector : erase 10000000 1001ffff
> So I displayed the memory by using "md 10000000"
> And, I got this thing :
> 
> 10000000: ffffff10 ffff00b0 ffffff30 ffff0030
> 10000010: ffffff10 ffffff10 ffff0430 ffff00b0
...
> What should be the content after erasing the memory?

All "ffffffff" only. Seems  your  modifications  are  incomplete.  It
seems you erase only one half of the bus.

> When I copy a file from RAM to this flash sector.  I got this error :
> Copy to Flash... not erased at 10000004 (0)

Which is correct - the lower 16 bits of your  flash  memory  are  not
erased.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
In general, they do what you want, unless you want consistency.
                                    - Larry Wall in the perl man page




More information about the U-Boot mailing list