Resolved! HAL_FLASH_Program trigger error 0x40 (FLASH_FLAG_SIZERR)
STM32G473CCT uses the HAL library for writing flash pages.i have constructed some code to use the last FLASH page as NV memory.bool eeprom_write8(uint16_t address, uint8_t data) { return eeprom_write(address, &data, 1); } bool eeprom_write(uint16_...