Posted 16 June 2004 - 04:37 PM
RAM is a Random Access Memory. You can read and write to memory without any limits.
Flash memory is a sort of rewritable ROM (Read Only Memory). There are some limits for using Flash memory:
1. You may read and write bytes in any order, but you can erase full sector only (around 64 kbytes at one time). Flash memory divided into sectors. So, if you want erase or modify one stored program, then you need to read full sector to RAM, erase full block and write to Flash memory back.
When you delete program, it marked "deleted" instead of physical delete. After detele a memory gaps will appear.
2. Flash memory has limits to write/erase cycles (around 10000..10000 times)