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.

CC2650EM-4XS-RD: Unable to shift the Stack image location(ICALL_STACK0_ADDR ) in flash

Part Number: CC2650EM-4XS-RD
Other Parts Discussed in Thread: CC2650

Hello All,

Currently my configuration uses ICALL_STACK0_ADDR as 0x9000.

My application image size has increased and would like to shift the stack image. If i change ICALL_STACK0_ADDR to anything else(say 0xA000). The application and stack images correctly gets loaded in the Flash at their respective configured addresses(stack = 0xA0000) however the Application and stack images doesn't interact.

I have made the linker config settings for the application and stack as below:

Environment :CC26504xs custom board, IAR Workbench version - 7.40.2.8570, TIMAC - 1.5.2, TIRTOS - 2.11.01.09.

Am i missing anything here. 

Please suggest.

Best regards

Naveen

  • Hi Naveen,

    Are you using one of the latest versions of the CC2650 SDK? You might want to consider using the Frontier tool for configuring the memory automatically. This is described in www.ti.com/.../slau393 section 3.12 Configuration of RAM and Flash Boundary Using the Frontier Tool.

    Regards,
    Katie
  • Hi Katie,

    I am trying this on our custom board based on CC26504XS and TI RTOS V2.11.

    I will try configuring with Frontier tool, meantime do you see anything that I might be missing with the manual configuration?

    Best regards

    Naveen

  • Hi Naveen,

    Frontier tool is really what you need - there's not a great way to do this manually because it can break any time you change your code. Frontier tool helps with this.

    Regards,
    Katie