Hello,I am using STM32G070CBT6 Controller. I am trying to write and read in 63rd page of flash memory . HAL_FLASH_Unlock(); __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR); FLASH_PageErase(63); HAL_St...
Yes. This is working. But if i try first erasing page and writing flash it does not work.flash_page_erase(62);flash_write(0x0801F060, 0x66AA);Please help.
I checked the memory contents in debug mode but at address 0x0801F800 nothing has updated. . HAL_FLASH_Unlock(); // Unlock Flash to write __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLA...