Code Composer Studio V4 中变量观察的设置方法
在Code Composer Studio V4中,如果想在DSP运行的时候刷新变量值,需要设置一下DEBUG参数,默认情况下是CCS4是不允许刷新的
在DEBUG模式下,选择ToolsDEBUG
在Target中的Realtime options中选择第一项或者第二项
下面是help里的说明,与界面中的选项略有不同,但是可以参考
Realtime Options
http://www.motordrivers.com.cn 专注于电机控制
• 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.
http://www.motordrivers.com.cn 专注于电机控制
在变量观察窗口中最右角点击下拉按钮选择 Customize Continuous Refresh Interval…来设置刷新时间间隔,默认是5 秒。
在中间的图标中选择 Continuous Refresh 按钮来实现连续刷新
http://www.motordrivers.com.cn 专注于电机控制
因篇幅问题不能全部显示,请点此查看更多更全内容