Hi I am trying to debug a ROM code on M0+. Even though the core supports 4 hardware breakpoints (BPUCOTNROL REG 0xE0002000 => 0x40) I am not able to set any break point.
Attempt to set any breakpoint and RUN results in the following message from Keil. "This target device does not support all the defined breakpoints! Please reduce the number of breakpoints and start again"
Is there any setting that needs to be changed in Keil, to instruct it to use hardware breakpoint?
regards Vichu
Hello Vichu,
What specific device are you using?
Does the Breakpoints Window show any breakpoints? http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_breakpnts.htm In debug mode, go to Debug => Breakpoints.
Has the program enabled the memory area where the code is supposed to be stored, before trying to use a breakpoint at that address?
Thanks, Zack