[Solved] [A problem and solution for hardfault caused by uint64_t pointer access during Flash operation in STM32]

A problem and solution for hardfault caused by uint64_t pointer access during Flash operation in STM32 1. Description of the problem In a project using STM32G4, I encountered a problem because of the operation function of Flash: HAL_StatusTypeDef HAL_FLASH_Program(uint32_t TypeProgram, uint32_t Address, uint64_t Data); You need to use the uint64_t pointer to access the data […]