Hello. I'm really struggling to get started with the SimpleLink product line.
I'm trying to get any kind of serial/logging output from the device back to a console. I was able to get UART working, but can't find any easy to way to send printf style debugging to it.
I've read the various fragments of scattered documents all over the TI site that seem to indicate that printf() will log to the CCS console on transmission of \n or calling fflush(stdout), but I can't get it to send/log anything.
Here is an example code:
int count = 0; int main(void) { printf("Hello %d %f \n ", 2, 10.5); printf("\n\r "); while(1){ count++; printf("hello %d world\n\r ", count); fflush(stdout); } }
This is not producing any output in Console in CCS. This is all I see logged to Console:
Cortex_M3_0: GEL Output: Memory Map Initialization Complete. Cortex_M3_0: GEL Output: Board Reset Complete.
I went down the rabbit hole here, but it was no use. I couldn't get anything to compile by including Display.h
https://dev.ti.com/tirex/explore/node?node=ANqagjxZxWnBRB7bx0EnOw__pTTHBmu__LATEST
This has been the most frustrating processor to get running that I have used in 10 years. I have a ton of experience with PIC. I've been at this for weeks just trying to get a bare metal UART running and basic debug. The next couple weeks will be spent trying to trick CCS into performing a delay() function, then I'll be 10% of the way to the functionality of an Arduino.
Thanks in advance for any help. I'm sure I'm missing something silly.