E.amal
Newbie level 2
I am working on an Intel’s CFI-Flash (28F640J3) interface in Verilog.
I have written a code and tested it for many commands; read, write, erase.. .
But I am facing problem with 'Write Buffer’ and read process, the command procedure is as follows:
At first I send an "Unlock Block" command then "ERASE BLOCK" then "WRITE BUFFER" then “BUFFER COUNT" which is 16(0X0F) and then I send the data with addresses until 16 count.
When I read the stored data on the LED display and on debugger the read output data comes right for single buffer read-write process starting from address 0 to F.
However, when writing two buffers or more and trying to read them continuously the flash outputs the first 16 words and gives 0XFF for all higher address.
Also, the data of address 0x00 should be 0x00, instead, it was 0xff.
Any hint please.
Thank you.
I have written a code and tested it for many commands; read, write, erase.. .
But I am facing problem with 'Write Buffer’ and read process, the command procedure is as follows:
At first I send an "Unlock Block" command then "ERASE BLOCK" then "WRITE BUFFER" then “BUFFER COUNT" which is 16(0X0F) and then I send the data with addresses until 16 count.
When I read the stored data on the LED display and on debugger the read output data comes right for single buffer read-write process starting from address 0 to F.
However, when writing two buffers or more and trying to read them continuously the flash outputs the first 16 words and gives 0XFF for all higher address.
Also, the data of address 0x00 should be 0x00, instead, it was 0xff.
Any hint please.
Thank you.