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.

CC2640R2F: Calculation Memory Address

Part Number: CC2640R2F


Hi,

Memory map of CC2640R2F

I need calculate CRC in Flash Memory but I'm not sure to use address in range 0x0000 to 0x1FFFF.

Can you recommend to use address of flash memory for calculate CRC?

Thanks,

Vasu Khwanyuen

  • Hi Vasu,

    Although not for your specific device, here is a code example of CRC32 calculation being used in a SimpleLink project.  The CC26x0 and CC26x2 bootloaders uses the CRC-32-IEEE 802.3 with the following polynomial to calculate CRC checksum:

    CRC32poly = x32 + x26 + x23 + x22 + x16 + x12 + x11 + x10 + x8 + x7 + x5 + x4 + x2 + x + 1 

    You can reference similar examples online for your development requirements.

    Regards,
    Ryan

  • Thanks Ryan Brown1,

    And area address from 0x0001FFA8 to 0x0001FFFF CCFG not change follow code file. It is config data from TI.

    I understand correct right?

    Thanks,

    Vasu Khwanyuen

  • The Customer Configuration (CCFG) is available for the application to configure parameters for the ROM bootloader (ex backdoor boot pin selection/level) and device hardware (ex. frequency selection and crystal load).  This is fully configurable from a CC2640R2F project's CCFG file and can be modified by developers.  The FCFG is set by Texas Instruments during device production and contains device-specific trim values and configuration.  Please read more information from Chapter 9 of the TRM.

    Regards,
    Ryan