Hello Savan,I suggest beginning with the FLASH_EraseProgram example found in the STM32 Cube Firmware package at "STM32Cube_FW_G4_Vxxx\Projects\NUCLEO-G474RE\Examples\FLASH". This example outlines the correct procedures for erasing and writing to the ...