Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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

40%
+0 −1
Q&A Addressing W25Q64 flash IC [closed]

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...

0 answers  ·  posted 8mo ago by HinkyDinky‭  ·  closed 8mo ago by Lundin‭

Question flash-memory ESP-32
#2: Question closed by user avatar Lundin‭ · 2024-04-25T07:54:43Z (8 months ago)
#1: Initial revision by user avatar HinkyDinky‭ · 2024-04-24T17:53:16Z (8 months ago)
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!