By default e2studio is set to use Hardware break points. On the Cortex M4 there are only 6 HW breakpoint available in the FPB unit (and the HW break points can only be set in the first 0.5GB of the address range), if you set more than 6 break points e2studio doesn't fallback to use SW break points, and no error is reported. However, if you set the default breakpoint type to software, then the underlying segger driver will try to use the HW break points first if possible, and then, if it is not possible to use the HW break points (because all the HW break points are used, or the address is outside the 0.5GB), the it will use SW break points. To use SW break points by default, when debugging, right click in the area where the address of the code is shown, and click on "use software break points by default" ( something like that, I can't remember the exact wording), then break points should work when more than 6 are set, or if break points are set outside the first 0.5GB
↧