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.

LAUNCHXL-CC1310: how to write in internal flash

Part Number: LAUNCHXL-CC1310

Hi

1: what is difference b/w  FLASHMEM_BASE(0x00000000)   and FLASH_BASE (0x40030000), what is flash end address.

2. is there any limit to use flash  to save data.

3: how to check our code using how much of memory and from where to write data into flash

  • Hello Venu,
    1. FLASHMEM_BASE(0x00000000) is where the internal Flash memory starts and FLASH_BASE (0x40030000) is where the flash controller is located. The Flash end address is FLASHMEM_BASE + FLASH_SIZE. FLASH_SIZE is 32/64/128Kb depending on your chip.

    2. The number for writes are limited, but the number is very high. Please refer to this thread. e2e.ti.com/.../444765

    3. Flash memory is partitioned into sectors. Each sector is 2048 words. The whole sector needs to be erased and programmed when writing new data.
    Please refer to this for documentation
    software-dl.ti.com/.../group__flash__api.html

    C:\ti\tirtos_cc13xx_cc26xx_2_21_00_06\products\cc13xxware_2_04_03_17272\driverlib\flash.c/h files for the API.

    Regards,
    Prashanth