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.
Greetings,
Is there a way that would make CCSv4 to assume real-time mode as the default for any debug sessions (with targets that support real-time mode)?
I mean, is there a configuration file that could be modified, so that real-time mode would be assumed without having to go via the Target->Debug dialog, or click any buttons in CCS?
Thanks,
-Matti
Matti,
There are some issues related to enabling the real time mode before loading code to the target. Please check the forum post below:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/51390/181758.aspx#181758
Cheers,
Rafael
Hi Rafael,
Unfortunately that link had nothing to do with my question. Maybe I placed it badly, let me re-phrase. This is what I want to do:
1. Install CCSv4 (or CCSv5).
2. Install a patch over CCS that modifies some configuration file so that real-time mode becomes the default.
3. Open CCS, create a target configuration, launch it, connect to target --> now target is connected in real-time mode.
Is there a way to do this?
-Matti
Matti,
Select Window->Preferences. In the dialog that appears, expand CCS->Debug->Debugger Options and then select Generic. These are the global options that form the defaults for a launch. Scroll down to "Realtime Options" and select "Service critical interrupts when halted" to have realtime on by default.
The above changes the default option for your current workspace only. If you want the default changed for any workspace created/used on that install, you can manually edit the PropertiesDB.xml file located at <install>/ccsv4/DebugServer/propertyDB (or at <install>/ccs_base_<version>/DebugServer/propertyDB if using CCS v5). Simply search for the name of the option ("Service critical interrupts when halted") and modify the default value from 0 to 1. Please be careful if you edit this file - since it's not something we intended end users to touch, I don't believe the error handling is very good if you make a mistake. Also, please be aware that if you update CCS the file will likely be overwritten too.
Darian
Darian,
Reopening that thread! I just couldn't find this option for the workspace only (windows-> prefs ...) in CCS 5.2.1.00018.
Is there any way to do it in this version?
Thank you!