Content originally posted in LPCWare by xjx on Sun Nov 15 12:15:27 MST 2015
Hello R2D2,
thank you but I do not understand your reply.
If I use the serial cable, is it ok to use the following config at board.h?
/** Define DEBUG_ENABLE to enable IO via the DEBUGSTR, DEBUGOUT, and
DEBUGIN macros. If not defined, DEBUG* functions will be optimized
out of the code at build time.
*/
#define DEBUG_ENABLE
/** Define DEBUG_SEMIHOSTING along with DEBUG_ENABLE to enable IO support
via semihosting. You may need to use a C library that supports
semihosting with this option.
*/
// #define DEBUG_SEMIHOSTING
The welcome message now dissapears in the console. However it does not appear in the COM console, ussing Putty or Hercules.
What I see in the Hercules console is the characters that I write being echoed back by the LPCxpresso. This behavior was OK when I tried the LPCOpen example "periph_uart_rb", but not now I guess.
thanks in advance