Forum Discussion
Jcole
Occasional Contributor
1 year agoGeneric serial flash interface can't WR/RW past certain address limit
I'm using a Cyclone 10LP and the flash is a Cypress S25FL256S. I've gotten familiar with reading and writing using the GSFI module but having a problem accessing the address past byte address 0x0001F...
- 1 year ago
Found the issue, the state machine was passing the 22-bit RSU addressing to the erase command instead of the 32-bit byte address, so the address that was being used to erase was pointed to almost half of where we needed it to be.
Farabi_Altera
Regular Contributor
1 year agoHello,
The S25FL256S supports both 3-byte (24-bit) and 4-byte (32-bit) addressing modes.
Addresses beyond 0x00FFFFFF require 4-byte addressing. If the memory is not properly set to 4-byte mode, any commands using 4-byte addresses will fail.
regards,
Farabi