Other Parts Discussed in Thread: MSP-FET
Tool/software: Code Composer Studio
Hello,
I am working on a MSP430FR2155 part. I am trying to get the printf() statements to work in the CCS console. I have reviewed and tried all options in
. During my testing, I changed the .cio and .sysmem locations from:
GROUP(READ_WRITE_MEMORY)
{
.TI.persistent : {} /* For #pragma persistent */
.cio : {} /* C I/O Buffer */
.sysmem : {} /* Dynamic memory allocation area */
} PALIGN(0x0400), RUN_START(fram_rw_start) RUN_END(fram_rx_start)
to
.bss : {} > RAM /* Global & static vars */
.data : {} > RAM /* Global & static vars */
.TI.noinit : {} > RAM /* For #pragma noinit */
.stack : {} > RAM (HIGH) /* Software system stack */
.cio : {} > RAM /* C I/O Buffer */
.sysmem : {} > RAM /* Dynamic memory allocation area */
.tinyram : {} > TINYRAM /* Tiny RAM */
This actually prints out in the console my printf() statements but it physical executes the hardware breakpoint for each printf() statement. CCS is not performing this function in the background retrieving the buffer from memory and printing it in the console view. The MSP430 debugger is breaking for each printf() statement and displaying the interrupt to the user. If I keep the .cio and .sysmem in the FRAM location, the memory contains of these sections do not change after a printf() statement. I am using the latest model of the MSP-FET debugger.