We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm trying to print the printf statements in the ITM viewer(Serial Viewer). I have the following code in the fputc function. Basically I followed all the instructions in the "Using the ITM Viewer".
if (DEMCR & TRCENA) { while (ITM_Port32(0) == 0); ITM_Port8(0) = ch; }
But still i couldn't print anything on the ITM Viewer. The program kind of hand in the following line.
while (ITM_Port32(0) == 0);
Am I missing something in the settings.? Any suggestions are appreciated. Thanks