Hello support,
my goal is to detect the stack overflow condition using ERAD.
I have read the examples and they are quite clear, but I need some more info about the ERAD resources sharing between CPU and Debug System.
TRM states at par. 11.4:
"The last option is to have no owner. In this mode, both the application
code and the debugger have the capabillity to access the module at the same time. It is critical for the software,
both on the application side and the debugger side, to resolve any conflicts. In this mode, it is possible for the
debugger to use some of the EBC units and the SEC units, while the application software uses the remaining
units."
I know that part 280049 supports 8 BPs.
Under precondition that GLOBAL OWNER = No Owner,
Question 1: if I use ERAD BP1 for stack OVF detection, can the debugger use the 7 remaining for HW BP ?
Question 2: in case answer to Q1 is yes, if I set a HW BP in CCS how can I be sure that CCS does not attempt to use really BP1 ?
Question 3: when I set an HW BP "right clicking" in the Breakpoint tab of CCS, does CCS modify the GLOBAL OWNER setting ?