Fixed bug with some debug tools (PICkit4 and Snap) losing control of the target after disabling programming mdoe
This commit is contained in:
@@ -789,6 +789,14 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
|
||||
}
|
||||
|
||||
this->programmingModeEnabled = false;
|
||||
|
||||
if (this->configVariant == Avr8ConfigVariant::MEGAJTAG) {
|
||||
this->deactivatePhysical();
|
||||
this->setTargetParameters(this->targetParameters);
|
||||
this->targetAttached = false;
|
||||
this->activate();
|
||||
this->stop();
|
||||
}
|
||||
}
|
||||
|
||||
std::map<Family, std::map<PhysicalInterface, Avr8ConfigVariant>>
|
||||
|
||||
Reference in New Issue
Block a user