Electronic – Saving data in Code Composer

datasoftwareti-ccstudio

I have a circular buffer in my code (TI 28027) saving around 500 data points. Is there a way to easily save this data to a text file in Code Composer 4? Right now I am just using watch window, stopping the code and using copy/paste but I need to manually scroll through the whole buffer first so it loads all the values.

Is there a way to do it through GEL scripts?

Does upgrading to CCS v5 help?

Best Answer

In CCS 5 (and probably in v4 too) you have a "Memory Browser" option under "View" menu. From that view you can save/load memory from your target, setting the start address, data-type and length of your data.
The output will be a binary file, but you can easily make a script to convert it to text (if needed)

This way you'll still need to pause the target. But you'll not need to scrool through the whole buffer.