Added warning when RE EEPROM data being lost when preserveEeprom is disabled
This commit is contained in:
@@ -366,6 +366,11 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
|
|||||||
if (this->targetConfig.preserveEeprom) {
|
if (this->targetConfig.preserveEeprom) {
|
||||||
Logger::debug("Inspecting EESAVE fuse bit");
|
Logger::debug("Inspecting EESAVE fuse bit");
|
||||||
this->activeProgrammingSession->managingEesaveFuseBit = this->updateEesaveFuseBit(true);
|
this->activeProgrammingSession->managingEesaveFuseBit = this->updateEesaveFuseBit(true);
|
||||||
|
|
||||||
|
} else {
|
||||||
|
Logger::warning(
|
||||||
|
"Performing chip-erase with preserveEeprom disabled. All EEPROM data will be lost!"
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return this->avr8DebugInterface->eraseChip();
|
return this->avr8DebugInterface->eraseChip();
|
||||||
|
|||||||
Reference in New Issue
Block a user