I seem to be having a small issue with Atmel Studio version 6.1.2730 service pack 2 not programming correctly when using F5. These were the instructions I followed:
I'm using an ATtiny87 as a target with a MKII programmer. Compiler optimization is turned off. When I hit F5, the small program compiles, the green light on the MKII turns red for a second and it seems like the ATtiny87 is programmed. When I look at the MCU pins with an O-scope, the MCU seems to have been erased and not reprogrammed. When I use the "Device Programming" (tools -> Device programming), the MCU gets programmed correctly every time. Are there any ideas why F5 is not programming the MCU correctly?