HAL_FLASHEx_Erase and HAL_FLASH_Program both return HAL_ERROR but erase and write are done.
These problems are probably related. I'm running STM32G473 at 160 MHz. I'm attempting to erase one page followed by 34 double-word writes to the same page. The code and the target are both in bank 1, but the problem occurs if I move the target to ...