View Single Post
Old 17th Oct 2020, 8:51 pm   #25
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 11,583
Default Re: MK14 programming interface - Arduino version

A new revision (V1.2) of the PC-side MK14 uploader script send14.py (for_Arduino version). This fixes the problem described in #15 of this thread where if the autorun feature of the uploader was used, it had the unwanted side effect of writing the execution address into addresses 0FFE and 0FFF. Writing anything into address 0FFF using keypad entry (...as the uploader does) caused the states of the hardware flag outputs to be changed as well. Bad news if you happened to be controlling something with them.

It wasn't just a one-line change or line swap this time so unfortunately this new version of the script has to replace the older version. Any edits you may have made to your previous version such as the 'MK14_OS=' setting or alterations to the keypress / key release times will need to be transplanted into this version. If running under Linux you may have to make the script executable by your user, as you would have with earlier versions.

As before I have bundled the revised send14.py script for Arduino in a .zip file along with DA52's companion Arduino sketch (unchanged) and the moonland.hex file as a 'starter kit' so you don't have to run back through previous posts looking for the other bits.

I will post a V1.2 of the script for the Pi version of the uploader in that version's thread in due course.
Attached Files
File Type: zip send14_for_arduino.zip (6.4 KB, 72 views)
SiriusHardware is online now