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?
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!
-----------------------------------------------------------------------------------------------------------------------