I've finally dusted of my LM4F120 for a project and i'm trying to modify the stellaris mod player (http://mobile4dev.blogspot.com.au/2012/11/stellaris-launchpad-mod-player.html) .
I'm using the latestCCSv6 6.0.1.00040
I can build and run the program fine but i'm struggling to modify it. My goal is to stop it looping and to have it sleep and wake on button press, run once and return to sleep waiting for another button press. Ambitious for a first run at a Ti Micro and CCS???? I hope not.
anyway
My problem is that I'm trying to output debugging messages to either the debug console or the uart terminal but attempts to do either cause the program to freeze. 6 hours of searching told me that I can just use printf to output to the debug console but that seems to be false because putting a printf after the declarations before any other code locks up the device. There's no documentation on debugging; all documentation talks about using external debugger indicating that perhaps the inbuilt one isn't that good.
I know that I can do what I want in terms of programming. I just need to get the debugging interface to work so I can figure out how the program works.