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 installing - do not see it in Device Programming menu (Read 2695 times)
Phil Abbate
Newbies
*
Offline


Posts: 7
Location: Atlanta GA USA
Joined: Sep 17th, 2017
AVRISP MKII not installing - do not see it in Device Programming menu
Sep 24th, 2017 at 4:44pm
Print Post  
Hi this is my first post here. 
I was using the Arduino IDE ….am a novice to C C++ and Arduino, but have an EE background. I learned microcontrollers during the last quarter of the previous century first computer was the KIM III, my second the Timex Sinclair.

I have installed Atmel Studio with the demo Visualmicro plug in on a Win7 laptop. Converted some Ardiuno sketches , download them to real Duemilanove and a Clone Uno R3. It all works great up to the simulator debugger.  Very impressed with the environment that I would have killed for in 1980.

My problem is configuring my In Circuit Emulator (ICE) clone; AVRISP MKII to be recognized by ASVM (AtmelStudioVisualMicro). When I open (CTRL +Shift+P)  Tools | Visual Micro |Device Programming. The pull down for TOOL only contains the Simulator; the AVRISP MKII is not in the menu.

My Atmel Studio with Visual Micro plugin did not install the Jungo driver. I do not see any Jungo anything in the Win7 Device Manager. 

When I plug only ( no Arduino connected to ICE or the PC at all ) the ARVISP MKII USB cable into the PC USB port, Win7 detects it and the Prolific USB to serial (Com8 in my setup ) boings open in windows.    I see it in the Win7 device manager and when I remove the ICE from the USB port I hear the boing and the Prolific Com 8 disappears from the Win7 device manager. 

I found a few blogs where people were having trouble with the AVRISP MKII as a bootloader and they seem to want me to remove the Jungo Driver and replace it with various DLL and SYS files called LIBUSB0.

I downloaded the zips for these patches and got them to show up in the Device manager but something is wrong as the AVRISP MKII never shows up as a ( CTRL +Shift+P)  Tools | Visual Micro |Device Programming | TOOL in the pull down. 

I am no expert in patching the registry or doing esoteric installs of DLL and SYS files. I did use the x86 installers from the downloaded zip files and I renamed all the files as some instructions showed (removing the x86 from the LIBUSB0.xxx downloaded files. 

Any help with this would be greatly appreciated. 
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVRISP MKII not installing - do not see it in Device Programming menu
Reply #1 - Sep 24th, 2017 at 5:14pm
Print Post  
Hi,

Tools>Device programming is not a part of Visual Micro, it is a feature of Atmel Studio.

The only thing I can tell you is what I have observed:-

When you install the drivers that come with the AVRISP MkII it installs drivers that are compatible with the Arduino IDE and not with Atmel Studio. Normally people have the opposite issue to you where installing Atmel Studio replaces the AVRISP MkII driver with Jungo. This prevents the AVRISP MkII programmer from working from the Arduino IDE but allows it to work from Atmel Studio.

Visual Micro will allow either configuration to be used. Either using the programmer called AVRISPMkII with Arduino compatible drivers or using the programmer called "Atmel Studio Device Programming" which then hands over to the Atmel Studio project settings for whatever programmer or simulator is selected.

Sometimes Jungo gets removed . Then I use libusb which creates a driver for you. Only issue is it is not signed so windows [https://sourceforge.net/projects/libusb-win32/]https://sourceforge.net/projects/libusb-win32/[/url]

The first thing you need to know is where the AVRISP MKII appears in device manager even if as an unknown or incorrect device name. Does device manager flicker and refresh when connecting and disconnecting the programmer? If so then the device is there but with wrong driver and the above notes can be used to install a driver.

Lastly if "Update Driver" for the MKII doesn't show Jungo as an option then reinstall or repair atmel studio because it is the AS7 installer that prompts if you want to install Jungo or not.
  
Back to top
IP Logged
 
Phil Abbate
Newbies
*
Offline


Posts: 7
Location: Atlanta GA USA
Joined: Sep 17th, 2017
Re: AVRISP MKII not installing - do not see it in Device Programming menu
Reply #2 - Oct 8th, 2017 at 5:36pm
Print Post  
One little bit of handholding if you will.

I have before me my newer more powerful PC with a fresh Win7 install on it. 

My ultimate goal is to have a functioning hardware stepping debug system using my clone/driverless/AVRISP MKII for my AtmelStudio / ArduinoIDE / VisualMicro  setup. I want to buy your software as a single person user with VM working of 2 or 3 machines--- but first I want to see this working on this machine. 

Q1) can you extend my evaluation period beginning when I get this rig up in the next few days?

Q2) In what order should I install SW : Arduino IDE, AtmelStudio,  VisualMicro plug-in? driver for the AVRISP

During SW install when do I plug in the Arduino and the AVRISP? When to  make the AVR/Dino connection? 

I hope a detailed step by step for all this already exists and would appreciate if you would help me find it.   

Thanks for the previous detailed response. As you can see rather than try to push that poor old laptop machine I built a dedicated one just for this system. 

PS:  What a value. I bought 8051 IntelICE at $7K a seat in the mid 80s. And the Arduino is so easy for someone who forgot everything about programming. 
Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: AVRISP MKII not installing - do not see it in Device Programming menu
Reply #3 - Oct 8th, 2017 at 6:33pm
Print Post  
Hi,

You can start mode than 1 trial.

There is confusion between arduino ide and atmel studio for the mkII. Arduino Ide uses standard avrmkII driver but when you install atmel studio it installs a driver called Jungo.

If you want to upload with arduino then then do not let atmel install Jungo otherwise you have to reinstall the mkII driver,

If you want to use atmel studio device programming as outlined in my previous post then you need the atmel stduio Jungo driver to be installed.

In summary, Visual Micro will use whichever driver you have installed but arduino and atmel studio will only use the one they know about.

The order you install things is not really important other than using "tools>extensions and updates" from within the atmel studio ide to install visual micro (if not already installed).

« Last Edit: Oct 8th, 2017 at 6:34pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint