Hey, everyone.
I had a problem similar to this on another thread, but it was cleared up. I am trying to test the capabilities of the FRAM on the TI Microcontrollers and my question is why a debugger in Code Composer would not like the stack pointer inside of FRAM.
I am working with the MSP430FR5969, and I want to place the stack pointer inside of FRAM. The only problem is when I do this (I set the stack pointer by changing the line
.stack : {} > RAM (HIGH) to .stack : {} > FRAM (HIGH)
inside of the Ink_msp430fr5969.cmd file, the debugger will get stuck before the code can be run. I check the memory browser (CCS's way of telling me the value of every single register of the microcontroller) and the stack is inside a valid place of FRAM memory. There is no out of bounds or scope sort of error. It gets stuck on something called __system_pre_init(); I think Code Composer is asking me to tell it what to do because it is not built to handle the stack in FRAM.
Is there something about the CCS's debugger that needs the stack to be inside of SRAM? Is it unable to find it if I move the stack pointer into FRAM?