Other Parts Discussed in Thread: MSP430FR5994
Hello,
I'm currently working with the MSP430FR5994 and I'm using MSP430-GCC and working outside of the TI CCS IDE. I'm trying to use printf for debugging purposes e.g. sensor bring-up, printing values of readings during development etc. (not aimed at production). However, when using GDB and gdb_agent_console the printf messages seem to be ignored.
I successfully had printf working when using TI CCS, all I had to do was set the heap size to 320 and I was good to go! (Specifying --heap_size=320 in MSP430-GCC seemed to not be recognised either).
Is there a special printf implementation in TI CCS which allows printing to CIO that MSP430-GCC does not support?
Is it possible with MSP430-GCC or do I need to wire up a separate UART interface with a special printf implementation to pipe my output elsewhere?
Any help would be appreciated!
Version info below;
- MSP430-GCC version 9.3.1.11
- MCU is MSP430FR5994
Thanks,
Joe