Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bug with reading to file.

  • Loading branch information...
commit eca6b5a43a6898c798d36dbdbdaf84ffbb587e34 1 parent 4c2556c
@jsnyder authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  stm32loader.py
View
2  stm32loader.py
@@ -423,7 +423,7 @@ def usage():
if not conf['write'] and conf['read']:
rdata = cmd.readMemory(conf['address'], conf['len'])
- file(args[0], 'wb').write(rdata)
+ file(args[0], 'wb').write(''.join(map(chr,rdata)))
# cmd.cmdGo(addr + 0x04)
finally:
Please sign in to comment.
Something went wrong with that request. Please try again.