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.
Is there any way to log datas on a file with code composer studio? If yes, could you please help?
My CCS version is 10.4.0.00006
Hello,
Is there any way to log datas on a file with code composer studio?
Can you provide more details on your use case? For example, are you looking to periodically log the value of a variable for a program running in the target? Are you looking to do this non-intusively (not halting the target)? What target are you using?
Thanks
ki
I am using my own board with TMS320F28069M mounted. I want to log a variable for a program running on that mcu. I will not halt the target.
What is the frequency? If it is at a very high rate, then it may not be possible with an existing setup.
10kHz is enough. Is it possible to log a variable at 10 kHz? At that frequency at most how many variables can i log at that frequency?
That is a challenge and not possible without doing some buffering on the target and the reading the data out in larger chunks at a less frequent interval. When I have done some tests on 28x trying to read/log variables in real-time to the host, the best I was able to do was ~100 Hz. There is some overhead in each read attempt hence better to read larger chunks less frequently.
Ok then do you mean that I need to put the value of variable on a buffer array at each 100Hz interval and work on those logged array then?
If so, how can I do that?
Ok then do you mean that I need to put the value of variable on a buffer array at each 100Hz interval and work on those logged array then?
Yes.
If so, how can I do that?
You would need to create this buffer array and do the copy to this buffer in your code.
Note that a another option might be to stream this data out via some peripherial (SPI?) instead of JTAG. But you would need something fast to keep up with your real-time requirements.
Thanks
ki