cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G4 Flash Errata: Have workarounds been implemented in CubeMX FW and X-CUBE-EEPROM package?

Anguel
Senior

Hi,

Looking at the STM32G4 Errata:

https://www.st.com/resource/en/errata_sheet/dm00500968-stm32g471xx473xx474xx483xx484xx-device-errata-stmicroelectronics.pdf

I see two issues regarding internal flash:

2.2.2 Data cache might be corrupted during Flash memory read-while-write operation

2.2.3 FLASH_ECCR corrupted upon reset or power-down occurring during Flash memory program or erase operation

Now I wonder if the workarounds have been somehow implemented into the CubeMX FW HAL and the X-CUBE-EEPROM package as these are directly affected by the bugs listed above. I looked through the code and release notes but could not find any hints.

Thanks in advance,

Anguel

1 REPLY 1
Igor Cesko
ST Employee

Hi Anguel (Community Member),

The first errata:

2.2.2 Data cache might be corrupted during Flash memory read-while-write operation

is implemented inside the STM32Cube - disabled data cache in erase operation (see the function "HAL_FLASHEx_Erase").

Regards

Igor