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.

CC2540 flash space

Other Parts Discussed in Thread: CC2540, CC2541

Hi,

Currently I am working on flash-related work, 

I would like to ask CC2540 flash storage space is 32KB? or bigger

Is which  the  chapter(CC253X - 254X User Guide)

 

thanks

  • Hi,

    CC2540 comes with 128 or 256 KB flash sizes. You will also find the information in the CC2540 datasheet:

    http://www.ti.com/lit/gpn/cc2540

    Regards,

    Bjørn

  • Hi,

    So I want to store my data,

    is not the biggest can go to 512k of flash memory(CC2540)?

     

    Best Regrads

    thanks

  • Hi,

    if you need more than 256 KB flash size, then you will need to have an external flash device (e.g. a flash module with SPI interface)

    Regards,

    Bjørn

  • Hello,

    I have a question about flash controller,

    My code is as follows:

    ---------------------------------------------------------------------------------------------

    -  uint8 data1[]={0x61,0x62,0x63,0x64}; 

    -  while(FCTL&0x80); //   make sure that erase operation is completed

    -  HalFlashWrite(0x3B5D, data1, 1); //actual addr = 0xED74 

    ---------------------------------------------------------------------------------------------

    I entered debug window memory (Xdata) 

    It stands to reason I should write to the address in 0xED74 - 0x ED77

    Although I see the XDATA memory window  have to change, but the data is not correct

    Sometimes will write the memory address is correct, such as 0xFFF0 address

    Confirmed XDATA, confirm that there is a successful write

    Do not know why

    You can help me confused?

     

    In addition, flash write address only provide  0x8000 - 0xFFFF this address? Information written to the flash storage space is only store 32kb  (not external flash)??

     

    Thanks.

  • Sorry

    Who can help me solve this problem??

  • hi,

    my code size is more than 256 KB and i'm using CC2541 . can i use an external flash module to implement over the air update ? if yes, can you please help with some pointers.