Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-23 Thread Wolfgang Denk
Dear Scott, In message [EMAIL PROTECTED] you wrote: Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? Does this use the toggle bit detection? I saw the same symptoms with Nios II. Basically, the memory controller was reading the 16-bit flash twice to

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-20 Thread stefano babic
Wolfgang Denk wrote: Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? flash_is_busy() implements the toggling check. Of course, it should work, but I remember I had in the past a similar problem and I switched to the DQ7 bit algorithm (for erasing, it means I

[U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Wolfgang Denk
Hi, while tryong to convert the TQM8260 board to using the CFI flash driver (instead of a perfectly working legacy flash driver) I ran into a strange problem: after an erase operation, the CFI driver returns without any error indication, but the flash is not ready yet. It takes some

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Scott McNutt
Hi Wolfgang, Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? Does this use the toggle bit detection? I saw the same symptoms with Nios II. Basically, the memory controller was reading the 16-bit flash twice to obtain a full 32-bit word, then returning just the

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-19 Thread Wolfgang Denk
Dear Scott, In message [EMAIL PROTECTED] you wrote: Why the heck does flash_is_busy() return 0 when the flashobviously is still busy? Does this use the toggle bit detection? I saw the same symptoms Hm... how can I tell if it does? The driver reports AMD Standard command set, so it