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.
I have taken the example file (Breakpoints.js) provided by TI . I am giving it as input from my scripting console. Say, for example, my js has a statement similar to one below:
nPC = debugSession.expression.evaluate("PC")
Now my quesiton is, how to write the value of "nPC" into a ".res" ( or any .txt file - basically some result file) file. Also guide me on how to create the .res file, using js.
Thanks for your reply in advance,
var fso = new FileSystem();
var myFile = fso.fileWriterOpen("C:\\Temp\\myFolder\\file.txt", false);
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCS problems? Check out the CCS Troubleshooting Guide
Looking for CCS Training/Documentation? Check out the CCS Resources page
Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal
NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Ki:
Thanks for the reply.
Could you please attach the include file?
Thanks in advance.
In reply to sugam sudheer:
I think that was an internal url. Sorry about that. I attached the file here (renamed as txt)
Thanks a lot Ki. That worked.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.