Hi,
I've got a ATTINY861V-10PU in a STK500 and am trying to write a simple program to turn on all LED's.
Q#1:What is the normal flow of usage in AVR4Studio? I have the code and choose Build-Rebuild All, then I Debug Start Debugging (I have AVR Simulator selected), then I click the AVR button, then Flash Use Current Simulator/Emulator Flash memory, then Program, then I hit the reset button on the STK500.
Is this right? it seems like a lot to go through. Is there an option to just compile, then program ???
Q#2:Why does the 861V need PB4/PB7 set to XT1/RST on PORTE? I found this in the STK500 ISP programming page. It makes it hard to use PORTB to drive LED's or connect to switches.
Q#3:I connected PORTA to my LED's. I then run this code:
#include
int main()
{
DDRA=255;
while(1)
{
PORTA=255;
}
}
When I press RESET I see all LED's blink just for a second and go out. WHY? Shouldn't they come on and stay on?
I appreciate any help!!!
Thanks,
Alan