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.

LP-EM-CC2340R5: UniFlash can't flash image

Part Number: LP-EM-CC2340R5
Other Parts Discussed in Thread: UNIFLASH, CC2340R5

Hi

I currently want to flash bin files using uniflash,but there was an error with Uniflash.

The demo I used was basic_ble_LP_EM_CC2340R5_freertos_ticlang,and the SDK version is simplelink_lowpower_f3_sdk_7_40_00_64.

The bin file I use is generated with the following configuration

How can I get Uniflash to flash?

Have a good day.

Preston

  • Hi Preston,

    Binary files do not allow for holes, which is an issue since the basic_ble_LP_EM_CC2340R5_freertos_ticlang project attempts to program the CCFG which is not directly next to the program flash memory (FLASHMEM) inside of the Memory Map (see Table 3-1 of the TRM).  Thus the binary image generate attempts to program the memory sections in between the FLASHMEM and CCFG, causing errors.

    This E2E thread covers a similar topic and provides some further instructions and post-build scripts to help populate the CRCs of the CCFG.

    Regards,
    Ryan