but when i remove the write command, the result of my reading is 256 for every data.
That's pretty remarkable.