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.

CC1312R7: Boot address setting for the OAD program MCU_BOOT

Part Number: CC1312R7

Hi, Team Ti:

For the OAD features of CC1312R7, The routine I use in the application is: ns_coat_oad_offchip_src_LP_CC1312R7_tirtos7_ticlang (version: simplelink_cc13xx_cc26xx_sdk_7_) 10_01_24), the BOOT code uses: mcuboot_LP_CC1312R7_normos_ticlang, now I need to expand the space of the MCU_BOOT (16KB to 24KB), I tried to modify the FLASH_BASE to 0xAA000 in mcuboot_cc13x2x7_cc26x2x7.cmd. FLASH_SIZE is modified to 0x6000; then at C:\ti\simplelink_cc13xx_cc26xx_sdk_7_10_01_24\source\third_party\mcuboot\boot \ti\source\mcuboot_app\flash_map_backend\flash_map_backend.h file, modify BOOTLOADER_BASE_ADDRESS to 0x000AA000. BOOT_BOOTLOADER_SIZE is modified to 0x00005FA8 and the project is recompiled. I downloaded to the board at the same time, but restarting the board does not execute the BOOT procedure, what else do I need to set?

Thanks & Best regards,

Yolande

  • Hi Yolande,

    Why do you want to modify the flash base address? I believe this is set in several files nd I would not recommend this approach. Please keep the flash base address and adjust the flash size.

    Cheers,

    Marie H

  • Hi Marie,

    I now want to expand the BOOT area size, if I do not change the original flash base, only change the flash size, the compiled HEX file address will be more than 0xB0000, and CC1312R7's total flash size is 704KB, the excess part will not be written when downloading.

  • Hi Bill,

    Please read the MCUBoot readme for more details.

    1. Make sure you uncommented the TI_BOOT_USE_EXTERNAL_FLASH define in mcuboot_config.h (this requires MCUBOOT_OVERWRITE_ONLY) and check the other configs in this file.

    2. You can find the flash map definitions in the MCUBoot project file: flash_map_backend.h. Any changes you make in the linker command files should be reflected here.

    Cheers,

    Marie H