How to  set a software breakpoint with using CCSAPI?

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

How to  set a software breakpoint with using CCSAPI?

636 次查看
okey
Contributor I

Hi,I found ccs_set_hwbp(ccs_core_handle coreh, unsigned long bp_info_size, void *bp_info, unsigned long reservation_id, unsigned long *bp_id) in ccsapi.h, but How to set a software BreakPoint or a hardware BreakPoint use the function?

标签 (1)
0 项奖励
回复
1 回复

439 次查看
TICS_Fiona
NXP Employee
NXP Employee

Hello okey

The function ccs_set_hwbp() can only set a hardware breakpoint.  

coreh is the core handle of the core to set the breakpoint on.

bp_info_size is the size passed through bp_info.

bp_info is a pointer to the breakpoint info structure.  This is device dependent, so passed as a void *.

reservation_id is used for hardware resource reservation. Set this to 0 for automatic reservation.

bp_id is the id of the breakpoint created.

For details, please see the API description in “hwbp_hwtwp_ccsapi.txt”

Best Regards

Fiona Kuang

TIC - Technical Information Center

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Mark Correct button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复