chflasher icon indicating copy to clipboard operation
chflasher copied to clipboard

"Something wrong with the bin file" for < 256 bytes hex file

Open ghost opened this issue 5 years ago • 1 comments

@atc1441 your CH559 flasher worked great except I compiled Prasad's blink from here: https://kprasadvnsi.com/posts/bare-metal-ch559-pt1/ which is about 140 bytes hex file & the flasher at this line https://github.com/atc1441/chflasher/blob/e9021204c97a7a74d30004d8673369bc17a02a99/chflasher.py#L196 says < 256 bytes is "Something wrong with the bin file", but it still worked.

Is there actually a problem with hex files less than 256 bytes?

ghost avatar Sep 06 '20 22:09 ghost

Hey, no thats fine, i just never thought there would be a file to flash smaller than that but blink does not need much.

Will maybe fix the warning in a later version.

atc1441 avatar Sep 06 '20 22:09 atc1441