Hello,
Firstly as background, I am using CCSv4.0.1.01001 with an MSP430F249 and attempting to test the project SW via DSS scripting in javascript. With this particular processor (as seen in Table 1 of SLAA393A) trace and DMA functionalities are not available. Further (as confirmed via asktexas@ti.com) due to a database issue in CCSv4, it is not currently possible to create data watchpoints manually via the IDE.
As trace is not available to me, I would ideally like to try to use file I/O with nonintrusive breakpoints (data watchpoints?) via DSS scripting.
So, my questions are:
1. Can I create data watchpoints via DSS and if so how? As I can't see the data watchpoint properties menus, I can't easily ascertain the modifiable breakpoint properties using only the API as a reference.
2. In fact, the API tells me the methods available for class objects though no real description apart from their names and no details concerning the actual elements or the values they can take. A good example is that I know for BreakpointProperty objects, I can call setString() to modify a particular property to a particular property however I do not know what the list of modifiable properties is and what range of values is acceptable. Is there a more complete reference around than the API? There are a few code snippet examples around like http://processors.wiki.ti.com/index.php/Breakpoint, however nothing showing the full range of capabilities of DSS.
3. I can see from the CCS Help documentation for Built-In GEL Functions that it is possible to set conditions for breakpoints however there isn't very much detail except to say that it must be an expression surrounded by quotation marks. Is there any more detailed information here? If nothing else, I would specifically like to know how with such expressions it might be possible to cause a data breakpoint on any change to the data (read, write or either). If this is therefore not possible with GEL then hopefully there is an answer to my question #2 above so that I can figure out how to modify my data breakpoint correctly to this effect!
4. Finally, I see that it is possible with the Built-In GEL Functions to associate input or output files "for use" with breakpoints at a specified address (e.g. GEL_AddInputFile, GEL_AddOutputFile). What I can't see is any other functions related to interaction between the breakpoint and the file. Is there anywhere to obtain more information on this functionality? I ask mainly because if the response to question #3 above is positive, I could perhaps record to file all the values , giving me the equivalent of a trace analysis (please correct me if I'm wrong!).
Current reference sources:
GEL Documentation (CCS Help)
DSS API (file:///${CCE_INSTALL_ROOT}/scripting/docs/DS_API/index.html)
Debug Server Scripting Wiki
Scripting Console Wiki
Java Scripting with DSS Wiki
Debugging your DSS Script using CSS Wiki
Breakpoint Wiki
Advanced Event Triggering Wiki
Advanced Debugging Using the Enhanced Emulation Module (EEM) with Code Composer Studio Version 4 (TI Literature Number: SLAA393A)
Code Composer Studio v4.2 User's Guide for MSP430 (TI Literature Number: SLAU157Q)
Debug Server Scripting Examples (${CCE_INSTALL_ROOT}/scripting/examples/DebugServerExamples/)
I hope my queries are clear. Many thanks in advance for any further, more detail information/references that you can provide!
Joshua