Disabled use of masked memory read command for the MPLAB Snap

This commit is contained in:
Nav
2021-10-04 21:32:01 +01:00
parent be34025af1
commit 931b0b430c

View File

@@ -30,6 +30,16 @@ void MplabSnap::init() {
}
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);
}