Content originally posted in LPCWare by rocketdawg on Tue Mar 04 13:40:39 MST 2014
I am using LPCOpen 2.04 for LPC4330
DEBUGSTR does indeed work, strings are transmitted and displayed in TeraTerm
It looks like retarget.h in lpc_board_... should be directing the __sys_write to the WRITEFUNC() which should direct printf() to output to the UART.
But no output.
BTW, Board_Debug_Init() calls Chip_UART_SetBaud(DEBUG_UART, 115200);
which fails miserably
replacing that call with
Chip_UART_SetBaudFDR(DEBUG_UART, 115200);
does work and sets the baud rate correctly
edit using LPCOpen 2.04