![]() These two c-files can be added to your project by File - New - Other - filter for the “syscalls” or “printf”. Before that is done “printf” is not directed to ITM0. You need this one too, and there you need to instrument _write to call ITM_SendChar. “_write” stub is available in the file called “syscalls.c”. In TrueSTUDIO you will need to bring in “tiny_printf.c” this function calls “_write” function. Hi All, I'm working with last atollic version 9.1.0 and I used your solution (Hae Ryon Jung (Community Member) ), and it doesn't work well.I have a program to read, every second, ADC and converts counts to voltage, the source works well (the values are good) but the text in serial com only is printed well the first time, the others the dot '. ![]() ![]() What I am asking is if you see that you get a lot of overflows? You can see the overflow count in the view called “SWV Trace log”, down left corner if I am not mistaken.Ĭould you also show us how your printf looks? Maybe Atollic run-time libraries differ from VisualStudio. From where is the variable “value” written? Is it possible that this is done very frequently from some interrupt not visible in your code snippet above? Lookng at your screenshot it seems that you dont have very many events happening from an SWV point of view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |