Here is an excerpt for setting the response from ccs (a secure debug violation is caught if challenge / response mechanism is not used):
delete all
config cc cwtap
ccs::config_chain {ls1043a dap sap2}
Secure debug violation
user must first read the DCV value
#from ccs
display ccs::read_reg 0 sdcr 1 8
sdcr=0x89ABCDEF 01234567
write the response value DRV
#from ccs
ccs::write_reg 0 sdrr 8 {0x22222222 0x11111111} ccs::config_chain {ls1043a dap sap2} display ::ccs::get_config_chain