I am trying to run and debug a user app (App1_MSPBoot) from the source associated with MSPBoot – Main Memory Bootloader for MSP430™ Microcontrollers. I have been able to run the demo using two G2553's with UART as outlined in the app note. Now I just want to use CCS and using only the target G2553, load MSPBoot, and then load and debug App1_MSPBoot.
Is what I am trying attempt possible?
Am I tweaking the right thing in Run/Debug Settings (shown below) or am I completely off course?
Is there a way to link the object file and memory map from MSPBoot to the App1_MSPBoot project?
I have loaded MSPBoot successfully but I run into trouble when I switch projects to App1_MSPBoot, load it and attempt to run the debugger. I had thought that changing the project settings Run/Debug Settings->Launch configuration->Target->MSP430 Properties->Erase Options would make it work. Here is what I tried:
- Erase main memory
Debug Result: no symbols defined for 0xFFFF
Console Output: MSP430: Can't Run Target CPU: Could not run device (to breakpoint) - Erase and download necessary segments only (Differential Download)
Debug Result: TI MSP430 USB1/MSP430(Running)
Console Output: MSP430: Loading complete. There were 242 (code) and 50 (data) bytes written to FLASH/FRAM. The expected RAM usage is 80 (uninitialized data + stack) bytes.DX FlashEnabled. Total Flash Sectors In Binary: 0 Total Sectors Written: 0
If I pause the debug session:
Debug Result: TI MSP430 USB1/MSP430 (Suspended)
0xE4A4 (no symbols are defined for 0xE4A4) - Replace written memory locations, retain unwritten memory locations
Debug Result: TI MSP430 USB1/MSP430(Running)
Console Output: MSP430: Loading complete. There were 242 (code) and 50 (data) bytes written to FLASH/FRAM. The expected RAM usage is 80 (uninitialized data + stack) bytes.
If I pause the debug session:
Debug Result: TI MSP430 USB1/MSP430 (Suspended)
0xFF66 (no symbols are defined for 0xFF66)
Thanks,
Douglas