-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Description
Hey. I tried use hex2bin function im my code then tried your script and all the time I get this error:
Traceback (most recent call last): File "hex2.py", line 139, in <module> sys.exit(hex2bin(fin, fout, start, end, size, pad)) File "/usr/local/lib/python3.4/dist-packages/intelhex/__init__.py", line 1001, in hex2bin h.tobinfile(fout, start, end) File "/usr/local/lib/python3.4/dist-packages/intelhex/__init__.py", line 412, in tobinfile fobj.write(self._tobinstr_really(start, end, pad, size)) TypeError: must be str, not bytes
Script I use as python3 hex2bin Blinky.hex
Metadata
Metadata
Assignees
Labels
No labels