This commit is contained in:
Nav
2023-03-05 23:29:26 +00:00
parent 75cbb5cf67
commit 755d24da5c
2 changed files with 5 additions and 3 deletions

View File

@@ -612,7 +612,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
const std::set<Targets::TargetMemoryAddressRange>& excludedAddressRanges
) {
if (this->programmingModeEnabled && memoryType == TargetMemoryType::RAM) {
throw Exception("Cannot access RAM or EEPROM when programming mode is enabled");
throw Exception("Cannot access RAM when programming mode is enabled");
}
auto avr8MemoryType = Avr8MemoryType::SRAM;