Forum Discussion
Jcole
Occasional Contributor
2 years agoGeneric Serial Flash Interface reading only 0's
Hi, I'm using the Cyclone 10 EVAL kit with the EP128A flash connected. I perform the following events and made sure that the csr /mem wait requests were low before issuing the next command, but only ...
- 2 years ago
So it seems the issue has been with Signal tap all along, when I changed my trigger conditions to make sure pivotal actions were hit, then set my Storage enables to output when the rising edge of "avl_mem_readdatavalid", I was able to see valid and correct read data from the Flash.
Jcole
Occasional Contributor
2 years agoI added an additional Write Enable and Sector Unprotect command before the WR 4 BYTES OF DATA TO ADDR 0x4000, but still only reading back 0's. Added commands are below:
WR ENABLE:
csr_addr: 0x07 csr_wr_data: 0x00000006
csr_addr: 0x08 csr_wr_data: 0x00000001
SECTOR 0 UNPROTECT:
csr_addr: 0x07 csr_wr_data: 0x00001001
csr_addr: 0x0A csr_wr_data: 0x00000000
csr_addr: 0x08 csr_wr_data: 0x00000001