2022-08-12 01:07 AM
uint64_t write = 0x1111111122222222;
HAL_FLASH_Unlock();
if(HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD,0x0807F000,write)==HAL_OK)
{
HAL_GPIO_WritePin(GPIOG,GPIO_PIN_12,GPIO_PIN_RESET);
}
HAL_FLASH_Lock();
Solved! Go to Solution.
2022-08-12 02:39 AM
It is not entirely clear what exactly your question to answer is. In general, however, it can be said that a number of things must be taken into account when writing values to the Flash:
Does it answer your question?
Regards
/Peter
2022-08-12 02:39 AM
It is not entirely clear what exactly your question to answer is. In general, however, it can be said that a number of things must be taken into account when writing values to the Flash:
Does it answer your question?
Regards
/Peter
2022-08-12 02:52 AM
yes
2022-08-12 02:54 AM
Great!
If the problem is resolved, please mark this thread as answered by selecting Select as best. This will help other users find that answer faster.
Regards
/Peter