fix(efuse): erase virtual blocks before burn in damaged-reading test

Some chip may have BLOCK3 in use so we need to erase it before test.
This commit is contained in:
Konstantin Kondrashov
2026-06-16 12:49:08 +03:00
parent a4a5c0af59
commit 1cbe85a666
+1 -1
View File
@@ -737,7 +737,7 @@ static void efuse_burn_task(void* arg)
ESP_LOGI(TAG, "Start burn task");
size_t test3_len_6 = 2;
while (!cmd_stop_reset_task1) {
esp_efuse_utility_update_virt_blocks();
esp_efuse_utility_erase_virt_blocks();
esp_efuse_utility_reset();
TEST_ESP_OK(esp_efuse_write_field_cnt(ESP_EFUSE_TEST3_LEN_6, test3_len_6));
}