It would be useful to me to have printf output go to serial port 2 (P2 on the dev. board), while my application is using port 1 to communicate with our device. The comments suggest this is supported by changing the #define of APP_STDIO_PORT in appconf.h to “/com/1”.
But when I try this in the nahttp_pd sample, the code appears to hang somewhere after calling tx_kernel_enter() from main() but before calling applicationStart().
Is it possible to simultaneously use the Raven debugger and direct stdout to port P2, and if so what are the steps required to do that?
If not, can you give more detail on when & how to use port P2 for debug output?