
2009/1/19 Jerry Van Baren gerald.vanbaren@ge.com:
Jean-Michel Hautbois wrote:
[snip]
The error in programming tells that it couldn't write the second byte of the u-boot file. Indeed, I have displayed the memory before and after the prog command, and the first byte is correctly written. I can't understand where my problem is.
Thx and Regards, JM
Hi JM,
Hi Jerry, thx for answering
After you erase the sector/chip, is it all 0xFF (especially the second location)? (I expect it is, but it is good to start with the fundamentals.)
No, it is not. I would say, the first byte is OK (I don't have the board with me right now).
If so, I would speculate your flash chip configuration isn't right. You need to know how your hardware is wired:
- How many chips in parallel on the bus?
- Bus width on each chip?
- Bus width into the processor?
The Flash chip is a SIMM with 4 LH28F016SCT chips. When I try to use a 32 bits wide bus, it does not work.
JM