This commit is contained in:
Nav
2021-05-02 15:54:32 +01:00
parent 40b681ddde
commit 74457f66cd

View File

@@ -35,6 +35,7 @@
using namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr;
using namespace Bloom::Exceptions;
using Bloom::Targets::TargetState;
using Bloom::Targets::TargetRegister;
using Bloom::Targets::TargetRegisters;
@@ -347,6 +348,7 @@ void EdbgAvr8Interface::activatePhysical(bool applyExternalReset) {
// Try again with external reset applied
Logger::debug("Failed to activate physical interface on AVR8 target - retrying with external reset applied.");
return this->activatePhysical(true);
} else {
throw Exception("Activate physical interface command failed");
}