My chips finally arrived today, so I am now able to play with my USBtinyISP and try programming chips directly (ie, not an Arduino) for the first time.
I built a minimalist target board for the ATtiny2313 (a la Evil Mad Scientist Labs); read (but didn't write) the fuses successfully as a test; wrote, compiled, and flashed the chip with a simple blinking LED program; and, finally, connected Vcc and /RESET to 5V, connected GND to ground, put an LED and series resistor on the right pin, and watched it blink. Hooray! It worked, first time 'round, how often does that happen? I played with the blink delay a bit, watched it change, changed the pin around to convince myself I actually was causing this to happen. All's good, except for two very small things.
The first is that, when the LED blinks "off," it's not all the way off: it's still dimly on. Why would that be happening, and how can I stop it?
The other is, when I connect the LED's anode to 5V and cathode to the uC pin, it blinks fine. When I switch it around, so the cathode is connected to ground and the anode is connected to the pin, nothing happens. As I understand it (which is clearly a misconception), it should blink either way; what am I misunderstanding here?