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
  • I know of no '51 with internal flash where the flash is one page only.

    The flash block is different from page. A block can be as big as 64KB or as small as 4KB depends on the '51 chip design. The blocks are independent from each other.

    To write data to the same block, you'll need In System Programming (ISP), and you'll have to make sure that no code is executing in that block during that time. (ATMEL 89c51RB2)

    To write data to the other block, you'll need In Application Programming (IAP), and the application in this block doesn't have to be halt waiting for the end of the write data operation in the other block. (SST89x5x4)

Reply
  • I know of no '51 with internal flash where the flash is one page only.

    The flash block is different from page. A block can be as big as 64KB or as small as 4KB depends on the '51 chip design. The blocks are independent from each other.

    To write data to the same block, you'll need In System Programming (ISP), and you'll have to make sure that no code is executing in that block during that time. (ATMEL 89c51RB2)

    To write data to the other block, you'll need In Application Programming (IAP), and the application in this block doesn't have to be halt waiting for the end of the write data operation in the other block. (SST89x5x4)

Children
More questions in this forum