Disabled use of masked memory read command for the MPLAB Snap
This commit is contained in:
@@ -30,6 +30,16 @@ void MplabSnap::init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
|
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The MPLAB Snap doesn't seem to operate correctly when actioning the masked memory read command. The data
|
||||||
|
* returned in response to the command appears to be completely incorrect. It may be a bug in the firmware.
|
||||||
|
*
|
||||||
|
* For the above reason, we avoid using the masked memory read command by implementing the masking on our end.
|
||||||
|
* See the EdbgAvr8Interface class for more.
|
||||||
|
*/
|
||||||
|
this->edbgAvr8Interface->setAvoidMaskedMemoryRead(true);
|
||||||
|
|
||||||
this->setInitialised(true);
|
this->setInitialised(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user