How do breakpoints even work? | Interrupt

Hi @chrisc

These days more and more embedded devices perform full firmware updates and so the practice is becoming less common. The art of flash patching deserves a post of its own so we won’t be digging deeper here.

Regarding the above statement, still lot of low cost MCUs still use it for patching the ROM code in Cortex M. There is no alternative for it. And few does not allow you to see the ROM symbols during debug because the MCU is using FPB unit for patching the buggy ROM functions by making the code point to flash code and jump back to ROM code.