Made wizard firmware install functional
This commit is contained in:
1 parent
d3af800217
commit
224dcfdef5
9 files changed
+3220
-22
No files matched your search
@@ -9,16 +9,13 @@ class IspBase():
|
||||
self.curExtAddr = -1
|
||||
self.chip = chipDB.getChipFromDB(self.getSignature())
|
||||
if self.chip == False:
|
||||
print "Chip with signature: " + str(self.getSignature()) + "not found"
|
||||
return False
|
||||
raise IspError("Chip with signature: " + str(self.getSignature()) + "not found")
|
||||
self.chipErase()
|
||||
|
||||
print "Flashing %i bytes" % len(flashData)
|
||||
self.writeFlash(flashData)
|
||||
print "Verifying %i bytes" % len(flashData)
|
||||
self.verifyFlash(flashData)
|
||||
|
||||
return True
|
||||
|
||||
#low level ISP commands
|
||||
def getSignature(self):
|
||||
|
||||
Reference in new issue
Block a user