2020-03-02 01:29 AM
Note:The hardware is still functional, I made sure of it.
2020-03-02 02:01 AM
Can you connect to the target e.g. in STLink Utility?
JW
2020-03-02 02:11 AM
Hello Jan,
Thanks for your feedback.
I could connect to the target via ST Link:
11:09:56 : Connected via SWD.
11:09:56 : SWD Frequency = 4,0 MHz.
11:09:56 : Connection mode : Connect Under Reset.
11:09:56 : Debug in Low Power mode enabled
PF
2020-03-02 02:24 AM
Most people here are not ST staff.
> I could connect to the target via ST Link:
And what are the error messages when you try to flash ?
2020-03-03 06:08 AM
Hello,
The problem came from specific backup registers that needed to be reset.
You can find below the SW excerpt related to the needed action:
HAL_Init();
HAL_DBGMCU_EnableDBGStandbyMode();
__HAL_RCC_BACKUPRESET_FORCE();
__HAL_RCC_BACKUPRESET_RELEASE();
Thank you all for your help,
PF
2020-03-03 06:25 AM
Strap the BOOT0 pin HIGH, connect, do a mass erase, and set option bytes to defaults.