I'm trying to make complete sense out of the QSPI Flash device on the Zybo Z7-10 as well as the BSP Xilinx example programs. From my reading of the sparse comments in the example programs, the Zybo ref manual, and the Spansion datasheet for the memory (which I don't find on the Zybo schematic), it *seems* that 'normal' use of this memory suggests that 256-byte pages be read and written at a time.
I've arranged my desired memory space to use such boundaries (I'm mostly storing objects with 8192 byte lengths). I do occasionially desire to update single or dual byte entries on these pages. I *assume* I'll need to read the page that has updates, update only those bytes I care to update, then write the entire page again if wanting to make such updates?
Also - the Erase commands listed (some of which are in the Xilinx driver files) seem to operate on 64Kbyte (or 256Kbyte) 'sectors'. So similar to the question above, if I only want to 'erase' smaller sections of memory, I should probably just write a value (0xff) to the page I care to 'erase'?
Question
engrpetero
I'm trying to make complete sense out of the QSPI Flash device on the Zybo Z7-10 as well as the BSP Xilinx example programs. From my reading of the sparse comments in the example programs, the Zybo ref manual, and the Spansion datasheet for the memory (which I don't find on the Zybo schematic), it *seems* that 'normal' use of this memory suggests that 256-byte pages be read and written at a time.
I've arranged my desired memory space to use such boundaries (I'm mostly storing objects with 8192 byte lengths). I do occasionially desire to update single or dual byte entries on these pages. I *assume* I'll need to read the page that has updates, update only those bytes I care to update, then write the entire page again if wanting to make such updates?
Also - the Erase commands listed (some of which are in the Xilinx driver files) seem to operate on 64Kbyte (or 256Kbyte) 'sectors'. So similar to the question above, if I only want to 'erase' smaller sections of memory, I should probably just write a value (0xff) to the page I care to 'erase'?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now