Connecting to a running Target (attach) with S32 Design Studio for S32 Platform 3.3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Connecting to a running Target (attach) with S32 Design Studio for S32 Platform 3.3

Connecting to a running Target (attach) with S32 Design Studio for S32 Platform 3.3

A typical debug session will begin by downloading code to Flash and then debugging from main() onwards. However, to explore an already running system a debug connection (attach) can be made to the target MCU without affecting the code execution (at least until the user chooses to halt the MCU!).

 

Note: Source level debug of a running target is only possible if the sources of the project to be attached exactly match the binary code running on the target.

 

Click the (Debug As) button on the toolbar, then click Debug Configurations from the drop-down menu.

Debug Configurations.png

In the left pane of the Debug Configurations dialog box, expand the debugging interface specified in the project settings and click the required launch configuration.

After you click the configuration in the left pane, the configuration settings appear in the right pane grouped in tabs.

Attach to Running Target PEMicro.png

PEmicro
Select the Startup tab, then set the ‘Attach to Running Target’ check box as below:
When a debug connection is made, the target will continue running until it is paused.

 

SEGGER J-Link
Select the Debugger tab, then set the ‘Connect to running target’ check box as below:
Unfortunately, this feature currently not supported.

Connect to running target J-Link.png

无评分
版本历史
最后更新:
‎11-16-2020 06:05 PM
更新人: