summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libtoprammer/chips/microchip8/microchip8_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtoprammer/chips/microchip8/microchip8_common.py b/libtoprammer/chips/microchip8/microchip8_common.py
index f510328..b5bf172 100644
--- a/libtoprammer/chips/microchip8/microchip8_common.py
+++ b/libtoprammer/chips/microchip8/microchip8_common.py
@@ -91,6 +91,7 @@ class Chip_Microchip8_common(Chip):
def __erase(self, keepConfigWord=False, keepUserIDLocation=False, keepOSCCAL=False, keepEEPROM=False):
OSCCAL = 0xfff
+ self.exitPM()
self.enterPM()
if(keepOSCCAL):
self.progressMeterInit("Reading OSCCAL)", 0)
bues.ch cgit interface