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.

CC1350: Flash Sector

Part Number: CC1350

Hi

CC1350 has 4 KB of flash. means 1 sector size is 0x1000 ,likewise 4 sector are there.

in example code the sector size is given like 0x1000 and it's defined. so my question is that can  i change this sector size like 0x40. means i want  1 sector size is 0x40 .so is it possible to change the sector size.

and if i want to erase this sector size, so it should erase by 0x40  means sector size that we have defined.

please guide me about this issue.

Thank You

  • The flash sector size is fixed to 4 kB meaning that it's not possible to change.
  • Hi

    i don't want to change the size 4 KB , Just i want to change the sector size. Now In example code the sector size is 0x1000 so can i change it from
    0x1000 to 0x00FF
  • Hi

    I have also doubt about the more memory taken by the NVS driver. here i want use the flash memory (Non Volatile ) for storing the data.
    The memory Size before Taking NVS driver is 24KB and when i after taking NVS driver for my Application it takes 32 KB memory size.
    The function Given in the NVS driver which taking more size. means around 9 to 10 KB memory has been taken by the NVS driver.

    so i don't understand why it is taking so much memory size . if i don't want use Nonvolatile storage and i removed it again memory comes back in around 24 KB size.

    please guide me about this issue because i want reduce my memory size. and also want know that how to remove the unwanted function that i don't want in my code. there are many unnecessary function in my code. and how to remove it.


    Thank You
    Nilesh Dalvi
  • All drivers take up space in memory, both flash and RAM. To save memory you should only include the drivers you actually need. Also you should remove all driver setup in the board file that you don't use. You can see memory usage in the .map file and in CCS with view -> memory allocation.
  • Hi

    how i can remove the driver that i don't need. because i also want reduce the memory consumption carried by the unusable driver.

    Thank You
  • As an example:
    if your code includes
    #include <ti/drivers/GPIO.h>
    #include <ti/drivers/UART.h>

    you use the GPIO and UART driver. If you don't want to use these, remove the #includes.
  • yes , I got it but how i can i remove the dead function through using software tool. i have optimize the code with high level. but still there is unnecessary function in code. how it remove.

    Thank you
  • Could you give an example on what you regard as unnecessary function in code?