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.
Tool/software: Code Composer Studio
I'm using the MSP430FRBoot example bootloader as a starting point for OTA firmware upgrade for my project. I've been able to build the example projects and step through the firmware upgrade process as described in the MSP430FRBoot app note (SLAA721B). Now I'm trying to use the debugger while running either App1 or App2 prior to updating the linker and address space for my application. However, I can't debug either App1 or App2 with Code Composer Studio. I think what happens is the debugger erases all flash (including the previously loaded MSP430FRBoot) and when I start code execution it jumps to the start of where the MSP430FRBoot used to be.
If I have a project setup for the application space for MSP430FRBoot, what special things do I need to do so I can debug the application with Code Composer Studio? I'm assuming there may need to be some different Run/Debug settings, but I haven't found the right combination yet. Is there anything else I need to change also?
Ling,
OK, that makes sense. However, I can't seem to find where in these projects it's setting the linker command file. I'm working with the example project App2 from the MSP430FRBoot examples. I created a new configuration based upon "BSL_Based_DualImg" that I called "BSL_Based_DualImg_Debug". In my new configuration under Properties->CCS General, I noticed the "Linker Command File" setting was blank. I updated it to the path of the default MSP430FR5994 linker command file. When I built the project, I received a bunch of linker errors about memory ranges already being specified. Then I noticed in the build output that the linker command referenced both lnk_msp430fr5994_UART_4KB_Dual_App.cmd and the linker command file I specified. I can't seem to find anywhere how the project is still including lnk_msp430fr5994_UART_4KB_Dual_App.cmd in my new configuration. I've even done full-text searches for lnk_msp430fr5994_UART_4KB_Dual_App.cmd in the project, and the only references I can find to lnk_msp430fr5994_UART_4KB_Dual_App.cmd are in auto-generated files.
For this project, how do I setup a new configuration to use only my new linker command file and not use lnk_msp430fr5994_UART_4KB_Dual_App.cmd?
**Attention** This is a public forum