Hi,
Can anyone help me on how to use printf or system_printf() for CC2650 sensorTag 2 on IAR embedded workbench using XDS110 debugger?
Thank you
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
Can anyone help me on how to use printf or system_printf() for CC2650 sensorTag 2 on IAR embedded workbench using XDS110 debugger?
Thank you
Hi!
Does anybody know how/why the System_printf prints a value on a console with delay?
I mean, i am trying to read a value from MPU9250, the aceleration on X, and I would like to print it on a console, but as i read it, not as slow as System_printf does it. I was checking .cfg file, but could not fine any place where it says how often should it print...
Anybody knows how can i do it, or maybe some alternative for printing? It will be great to find some help! :))
Thanks,
Natalia
Hello,
please update:
System.SupportProxy = SysCallback;
with
System.SupportProxy = SysStd;
and please provide more details about your appBLE.cfg compilation errors.
Thanks
Alex
Please see the series of screenshots below. In using the recommendations within this thread, these are the results I get.
1) This is the unmodified mutex kernel example within the IAR folder within TI-RTOS. It compiles fine w/o the modifications to the cfg file.
2) My goal is to learn how to use System_printf();
3) Why doesn't this work out-of-the-box........I didn't add the System_printf(), I just want to use it.
4) When it eventually does work, will I have to specify an output window, or will it be automatic.
Any help in getting this to work would be appreciated.
Hello,
as shown in your screenshot you have to remove
System.SupportProxy = SysCallback;
from the configuration file.
Leave only System.SupportProxy = SysStd;
Hello,
yes. It works.
Please add also
SysStd = xdc.useModule("xdc.runtime.SysStd");
and use
#include <xdc/runtime/System.h>
....
System_printf("???\n");
...
That's all.
Alex
Look at the "Outline" window and select "System". You can navigate through the kernel (SYS/BIOS), but it's easier to just select the module directly. The "Available Products" shows the modules that can be added also if it missing from the "Outline".
In general, please start a new thread instead of adding onto an older thread.
Todd