> > This is my first patch, so please let me know if I did > anything wrong. > The problem: for Cortex-M3 targets, the FPB unit (Flash Patch and > Breakpoint) was enabled only on reset event. If I connected > to already running code after it's been reset and tried to > set some breakpoints, OpenOCD would write into comparator > registers, but the FPB would stay disabled and breakpoints > didn't work. So I added a check in > cortex_m3_set_breakpoint() which enables FPB if necessary. >
Thanks, I need to double check a couple of things with this patch but generally it looks good. Cheers Spen _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development