Pages: [1]   Go Down
Author Topic: Sketch only runs when AVRISP mkII is connected.  (Read 43 times)
0 Members and 1 Guest are viewing this topic.
U.S.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, first post here. I tried boot loading a blank 328P by using an existing UNO R2 board. Everything seemed to work ok there. When I load a sketch, for example the LED fade, it only runs while the programmer is powered. As soon as I disconnect the programmer from the pc the LED goes out and I get nothing. I'm trying this by using the AVRISP mkII as programmer and Arduino IDE 1.0, Selecting UNO as board type and upload using programmer. What am I missing? I'm using the Arduino to breadboard connections and supplying power via breadboard.
« Last Edit: Today at 11:33:28 am by gardelec » Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 210
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've had this happen a few times and scratched my head then realized that if the MKII is connected to the ISP  and NOT connected to the PC then the MKII will hold the chip in RESET. So I basically leave the MKII plugged to the PC and remove the ISP.
Logged

U.S.
Offline Offline
Newbie
*
Karma: 0
Posts: 4
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks a million justone, I knew I was overlooking something simple. Time to play.  smiley-grin
Logged

Pages: [1]   Go Up
Jump to: