New STM32L431KC does not program or run unless mass erase is performed first.
When first programming a New STM32L431KC, it does not program or run unless mass erase is performed first.
I use IAR and STLINK/V2
From IAR, I try:
a) Download program - uC does not run, even after reset
b) Start debugging session - Does not execute code. Gets stuck "hang" on HAL_Delay(xx) statement.
When I use STM32MXProgrammer and ERASE all flash, then the programming works, and I can download from IAR.
Any help appreciated.
