STM32H743 Flash EraseSector Reset Problem
Hello everyone,
I am working with an STM32H743VIT6V processor and attempting to erase sector 7 of the flash memory using the following parameters:
FLASH_EraseInitTypeDef EraseParams;
EraseParams.TypeErase = FLASH_TYPEERASE_SECTORS;
EraseParams.Banks = FLASH_BANK_1;
EraseParams.Sector = FLASH_SECTOR_7;
EraseParams.NbSectors = 1;
EraseParams.VoltageRange = FLASH_VOLTAGE_RANGE_3;
I have tested and confirmed that these parameters work properly on other processors with the same part number. However, on a new processor I received with the same part number, I noticed that calling the EraseSector function causes a reset. After investigating the issue, I found that on this problematic processor, the VoltageRange parameter only works with the value FLASH_VOLTAGE_RANGE_4. Other values cause the reset. Additionally, I observed that on processors where FLASH_VOLTAGE_RANGE_3 works correctly, using FLASH_VOLTAGE_RANGE_2 leads to the same issue.
Is it correct to use FLASH_VOLTAGE_RANGE_4 for the STM32H743VIT6V processors that I will be working with?
