This is still an issue.I spent 2 hours trying to get a "blink led" working on an STM32G0 due to this.The default behaviour shouldn't wind up with "HAL_Delay" causing a jump to random program space and a locked up MCU. Needing to find this thread then...