dump parsing: refuse to continue on incomplete D23 dumps
We should try harder to handle incomplete D21/D23 dumps in the future, but until D21 handled too, bail in D23 as well.
This commit is contained in:
parent
500515eb0a
commit
11a6ac2f4f
@ -137,9 +137,10 @@ def decode_dump(path):
|
||||
# check if the dump is complete
|
||||
if len(ranges) != 1 or ranges[0][0] != 0 or \
|
||||
ranges[0][1] != avr.SRAM_START + avr.SRAM_SIZE:
|
||||
print('warning: incomplete D23 dump', file=sys.stderr)
|
||||
else:
|
||||
regs = True
|
||||
print('error: incomplete D23 dump', file=sys.stderr)
|
||||
return None
|
||||
|
||||
regs = True
|
||||
if reason is None:
|
||||
print('warning: no error line in D23', file=sys.stderr)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user