This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ITM-DEbugging with NXP LPC1768

Hi guys,

First of all, I'm using a LPC1768 development board in combination with a JLink Debugger which supports ITM-Debugging over printf. I'm using Keil MDK 4.10.

Using a direct call of ITM_SendChar() works. The character is displayed in KEIL IDE.

For using this putchar function I have to implement fputc()

int fputc(int ch, FILE *f)
{
        return (ITM_SendChar(ch));
}

If i call printf() my prgram doesn't work. The debugger tells me that is stops at
<pre
0x00000E48 BEAB BKPT 0xAB0

Can you help me that printf() works?

Thanks in advance!
Best regards from Austria
Robert