This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2745R10-Q1: NVOCMP driver operation

Part Number: CC2745R10-Q1

Tool/software:

Hi.

The basic operation of the NVOCMP driver is assumed as follows when NVOCMP_NVPAGES=3.

1. Initially, all pages are empty.

2. The first page to be written is Page-0.

3. Compress when the usage rate of Page-0 exceeds 80%, and the compressed data is stored in Page-2.

4. Erase Page-0.

5. Change the state of Page-0 to PGXDST.

6. The page to be written is Page-1.

7. Compress when the usage rate of Page-1 exceeds 80%, and the compressed data is stored in Page-0.

8. Erase Page-1.

9. Change the state of Page-1 to PGXDST.

10. The page to be written is Page-2.

- Continues in the same manner.

Is this correct?

Also, is page erasing the only operation that affects the durability of flash memory?

This is a sample image in my mind.

  • Hello!

    What you have above is very similar to the OSAL_snv driver's implementation. You can read more about it here.

    Also, is page erasing the only operation that affects the durability of flash memory?

    Both erasing and writing affects flash. Your implementation is fine, since it spreads that wear over multiple pages.

    Best,

    Nima Behmanesh