The printf function does not work over jtag. But somehow it can work over xscope.
Here is the code I have
Code: Select all
#define DEBUG_UNIT ETHERNET_MODULE
#include "debug_print.h"
void AudioHwInit()
{
xk_evk_xu316_AudioHwInit(config);
printf(“rnAudioHwRemoteDone2_printf”); <== this line is executed with --xscope option, but not --io
debug_printf(“rnAudioHwInitDone”); <== this line never show up on the sceeen with --xscope option
}
some suggestions would be nice.
one thing I cannot figure out is how to set the compile to build as debug not release. where to change between debug/release?