Corrected bug in EDBG driver memory access routines. It was incorrectly using the FUSES memory type when in debug mode (that memory type isn't available in debug mode, only program mode. Was causing a target reset).
This commit is contained in:
@@ -22,6 +22,7 @@ namespace DebugToolDrivers::Microchip::Protocols::Edbg::Avr
|
||||
, ramMemorySegment(this->targetDescriptionFile.getRamMemorySegment())
|
||||
, eepromMemorySegment(this->targetDescriptionFile.getEepromMemorySegment())
|
||||
, ioMemorySegment(this->targetDescriptionFile.getIoMemorySegment())
|
||||
, fuseMemorySegment(this->targetDescriptionFile.getFuseMemorySegment())
|
||||
, signatureMemorySegment(this->targetDescriptionFile.getSignatureMemorySegment())
|
||||
, programAppSection(this->programMemorySegment.tryGetSection("app_section"))
|
||||
, programBootSection(this->programMemorySegment.tryGetSection("boot_section"))
|
||||
|
||||
Reference in New Issue
Block a user