Made wizard firmware install functional

This commit is contained in:
daid committed 2012-03-06 17:48:56 +01:00
1 parent d3af800217
commit 224dcfdef5
9 files changed
+3220 -22

No files matched your search

+1 -4
View File
@@ -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):