• WRPERR when set breakpoints

    The scenario is STM32L0 (ST Nucleo evaluation board) and custom firmware.

    When I execute the code in debug mode and it stops at main function, the value of FLASH->SR is 0x0000000C, and it looks good for me.
    Now, without running the code, if I simply…