I'm trying to write data to a W25P80 dataflash memory using an mbed. The documentation says there is a read data instruction for reading data from a section of memory by sending the opcode 03h followed by the address to read. However, I see no corresponding write data instruction. So how is data written to the flash memory?


1 Answer 1


send 06h to enable write then send page program (02h) which is the write function. (send 02h -> address 24 bits -> then min 2 bytes and up to 256bytes max) check 9.2.8 in the datasheet.

  • \$\begingroup\$ How would I read that data back? \$\endgroup\$ Mar 15, 2011 at 8:37
  • \$\begingroup\$ Read Data - 9.2.6 opcode 03h and a 24 bit address or fast read (0Bh- 24 bit address 1byte of dummy code) 9.2.7 \$\endgroup\$
    – jsolarski
    Mar 15, 2011 at 8:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.