[U-Boot-Users] AMD Flash not responding to Autoselect

Hi All,
I am using AMD 29F160 2MB on board flash on a custom board. I am using the sbc8260/flash.c as the driver file. During flash initialization, the flash is not responding to the following Autoselect command sequences.
/* Reset and Write auto select command: read Manufacturer ID */ addr[0] = 0xf0f0f0f0; addr[0x0555] = 0xAAAAAAAA; addr[0x02AA] = 0x55555555; addr[0x0555] = 0x90909090; udelay (1000);
vendor = addr[0]; printf("vendor = %08lx\n", vendor);
After running these set of statements, if I display vendor ID, I am getting the HRCW configured at the base address of the flash. I am using 0xFE000000 as the flash base. Any solutions?
thanks in advance, regards, Sudhakar.
__________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus

In message 20040116065725.3643.qmail@web10601.mail.yahoo.com you wrote:
I am using AMD 29F160 2MB on board flash on a custom board. I am using the sbc8260/flash.c as the driver
Are you sure this was a good choice? Why?
/* Reset and Write auto select command: read Manufacturer ID */ addr[0] = 0xf0f0f0f0; addr[0x0555] = 0xAAAAAAAA; addr[0x02AA] = 0x55555555; addr[0x0555] = 0x90909090; udelay (1000);
Is your flash really 4 chips in 8 bit mode?
the flash base. Any solutions?
Check if the flash driver matches your hardware.
Best regards,
Wolfgang Denk
participants (2)
-
sudhakar rajashekhara
-
Wolfgang Denk