Write25xx is the function to be called for writing, and the array stores its two arguments.
If you look into progEEPROM.c you can find what the arguments are used for.
First is the buffer size, second is an option number.
In this case it is specifying erase before write and a 512 byte page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2018-07-19
thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
{"254005,25X40",
SPIEE,-1,0,Read25xx,{0x80000},0,Write25xx,{0x80000,0x8000+512},0}, //512K flash 3.3V
I cannot find the datasheet for this device; can you post a link?
http://www.onsemi.com/pub/Collateral/LE25U40CMC-D.PDF
this is datasheet
yes, it should work choosing 25X40
can you help me to understand this line Write25xx,{0x80000,0x8000+512},0}
thx
Write25xx is the function to be called for writing, and the array stores its two arguments.
If you look into progEEPROM.c you can find what the arguments are used for.
First is the buffer size, second is an option number.
In this case it is specifying erase before write and a 512 byte page.
thx