Hi,I'm using DFSDM on NUCLEO-L476RG, the DFSDM configured as follows:static void MX_DFSDM1_Init(void)
{
/* USER CODE BEGIN DFSDM1_Init 0 */
/* USER CODE END DFSDM1_Init 0 */
/* USER CODE BEGIN DFSDM1_Init 1 */
/* USER CODE END DFSDM1_...
Thanks for your answer, I've tried it and it doesn't enter HardFault anymore.Now, Flash erase returns HAL_ERROR, When debugging it line by line, seems the error comes from FLASH_WaitForLastOperation with error code 0x00000080 which seems is FLASH_SR_...