Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

Comman Flash Interface (Intel p30) and VHDL

Hi all

I have manged to make this statemachine, I am trying to write and read to the FLash . I am having no luck, have i done it in the corect way. Please do comment.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Again,

    A CFI flash should be program in following procedure.

    Just do Program0 to Program7 and Flash will be written.

    I'm sure ST, SST, Winbond, MXIC, Spansion, Samsung do so because my emulator act with universal programmer by this sequence.

    Please, look at this again.

    -----------------------------------------------------------------------------------

    When Program0=> D(7 downto 0)<= "10101010";A(10 downto 0)<="10101010101"; WE<='0'; --555/AA

    When Program1=> WE<='1';

    When Program2=> D(7 downto 0)<= "01010101";A(10 downto 0)<="01010101010"; WE<='0'; --2AA/55

    When Program3=> WE<='1';

    When Program4=> D(7 downto 0)<= "10100000";A(10 downto 0)<="10101010101"; WE<='0'; --555/A0

    When Program5=> WE<='1';

    When Program6=> D<="your data"; A<="your address"; WE<='0';

    When Program7=> WE<='1';