Photographic flash-gun equipment used close to uncovered CMOS UVEPROMs can induce a variety of different failure modes including: (a) destructive latch-up, (b) transients in the output logic levels and in the supply current and (c) a nonde structive ‘output latching’ effect. The mode of failure observed depends on the level of illumination used and on the logic state of the output pins.