Skip to contentSkip to conversation

AMD Flash not responding to Autoselect

U-Boot-Users sudhakar rajashekhara 2 participants 2 messages Jan 16, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 3 lines · In message <[email protected]> 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?

Quoted 7 lines

/* 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?

Quoted 1 line

the flash base. Any solutions?

Check if the flash driver matches your hardware.

Best regards,

Wolfgang Denk

Signature · 5 lines
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"...this does not mean that some of us should not want, in  a  rather
dispassionate sort of way, to put a bullet through csh's head."
                   - Larry Wall in <[email protected]>