Downgrading tools to use older Jungo driver

Go To Last Post
13 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you are upgrading to AS7 with Jungo V12 some of the tools may no longer be working with older versions of Studio.

 

As this is coming up often we'll make it a sticky.

 

http://atmel.force.com/support/a...

 

 

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried the procedure described at http://atmel.force.com/support/a...  but still cannot get my new Windows 10 machine to recognize the AVR Dragon connected to it.  The driver version I'm trying to use is

AVR Dragon Version: 10.1.1.0[2009-09-02] and I have both Studio 6.0 and Studio 7 installed.  I've installed Studio 7 twice to see if that would help but there was no change. 

 

When using Studio 6 I get a message saying that avrdb.exe is blocked by virus protection and this warning shows up.

12:17:20: [WARNING] The avrdbg process exited with code 0

 

I would appreciate any suggestions that would allow me to connect to the Dragon.

 

Thank you

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

YOu MUST install Studio 6_2 first, THEN install Studio 7.  I ran into a similar problem, but not with a dragon.

 

You will still need to shift gears on teh drivers occasionally though

 

Jim

If you want a career with a known path - become an undertaker. Dead people don't sue! - Kartman

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I deleted Studio 6.0 and Studio 7 from my computer and then installed Studio 6.2.  Studio 6.2 recognized my Dragon without any problem.  It also indicated that the Dragon's internal software should be updated, and this was also accomplished without any problem.  Finally, programming of an ATtiny13A proceeded perfectly too, so I decided to stop at this point and just continue to use Studio 6.2 since it is more than adequate for my purposes.  Thank you for your help - it is very much appreciated.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

AllenW wrote:
 Studio 6.2 recognized my Dragon without any problem.

Are you using Windows 7?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am working with win7 32bit  SP1

and studio7

Connecting Ice-basic the Pc is claiming for two drivers that is not able to find and install:

ATMEL ICE DATA GATAWAY 

FINGER PRINT SENSOR

Testing the ICE it it recognized by PC it can read a targhet board but it can not program the targhet.

Thanking in advance

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't know what your problem is.

 

I think the ATMEL ICE DATA GATEWAY is a user mode driver from Atmel.  It should be included with the Studio installation.  It requires the Microsoft winusb.sys driver.  This driver is not included with the Windows 7 installation.  I think Windows 7 usually downloads and installs it automatically when needed.  If not, running Windows Update while the ICE is plugged in should do it.

 

 

 

 

 

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

steve17 wrote:
I think Windows 7 usually downloads and installs it automatically when needed.  If not, running Windows Update while the ICE is plugged in should do it.

Microsoft

Microsoft

Windows

Hardware Dev Center

Universal Serial Bus (USB) Microsoft-provided USB drivers WinUSB (Winusb.sys)

WinUSB (Winusb.sys) Installation

https://msdn.microsoft.com/en-us/library/windows/hardware/ff540283(v=vs.85).aspx

...

Automatic installation of WinUSB without an INF file

As an OEM or independent hardware vendor (IHV), you can build your device so that the Winusb.sys gets installed automatically on Windows 8 and later versions of the operating system. Such a device is called a WinUSB device and does not require you to write a custom INF file that references in-box Winusb.inf.

When you connect a WinUSB device, the system reads device information and loads Winusb.sys automatically.

...

Installing WinUSB by specifying the system-provided device class

When you connect your device, you might notice that Windows loads Winusb.sys automatically (if the IHV has defined the device as a WinUSB Device). Otherwise follow these instructions to load the driver:

...

via

Microsoft

Microsoft

Windows

Hardware Dev Center

Bus and Port Drivers Universal Serial Bus (USB) Microsoft-provided USB drivers

WinUSB (Winusb.sys)

https://msdn.microsoft.com/en-us/library/windows/hardware/ff540196(v=vs.85).aspx

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

