CCS V4 中变量观察的设置方法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Code Composer Studio V4中变量观察的设置方法
在Code Composer Studio V4中,如果想在DSP运行的时候刷新变量值,需要设置一下DEBUG 参数,默认情况下是CCS4是不允许刷新的
在DEBUG模式下,选择Tools DEBUG
在Target中的Realtime options中选择第一项或者第二项
下面是help里的说明,与界面中的选项略有不同,但是可以参考
Realtime Options
∙Halt the target before any debugger access:
When the target is running and debugger requires access to the target (e.g. user clicks on
refresh button of a view while the target is running), the target will halt for a very brief moment to retrieve the requested data before it continues running again. During this time, time-critical interrupts will be ignored. This option is disabled by default.
∙Enable silicon real-time mode (service critical interrupts when halted, allow debugger accesses while running):
This option is supported on only a selected number of emulators. When enabled, debugger
accesses will be allowed while the target is running. Time-critical interrupts are still serviced
when the target is halted. This option is disabled by default.
Enable polite real-time mode:
This option will only be visible when silicon real-time mode is selected. When enabled, CCS will prevent the target from being halted while the application is servicing a time-critical interrupt.
If a debugger access requires the target to be halted when servicing a time-critical interrupt, the user will be asked whether Rude Real-Time mode should be enabled. In Rude Real-Time mode, the user regains control of the target while time-critical interrupts are ignored.
在变量观察窗口中最右角点击下拉按钮选择Customize Continuous Refresh Interval…来设置刷新时间间隔,默认是5 秒。
在中间的图标中选择Continuous Refresh 按钮来实现连续刷新