I am new to programming micro controllers and I just started out a month back programming ATTiny20 using STK600 development board in TPI mode. I have been trying to develop an ADC program in the ATMEL STUDIO 7 environment since one week.
I was able to run the first version of my program successfully but then suddenly I am not able to erase the flash of ATTiny20. The error messages usually ranges from - Unable to erase flash, Target connector seems to be reversed, unable to enter programming mode, no device signature and so on. Basically, the software cannot detect my chip anymore.
I am confident that the connector for TPI programming is connected correctly. The voltages are also supplied correctly - (VTARGET glowing green). Besides its STK600 so there are no worries of missing caps and resistors. I am powering the board from laptop's USB port.
I am not able to understand why suddenly my chip ATTiny20's device signature cannot be read. Because of inability to erase the flash, my chip is now "frozen" with the previous program.
I would be very happy if somebody can help me. I read through all previous threads, but up to no avail. Thank you.