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.
Addressing W25Q64 flash IC [closed]
Closed as off topic by Lundin on Apr 25, 2024 at 07:54
This question is not within the scope of Software Development.
This question was closed; new answers can no longer be added. Users with the reopen privilege may vote to reopen this question if it has been improved or closed incorrectly.
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 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!
2 comment threads