Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I am using a W25Q64 flash ic to store some stuff for an ESP-32 project. I used this library from Github as it seems intended for ESP. It seemed weird that the read function uses two 16-bit paramet...
#1: Initial revision
Addressing W25Q64 flash IC
I am using a [W25Q64 flash ic](https://www.pjrc.com/store/w25q64fv.pdf) to store some stuff for an ESP-32 project. I used [this](https://github.com/nopnop2002/esp-idf-w25q64) library from Github as it seems intended for ESP. It seemed weird that the read function uses two 16-bit parameters as the address and the write function uses one 32-bit address, but it seemed to work.. Until I tried to write and read beyond page 255. I figured I'm doing something wrong with addressing and tried to figure it out by the memory layout chart in the datasheet. Unfortunately I just cant seem to grasp it. I also can't find another library that has explanatory comments in the write/read functions. I'm looking for some clear information about addressing this chip or a well commented library/example. Any advice is greatly appreciated, thank you!