| ??? 07/17/07 07:42 Read: times Msg Score: +1 +1 Good Answer/Helpful |
#141948 - Pages and blocks Responding to: ???'s previous message |
Hello Farshad,
I think you are a bit confused with the sizes of pages and blocks. DataFlash memory is organised into several Sectors. Each sector is subdivided into several Blocks and each Block is subdivided again into several Pages. On devices of 16Mbit and higher, each Block contains 8 Pages of 528 bytes each, so that's where your 4K comes from (actually it is 4K + 128 bytes). However, each Page can also be erased separately. And a Page can be held entirely in one of the two internal RAM buffers. So what you need to do is to load the appropriate Page into the Buffer ("MAIN MEMORY PAGE TO BUFFER TRANSFER"), modify the required byte(s) ("BUFFER WRITE") and write the contents of the buffer back to the main memory ("BUFFER TO MAIN MEMORY PAGE PROGRAM WITH BUILT-IN ERASE"). Good luck! Rob. |
| Topic | Author | Date |
| Atmel DataFlash | 01/01/70 00:00 | |
| Pages and blocks | 01/01/70 00:00 | |
| 26xxx series vs. 45xxx series | 01/01/70 00:00 | |
| Oops! | 01/01/70 00:00 | |
| Atmel flash | 01/01/70 00:00 | |
| Missed the point? | 01/01/70 00:00 | |
| Ya, missed the point | 01/01/70 00:00 | |
| Such is the world of flash | 01/01/70 00:00 | |
| More capacity... | 01/01/70 00:00 | |
| A, possibly silly, idea | 01/01/70 00:00 | |
| RAID on EEPROM...?! | 01/01/70 00:00 | |
| Access time...? | 01/01/70 00:00 | |
If reads are the issue | 01/01/70 00:00 | |
| RE: Random write and capacity | 01/01/70 00:00 | |
| Was stuck in 26xxx series! | 01/01/70 00:00 |