USB is very confusing.  I have been using winusb with WCID for a couple of years.  Win7 downloaded the driver automatically for me.  So when I plugged in my shiny new Atmel-ICE, it took off running.   I don't know what the situation would be if winusb isn't present when you plug in the Atmel-ICE.

 

I don't know what elpablito's problem is anyway.  I hadn't heard of a fingerprint sensor. 

Last Edited: Sat. Mar 4, 2017 - 09:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

He should have Atmel's driver installed.  Maybe he needs AS6.2 or AS7.

This is where it's apparently located on my 6.2.

 

Last Edited: Sat. Mar 4, 2017 - 09:26 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for the INF location.

Though apples and oranges (iow WinUSB and Jungo) the Atmel Studio operators manual states after loading the INF that the device should appear; if not then a restart of Windows (or maybe a restart of Atmel Studio?)

http://www.atmel.com/tools/atmelstudio.aspx?tab=documents

...

 

Atmel Studio - User Guide
(file size: 8.5MB, 274 pages, revision B, updated: 09/2016)

Atmel Studio is an Integrated Development Environment (IDE) for writing and debugging AVR/ARM applications in Windows XP/Windows Vista/Windows 7/8/[10] environments. Atmel Studio provides a project management tool, source file editor, simulator, assembler, and front-end for C/C++, programming, and on-chip debugging.

http://www.atmel.com/Images/Atmel-42167-Atmel-Studio_User%20Guide.pdf

(page 268)

11.4.4. No Tool is recognized by Atmel Studio, but the Driver seems to be Working

...

The tools should be working straight away, but you may have to restart your machine if you are still having problems.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

steve17 wrote:
I have been using winusb with WCID for a couple of years.

Microsoft

Microsoft

Windows

Hardware Dev Center

Windows Drivers Install

Compatible ID

Last Updated: 1/24/2017

https://msdn.microsoft.com/en-us/windows/hardware/drivers/install/compatible-ids

A compatible ID is a vendor-defined identification string that Windows uses to match a device to an INF file.

...

steve17 wrote:
I don't know what elpablito's problem is anyway.
A possibility is their copy of Windows is inconsistent such that it's unable to auto install Winusb.sys

It's common that a copy of Windows 7 and Windows 8.1 has a subset of the total set of Windows updates.

Windows 7 and Windows 8.1 went cumulative updates in early Oct 2016 iff the Windows operator did so.

There are valid reasons for a copy of Windows 7 and Windows 8.1 not being complete on updates :

  • if it's a production or critical PC then it's minimal updates (i.e. if it ain't broke don't fix it)
  • not in the Consumer Experience Improvement Program (CEIP) by not installing certain updates
  • Windows 7 end of feature updates was 2015-Jan-01; may only have security updates after that

 

Command Prompt

Run as administrator

SFC /SCANNOW

(please read the following page)

Microsoft

Microsoft

Windows Dev Center

System Administration Windows Resource Protection About Windows Resource Protection

System File Checker

https://msdn.microsoft.com/en-us/library/windows/desktop/aa382541%28v=vs.85%29.aspx

The system file checker utility, Sfc.exe, allows administrators to scan all protected resources to verify their versions.

Files critical to restart Windows that do not match the expected Windows version may be replaced with the correct versions. If a file is repaired, the corresponding registry data is also repaired. Protected files not critical to restart Windows are not repaired.

...

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I found an old Win7 installation I haven't used for years.  It did not have Atmel Studio installed.   It did not have winusb.sys in Windows/System32/Drivers.

 

I installed Studio 6.2.1502. 

 

I plugged in my Atmel-ICE.  Voila!  It now has winusb.sys.   Atmel-ICE works.

 

It probably had all Windows updates until 4/4/2014.  Nothing since.

 

I should have checked to see if the Studio installation put winusb.sys there, but I didn't.   I don't know where it came from.  This computer has no connection to the internet but does have a connection to my other computer.

Last Edited: Sun. Mar 5, 2017 - 01:11 AM