
In message 048d01c4432c$6cb9e280$6b01a8c0@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