Thanks Steve,
The problem is that if I reprogram the chip I want the routine to run
again.
It would be sufficient if I could determine if the JTAG connector was
attached when I power up the device.

Regards,
  Garst

Steve Underwood wrote:
> 
> Hi Garst,
> 
> There is not "this is a freshly programmed chip" flag. However, its easy
> enough to use a byte in info memory to record that your once in a
> lifetime routine has been run.
> 
> Regards,
> Steve
> 
> Garst R. Reese wrote:
> 
> >Hi folks,
> >I have a routine that I only want to run when once when the chip is
> >programmed.
> >Is there a way of detecting this condition?
> >
> >Thanks,
> >  Garst

Reply via email to