Debug only works after chip erase in ST-LINK utility
Update:
Erasing the chip before programming no longer works. I haven't changed anything as far as I can tell. It's failing both on my custom board and the STM32L073 Nucleo board.
I'm importing a fresh example project and debugging it on the STM32L073 nucleo board. That's working (for now).
This problem has been so inconsistent it's starting to drive me crazy.
Maybe there is something wrong with my STM32CubeMX settings?
Another unmodified project won't debug on the STM32L973RZ, but one will.
Works: \STM32Cube_FW_L0_V1.9.0\Projects\STM32L073RZ-Nucleo\Examples\RCC\RCC_LSIConfig\SW4STM32\STM32L073RZ_NUCLEO
Doesn't work: \STM32CubeExpansion_LRWAN_V1.1.0\Projects\Multi\Applications\LoRa\PingPong\SW4STM32\STM32L073RZ-Nucleo\sx1272mb2das
I'll keep at it to see if this is consistently true