How to write data to this dataflash memory

flashmbedmemory

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?

Best Answer

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.