This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Flash memory for Data storage?

I am finding conflicting information regarding the use of Flash memory.

Some information indicates that all Flash memory is for code only, while other information implys that Flash can be used for code and data both. I get the impression that data storage in Flash is something that can be done on some parts and not others, but can't find any information on manufacturers websites that clarifies the issue.

Is there any good information out there that will tell me what is what? I am looking at 8051 based parts - Atmel & Philips mostly.

Thanks,
Scott Kelley

Parents
  • One more important point for flash as data memory.

    The same block of flash memory CANNOT be written/read/erased while the code stored in the same block is executing. For this reason, most flash memory based 8051 can use the flash as code memory only.

    One exception is the SST89x5x4 from Silicon Storage Technology. There are two flash memory blocks in the microcontroller. You can use one as code memory and the other for data. So when your code is being executed in one block, it can write data to the other block.

Reply
  • One more important point for flash as data memory.

    The same block of flash memory CANNOT be written/read/erased while the code stored in the same block is executing. For this reason, most flash memory based 8051 can use the flash as code memory only.

    One exception is the SST89x5x4 from Silicon Storage Technology. There are two flash memory blocks in the microcontroller. You can use one as code memory and the other for data. So when your code is being executed in one block, it can write data to the other block.

Children