Does the '.all-post' target in the Makefile help? I haven't had a need to do something after everything is done, but if it is possible, it would seem like .all-post is the way to do it. --McD On Tue, 2018-05-29 at 17:43 -0400, speff@interlog.com wrote: > Hi, >=20 > Is there a way to get MPLAB X to run an .exe program *after* the device i= s > programmed, in the same way that it can run a program before the build (o= r > after the build) ? >=20 > I've made a device that switches the PGMD/PGMC lines, so they can be shar= ed, > so it needs to be told to switch to the ICD4 for programming and then bac= k > to the stuff on the PCB for testing. >=20 > If I can't figure anything else I can put a long delay in the device firm= ware > to do the switching, but it would be nice to have it go back right after = the > programming operating completes. >=20 > Thanks! >=20 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .