If you are wanting to do low-volume production with the PSoC microcontroller (I’m talking 1-100’s of units), Cypress has made a nice program called PSoC Programmer which is a simple interface for programming (or reading from) a hex file onto a PSoC microcontroller. It has options to turn of self-powered or external power mode for the MiniProg (and change the voltage). This usefulness of this feature cannot be over-exaggerated! It basically means that you don’t have to go through the hassle of connecting a external power supply up to the board when programming. and provides flash checking (which is pretty standard). It also features nice green/red OK/Fail boxes to facilitate programming.
Steps To Make Production Ready Hex Files In PSoC Creator:
- Make sure flash security is turned on when going into production (PSoC Programmer will warn you of this if you haven’t). PSoC Creator (at least from version 2.1) gives you the option of setting individual blocks of flash or setting the entire flash security level with a single global checkbox.
- Set the ‘Debug Mode’ in PSoC Creator to GPIO, unless you need to debug the devices once they are in operation. Don’t worry, this won’t mean you’re prevented from ever reprogramming the device again (but see step 3.)
- If you want extra security, enable the ‘Chip Lock’ option in the PSoC Programmer options menu to prevent ever writing to the device again. Only do this if you are confident that you will never need or want to reprogram the IC again.
One feature I’d like to see in the PSoC Programmer is the option to automatically program a device as soon as it’s connected. This would be easy to implement and make batch programming even easier!