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 a way to increase CIO polling rate?

Other Parts Discussed in Thread: MSP430F5438A

 

hardware/software: MSP430F5438A, USB JTAG, 64-bit Windows, CCSv4, loadti DSS interface

I've just discovered Debug Server Scripting and want to use it for automated testing. The CIO update rate, as judged by printf()'s or creating files, seems to be about 1 Hz. Is there a way to increase the polling rate? I ran across GEL_SetStatusInterval() but using that in main.js (which loadti calls) has no effect (though that GEL string is in DebugServer.dll). There's also a DEBUG_SetIdleInterval string in DebugServer.dll, but is probably inaccessible thus unchangeable.

Or can I force a CIO poll with another command? Or should I do my own memory polling if I want lower latency?

Thanks,

Dan

P.S. I have also just struggled with getting DSS to work with 64-bit matlab. Others have been successful with 32-bit matlab while at least one person has failed with 64-bit. My conclusion thus far is that it's a non-starter. Though java byte code is theoretically less architecture dependent, once it tries to load a 32-bit DLL there is a clash with the 64-bit matlab process. A 64-bit version of the DSS files is needed. As a workaround you can install both 32-bit and 64-bit matlab and use the same license.

 

  • Dan,

    You have found the way to adjust it but for MSP430 our software stack is a little different than for the other devices and there is actually another polling loop lower down and unfortunately setting the Status Interval doesn't impact it.  We poll as fast as possible for the first 5 seconds and then once a second after that.  MSP is different in that there is another thread that is doing the actual polling below so changing the rate of the debugger has no impact.

    Regards,

    John