python-intelhex / intelhex

Python IntelHex library
BSD 3-Clause "New" or "Revised" License
201 stars 107 forks source link

The binary limitation of bin2hex is 4Kbytes. #39

Closed lu-ym closed 4 years ago

lu-ym commented 4 years ago

Any binary file over 4K will only be transforms the first 4Kbytes. The rest are discard.

lu-ym commented 4 years ago

I think this may be introduced by windows system buffer. Is there any solution or workaround now?

bialix commented 4 years ago

There is no internal limitations in IntelHex library. Can you provide more info and example file? Your OS version, Python version, IntelHex library version. Example of input and output file, how do you check result?

lu-ym commented 4 years ago

Sorry, my bad. It is a usage error. I transform a binary to hex while it is still opened by another program.