On Tue, 2003-04-29 at 13:36, ron minnich wrote:
On 29 Apr 2003, Nathanael D. Noblet wrote:
look in flash.h. id1 is the vendor, and i2 is the part. 37 is 25 hex, which is an unknown vendor to me.
I removed the current flash chip that was in there and replaced it with one of the ones I bought. Ran ./flash_rom again and got... Try 2097152 timeusec is 44994 Try 20971520 timeusec is 449133 Try 209715200 timeusec is 4491595 one us is 466 count Trying Am29F040B, 512 KB probe_29f040bid1 255, id2 255 Trying At29C040A, 512 KB probe_jedecid1 255, id2 255 Trying Mx29f002, 256 KB probe_29f002id1 255, id2 255 Trying SST29EE020A, 256 KB probe_jedecid1 255, id2 255 Trying SST28SF040A, 512 KB probe_28sf040id1 255, id2 255 Trying SST39SF020A, 256 KB probe_39sf020id1 255, id2 255 Trying SST39VF020, 256 KB probe_39sf020id1 255, id2 255 Trying W29C020C, 256 KB probe_jedecid1 255, id2 255 Trying W49F002U, 256 KB probe_49f002id1 255, id2 255 Trying M29F400BT, 512 KB probe_m29f400bt id1 ff, id2 ff Trying 82802ab, 512 KB probe_82802abid1 255, id2 255 EEPROM not found
I think we may still be at 'no write enable to flash :-('
so to be able to detect the flash part I need to enable flash write? I have the data sheet and found the sequence of commands to enable flash write to it. but that still doesn't explain the wrong return for the id1 & id2...
I'll look into it a little more. I think with the bit of reading I've found in the flash parts spec sheets I may be able to make a little more sense of the code found in flash_and_burn... hopefully ;)