How to  set a software breakpoint with using CCSAPI?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to  set a software breakpoint with using CCSAPI?

474 Views
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?

Labels (1)
0 Kudos
1 Reply

277 Views
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 Kudos