I am trying to get DSS working with CCS 5.3 using an MSP430F2618.
The code I am using is the quicksort example code that ships with CCS, though I modified the config so that it works with the F2618. This code compiles and runs normally by itself, and I'm able to load the binary on a target (I'm using an Olimex dev board with an F2618) and it runs as expected. At least that part works!
To start, I copied Quicksort.js from ccs_base\scripting\examples\DebugServerExamples into my quicksort project directory. I modified the server.setConfig line (line 17) to point to my config file. Then I opened up a scripting console and ran loadJSfile on Quicksort.js. The script runs, and it seems to halfway start a debug server, but it hangs, and I don't see a way of aborting it without completely exiting CCS and restarting.
Next I tried using the Rhino debugger to try and step through this script to see where it's getting hung up. I opened up a Windows command prompt, changed the directory to my project directory, and then I ran "dss -dss.debug Quicksort.js". When I try stepping through the script with either "step over" or "step into", when I try to step over the server.openSession() line, Rhino simply exits without an error.
I could use some help on what to do next. How can I debug this script and figure out what is making the launch of the debug server hang if the javascript debugger crashes when I try to step over the line that opens the debug server?
Much appreciated,
M