Content originally posted in LPCWare by js-nxp on Sat Dec 10 18:59:30 MST 2011
Quote: CodeRedSupport
The debugger 'hosts' these functions by executing them on the host; so from your embedded application you can read and write files on the host.
I just want to use stdio with the hardware ie uart in this case, sorry, no idea of "semihosting". :)
As far as I'm concerned the debugger should just be there to download code, set breakpoints, look and modify registers, variable etc., do signle step and the "usual" debugger things. This it seems to be doing well as I get used to it's way of doing things.
Obviously a learning curve somewhat steep for me. Just found out that "compiler default" doesn't seem to be C99 as it is complaining about some code I'm porting.
I tried to set the dialect to C99 but broke something, now I'm back to default mode. Also debug defaults -O0, ok now that I know.
Anyway I'm reasonable happy that I got a "flashing led" (not the demo version) program running both in debug and release mode.