Unable to program the flash memory
Hi ST Support Team,
I am using the stm32f103rct6 mcu in my custom board. I am using the inbuild flash API's to write data into the flash memory.
I have checked the erase api is working properly, I am able to see the 0xff at all locations without any issue.
But when i try to write at any specific flash address, the "status= HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD,addr, (uint64_t)dataBuf[i]);"
. The function completes properly without error but dosen't write the data at that location and returning the 0xFF.
I have attached my project, please check and let me know if i am doing anything wrong.
Thank you in advance.
Best Regards,
Aadesh
