cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H563RGT6 flash HW bug even with BL=0xE5?

Dimlite
Associate III

I've noticed some strange behavior when doing sector erase on this device.

I erase sector 0..63 on bank 2 and write my data. I can confirm that this operation is correct by reading the flash starting on 0x08080000 using stm32cubeprogrammer.

As a verification step, I read the very same address in my program and calculates a CRC, but now it seems like the reading takes place in bank 1.

Everything works fine when doing a full bank erase, but not when doing sector erase.

I am forced to use sector erase as I want to preserve the high-cycle flash which contains data that should be retained.

Bank swapping is not enabled.

 

Reading the ES0565 rev 5 errata, section 2.2.22, I notice that there has been errors in this field, but my device has BL = 0xE5, and should not be affected.

1 REPLY 1
Sarra.S
ST Employee

Hello @Dimlite,which stm32cubeprogrammer version are you running when this problem occurs?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.