How to  set a software breakpoint with using CCSAPI?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to  set a software breakpoint with using CCSAPI?

476件の閲覧回数
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 返信

279件の閲覧回数
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 件の賞賛