Hi
CCSv4.2.5.00005
XDCtools 3.20.8.88
IPC 1.22.3.23
SYS/BIOS 6.31.4.27
C6472
I followed the instructions in the post below and our code does not turn off the log_printf messages.
http://e2e.ti.com/support/embedded/bios/f/355/t/162631.aspx
I've attached our .cfg file where I used the code from ToddMullanix verbatim. Hope you could take a moment to review it. (had to rename to .txt to upload)
The "C" code I am using the mask the interrupts is below. When I run, I hit breakpoints in the "if" and not in the "else", yet the log_prints continue to output.(i.e. when I hit the breakpoint, the Printf Logs tab shows an new set of logs).
The following is called by a task.
if(0 == cnt)
{
Diags_setMask( "xdc.runtime.Main-1" );
Diags_setMask( "xdc.runtime.Main-2" );
Diags_setMask( "xdc.runtime.Main-3" );
Diags_setMask( "xdc.runtime.Main-4" );
Diags_setMask( "xdc.runtime.Main-5" );
Diags_setMask( "xdc.runtime.Main-6" );
}
else
{
Diags_setMask( "xdc.runtime.Main+1" );
Diags_setMask( "xdc.runtime.Main+2" );
Diags_setMask( "xdc.runtime.Main+3" );
Diags_setMask( "xdc.runtime.Main+4" );
Diags_setMask( "xdc.runtime.Main+5" );
Diags_setMask( "xdc.runtime.Main+6" );
}
I also tried adding the following to the .cfg. No luck.
Task.common$.diags_USER1 = Diags.RUNTIME_ON;
Task.common$.diags_USER2 = Diags.RUNTIME_ON;
Task.common$.diags_USER3 = Diags.RUNTIME_ON;
Task.common$.diags_USER4 = Diags.RUNTIME_ON;
Task.common$.diags_USER5 = Diags.RUNTIME_ON;
Task.common$.diags_USER6 = Diags.RUNTIME_ON;
Could it be that there is something else that must be done for this to work for tasks that are created at runtime?
Thanks for your help.
Cheers



