Fixed hexprog.py to work with current firmware 'g' packet.
This commit is contained in:
parent
c17ad8f2ce
commit
b52c62266a
|
@ -163,7 +163,7 @@ class Target:
|
|||
data = unhexify(reply)
|
||||
except Excpetion:
|
||||
raise Exception('Invalid response to memory read packet: %r' % reply)
|
||||
return struct.unpack("=16L", data)
|
||||
return struct.unpack("=20L", data)
|
||||
|
||||
def write_regs(self, *regs):
|
||||
"""Write target core registers"""
|
||||
|
|
Loading…
Reference in New Issue