Disabling use of the masked memory read command in the EDBG driver, by default

This commit is contained in:
Nav
2022-01-22 16:15:16 +00:00
parent 9ebd2b9d57
commit 20155ee8ff
6 changed files with 4 additions and 26 deletions

View File

@@ -31,15 +31,6 @@ void MplabPickit4::init() {
this->edbgAvr8Interface = std::make_unique<EdbgAvr8Interface>(this->edbgInterface);
/*
* Like the MPLAB Snap, the PICkit 4 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.
*
* 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);
}