cancel
Showing results for 
Search instead for 
Did you mean: 

I have trouble writing to flash using HAL_FLASH_Program in case of FLASH_TYPEPROGRAM_DOUBLEWORD option.

bassem.saleh93
Associate II

I have the code working fine with the 1byte, 2bytes and 4bytes programming, reading and writing. But when I use the 8Bytes (double - word), It is always trapped in a hard fault handler. Any help?

1 REPLY 1
berendi
Principal

Which MCU is that? Does its reference manual (flash program operations chapter) say something about the specific requirements for 64 bit programming operation?