Fixed another regression in AVR8 target driver
Program flow control was being attempted before OCDEN fuse bit management
This commit is contained in:
@@ -196,9 +196,6 @@ namespace Targets::Microchip::Avr8
|
|||||||
this->avr8DebugInterface->activate();
|
this->avr8DebugInterface->activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
this->stop();
|
|
||||||
this->reset();
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG
|
this->targetConfig.physicalInterface == TargetPhysicalInterface::JTAG
|
||||||
&& this->targetConfig.manageOcdenFuseBit
|
&& this->targetConfig.manageOcdenFuseBit
|
||||||
@@ -207,6 +204,9 @@ namespace Targets::Microchip::Avr8
|
|||||||
this->updateOcdenFuseBit(true);
|
this->updateOcdenFuseBit(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this->stop();
|
||||||
|
this->reset();
|
||||||
|
|
||||||
this->activated = true;
|
this->activated = true;
|
||||||
|
|
||||||
if (this->targetConfig.signatureVerification) {
|
if (this->targetConfig.signatureVerification) {
|
||||||
|
|||||||
Reference in New Issue
Block a user