cancel
Showing results for 
Search instead for 
Did you mean: 

Does anyone have issues with HAL_FLASH_Program(...) on STM32F767ZI ?

Joerg Wagner
Senior III

I save config data (40 bytes total) in a dedicated flash sector (in my case sector 3)

with the application running on the board. Before I write the sector is erased.

I write several words with multiple calls of HAL_FLASH_Program(FLASH_TYPEPROGRAM_HALFWORD, adr, word);

Every data byte is written correct except at position 2 and 3.

Byte number 2 and 3 are 0x00 all the time.

There is no error returned.

Unfortunately the device is at a customer, working in production.

But I'm able to write new firmware via Ethernet IAP to do some tests.

Does anyone have the same issue data written is not the same as read?

Thank you

Joerg

0 REPLIES 0