Fixed another regression in the AVR8 target driver
Breakpoints were being cleared after the OCDEN fuse bit had been cleared.
This commit is contained in:
@@ -255,8 +255,6 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
|
||||
|
||||
void EdbgAvr8Interface::deactivate() {
|
||||
if (this->targetAttached) {
|
||||
this->clearAllBreakpoints();
|
||||
|
||||
if (
|
||||
this->session.targetConfig.physicalInterface == TargetPhysicalInterface::DEBUG_WIRE
|
||||
&& this->session.targetConfig.disableDebugWireOnDeactivate
|
||||
|
||||
@@ -236,6 +236,7 @@ namespace Targets::Microchip::Avr8
|
||||
}
|
||||
|
||||
this->stop();
|
||||
this->avr8DebugInterface->clearAllBreakpoints();
|
||||
|
||||
if (
|
||||
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG
|
||||
|
||||
Reference in New Issue
Block a user