I was fearing switching all my Renard gear to DMX this year because I thought it would take a while, and I might need to debug things for a while so I put it off until setup day, today.
I had no reason to fear the switch! I compiled the PIC16F688 Renard DMX asm code into a hex file, loaded it onto my PICkit2 in “Programmer to go” and used my 3M ChipClip.
Those things combined made for complete awesomeness.
If you’re unfamiliar with either the “Programmer To Go” or the Chip Clip, here’s some more info:
Programmer To Go
Programmer To Go is a mode supported by the PICkit2 (and likely other Microchip programmers/debuggers). In a nutshell, in the PICkit software you flash the hex file to the PICkit2 itself and then you only need to provide power to the programmer and press the red button to flash µCs. It will then power and flash the target chip. It will blink the yellow light twice to indicate the device is in “programmer to go” mode and it will immediately forget those settings once you connect to the PICkit2 again using MPLAB or the PICkit2 software itself.
The 3M ChipClip is a spring-loaded clip that resembles a clothespin, but with .1″ contacts for clipping to standard DIP packaging. It has pin connectors on the top so you can run jumper wires to a programmer, breadboard, etc. I have them hooked up to pins, and the PICkit2 in the proper pin-out for programming. Chip Clips are available from mouser here.
Note that the pin-out for programming a PIC16F688 is the same as a PIC12F675 and likely many other PIC products. The two PICs I mentioned are the ones in use for my display. 2 of the PIC12F675s for the strobe randomization, and many 16F688s for the Renard controllers.
In case you’re wondering, with most of the Renard hardware at DIYC, you don’t even need to remove the PIC from the circuit, you can simply program them on board. Don’t power the board, simply plug the PICkit into USB for power, put the clip on the PIC and press the button. Today I updated all of the PICs on a Renard 64XC, one Renard 24 v3.3, one Renard SS24, a Renard SS8, and one Renard 24 HC (very similar to the v3.3). All of these worked in-circuit very quickly and easily. Within about 5 minutes I had all of my hardware switched from Renard to DMX!