If you are making a test program to check you setup, start with making an LED blink and build from there.

Then you will know it it is the programmer or some other problem.