View Single Post
Old 7th Aug 2020, 12:42 am   #11
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,588
Default Re: MK14 programming interface - Arduino version

I've just discovered a pretty bad bug in the send14 script - when attempting to load an Intel Hex line which happens to have a checksum byte with the value of '00', the uploader will fail to load it claiming (incorrectly) that the line checksum is bad.

I'll post a fixed version of the Arduino version script here and the Pi version in the currently closed Pi-uploader thread if I can get it re-opened, but in the meantime here is the bug - (image # 1) - the two lines indicated are in the wrong order. Swap them around as per image #2 and save the modified script, that will fix the problem.

Astonishing that this problem has not come to light long before now, sorry about that.
Attached Thumbnails
Click image for larger version

Name:	send14_checksum_bug.jpg
Views:	87
Size:	52.2 KB
ID:	212884   Click image for larger version

Name:	send14_checksum_bug_fixed.jpg
Views:	75
Size:	41.6 KB
ID:	212885  
SiriusHardware is online now