[size=11.000000pt]In some cases the IDE complains about not being able to connect to the target. This is most likely becausethe program already running on the target is interfering. The solution is to put the hardware in ISP modebefore starting the flash/debug operation in the IDE. To do this:
[size=11.000000pt]Push and hold down the ISP enable button