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.

CC2340R5-Q1: About off-chip OAD implementation

Part Number: CC2340R5-Q1
Other Parts Discussed in Thread: CC2340R5

Tool/software:

Hi Team, 

My customer is implementing OAD dual project on CC2345R5-Q1.

Due to flash size limit, they have to change to use OAD off-chip.

Please help to check: 

1. For MCUBOOT, we see the hexfile:  mcuboot_dual_image_LP_EM_CC2340R5_nortos_ticlang.hex is provided in SDK.

   Can we just build the project :basic_persistent and basic_ble_oad_offchip and then flash these two image and mcuboot_dual_image_LP_EM_CC2340R5_nortos_ticlang.hex to target PCBA  to test OAD dual  ?

2. For MCUBOOT, we see  MCUBOOT_DIRECT_XIP need to be set in mcuboot_config.h.

   Does it need to be modified other setting in the MCUBOOT project ?

Please help provide comments.

Thanks.

 

  • Hello Mike, 

    Apologize for the delayed response. 

    1. I have never heard of anyone testing this, but if the customer builds MCUBOOT themselves, and ensures that the memory address line up correctly, it will work. 

    2. Defining MCUBOOT_DIRECT_XIP is sufficient. Note, if the customer is using external flash, MCUBOOT_DIRECT_XIP is not supported when external flash configuration is enabled. MCUBOOT_OVERWRITE_ONLY can be used in this configuration. You can read more about this in mcuboot_config.h. 

    Thanks, 
    Isaac