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.

Comments on Addressing W25Q64 flash IC

Post

Addressing W25Q64 flash IC [closed]

+0
−1

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!

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Off-topic (1 comment)
Attempts code (1 comment)
Off-topic
Lundin‭ wrote about 2 months ago

Hi there. As per the current scope of this site https://software.codidact.com/help/on-topic, embedded systems questions are off-topic and should be asked on https://electrical.codidact.com/ instead. But before posting there, your question should ideally be self-contained, as in don't link an entire Github project put post the relevant parts of the code as text in the question itself, using code formatting. And if the code is C language for example, also add the C tag to the question.