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: Bluetooth forum - Persistent Application does not fit available memory

Hello,

I am currently implementing the image download over UART feature in the persistent application. However, I am encountering the error: "Program will not fit into available memory."

Here are the relevant details:

  • Start Address of Persistent Application: 0x6000
  • Current Persistent Application Size: 175.49 KB
  • Persistent Slot Size Specified in .cmd File: 0x2BFF0

To accommodate the new feature, I need to increase the size of the persistent slot by 25-30 KB. Could you please guide me on the necessary changes required to increase the size of the persistent slot while ensuring that other memory slots do not overlap?

Specifically, I would like to know:

  1. What changes are needed in the linker command file (.cmd) or equivalent configuration to adjust the slot size?
  2. Any updates required in the project settings or memory layout configurations to prevent overlap with other slots.
  3. Steps to validate and test the updated memory configuration.

Your assistance will be greatly appreciated as this adjustment is critical for implementing the UART-based DFU feature in the persistent application.

Thank you for your support!