Forum Discussion
Altera_Forum
Honored Contributor
8 years agoSignal Tap II reading a "1" from SO of FLASH CHIP always, without changes. why?
I'm creating a very simple Flash controller as a school project. The flash chip is MX25L3206E and the FPGA is 5CEFA4F23C8. I created the code attached and routed the proper pins from the chip. After ...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I haven't looked through your code in detail. However, I notice you've defined parameters for the read and write commands for the FLASH device, but not the write enable command. Without this you'll never be able to write to the device. So it follows that you'll only ever read out 1's. I suggest you work with the Read Identification command. This only requires you to issue one byte for which you'll get two back. This command works stand alone, no need for any write enable. That way you can make 'SO' do something and prove your low level code without the need to worry about the higher level command sequences the device needs to be written to. Cheers, Alex --- Quote End --- Alex really appreciated, I will try this immediately, let me understand something, SO pin naturally by default outputs "1", is not a malfunction of the chip, I mean either command or not, the SO is static in "1" since power on? Besides write enable command, are there other mandatory commands for a simple write and read operation? You gave me great ideas, thanks.