Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic AVRISP-MKii not coming out of program mode (Read 3440 times)
StewieTee
Newbies
*
Offline


Posts: 6
Joined: Jul 21st, 2013
AVRISP-MKii not coming out of program mode
Jan 23rd, 2017 at 7:22am
Print Post  
Hi,
I use Arduino 1.81, windows-10, Lib-USB installed by zadig,  and Visual micro.
Mostly I have been using esp8266 for the past while but when I now try and program an actual arduino board in Visual micro with my AVRISP-MKII, the programmer actually does program the board, but the programmer stays in the programming mode (the orange light stays on) instead of the green led coming on after the programming operation. To continue, I have to unplug the programmer.
If I just use the Arduino IDE (1.81) the programming operation completes OK ie, it programs then comes out of reset.
Any suggestions about this or extra information required to help diagnose?
Thanks,
Stewart
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVRISP-MKii not coming out of program mode
Reply #1 - Jan 24th, 2017 at 7:43pm
Print Post  
I'll dig out my avrisp and try it out thanks.

Which board?

any difference with tool bar set to Release not Debug?

if you switch on vMicro>Uploader>Verbose what commands appear?

same in arduino ide file>preferences

Thanks
« Last Edit: Jan 24th, 2017 at 7:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVRISP-MKii not coming out of program mode
Reply #2 - Jan 28th, 2017 at 5:19pm
Print Post  
Hi,

I just tried an avrisp mkII and it worked okay.

Sometimes if debug is enabled the usb driver got confused so I will add a slight pause when upload is programmer before the sketch and pc open the debugger. That might help but doesn't seem to be related to your report.

The verbose output that I requested will be useful. It's possible there is an avrdude.config file that visual micro is discovering in the downloaded board manager area that the arduino ide is ignoring.

I am using the same config as you arduino 1.8.1, win 10 and the latest libusb
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVRISP-MKii not coming out of program mode
Reply #3 - Feb 6th, 2017 at 2:43am
Print Post  
Could you try the latest update please

Thanks

There is a link to the next release at the top of this post if you want to try it.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint