Yet another AVRISP mkII with Studio 6.1 thread :-(

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

I'm sorry to open a new thread on this topic but all the other similar threads have not helped me solve my issue.

I have Windows 7 64bit on my desktop. Until recently I have Studio 5 and everything worked fine. I uninstalled Studio 5 completely and installed Studio 6.1.

Now, I am unable to get my AVRISP mkII to work.

In the device manager I confirm that I have Jungo and below it, both AVRISP mkII and WinDriver. But, both have little yellow warning triangles and complain that the Windows can not confirm the device signature... Is this normal?

From Studio 6.1, I can do View -> Available Atmel Tools and see the AVRISP mkII listed. I can also do Tools -> Device programming and select the AVRISP from the tool dropdown.

If I try to do apply, or if I try to upgrade the tool from the other dialog, I get:

02:58:34: [ERROR] USB driver initialization failed: Internal system error (0x20000007)., ModuleName: TCF (TCF command: Tool:connect failed.)

I have reinstalled the drivers, I have re-run the Studio 6.1 installation in maint mode, all to no effect. I have tried different USB ports on my machine, no joy.

I had FTDI VCP drivers installed. I uninstalled them, rebooted the entire machine, still no joy.

I have two programmers here (both AVRISP mkII) and I get exactly the same results with both.

So after this, I am resorting to this plea for help. I apologize if there is a thread that answers this issue, but if so I could not find it.

Thanks very much...

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

Sounds like a driver/windows issue to me. Try the latest drivers available from here.

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Quote:
In the device manager I confirm that I have Jungo and below it, both AVRISP mkII and WinDriver. But, both have little yellow warning triangles and complain that the Windows can not confirm the device signature... Is this normal?
I don't have any yellow triangles there. Anymore.

I bought an AVRISPmkII last week and I wanted to upgrade the firmware, and as far as I have seen the only way to do that is with Studio (I normally use Linux).

I started up Studio on my windows computer and I hade the same problems as you describe. I removed Studio, reboot (just in case :roll:) and reinstalled Studio (6.1 sp1 (full installer) from Studio archive, since I saw some had problems with JTAGICE3 and sp2).

And, lucky me, it worked after that :-),

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

You mean you downgraded from service pack 2 to SP1? I installed SP2...

Morten, I'm working on trying those drivers now, thanks.

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

skyjumper wrote:
You mean you downgraded from service pack 2 to SP1? I installed SP2...
No, I had sp1 before. But it should work with sp2 too, I only avoided sp2 for the JTAGICE3 problems I read about.

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

Okay, no joy with the new drivers. I still get:

03:55:58: [ERROR] USB driver initialization failed: Internal system error (0x20000007)., ModuleName: TCF (TCF command: Tool:connect failed.)

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

I guess I can try reinstalling 6.1, but what do you mean that you reinstalled from the "Studio archive" ? You mean the installer app?

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

That's an error from your usb subsystem. Usually this can be fixed by uninstalling the jungo drivers from the device manager, reboot and reinstall the drivers.

Sometimes it is also necessary to update your usb controller driver etc...

EDIT: Studio archive is here: http://www.atmel.com/tools/STUDI...

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

Studio Archive is where I found the installer. It's where they put old versions.

On the Studio download page they only have the last released version.

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

Okay, a complete removal and reinstall of Studio 6.1 SP2 didn't change anything. I'll try Morten's suggestion of reinstalling all the drivers tomorrow (er, later today). I should have been in bed hours ago :-(

Thanks everyone...

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

Quote:

Okay, a complete removal and reinstall of Studio 6.1 SP2 didn't change anything.

I don't see that it should either. The issue is somewhere in you USB system. If it's drivers etc is a bit difficult to say... :P

Sweet dreams

:: Morten

 

(yes, I work for Atmel, yes, I do this in my spare time, now stop sending PMs)

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

meolsen wrote:
Quote:

Okay, a complete removal and reinstall of Studio 6.1 SP2 didn't change anything.

I don't see that it should either. The issue is somewhere in you USB system. If it's drivers etc is a bit difficult to say... :P

A solution (notice I didn't say "the solution") was to disable the Windows 7 enforcement of signed drivers.

First, make sure your programmer is not connected to the computer.

Next, use the atmelusb program to uninstall all the drivers if they are installed.

Next, reboot your windows system and hit the F2 key early as it begins to boot. This gives you a bunch of diagnostic booting options, one of which is something to the effect of "Disable signed driver enforcement" or something like that. Its near the bottom of the list.

After the computer boots, use the atmelusb program to install the drivers.

Now, when you look in device manager, you see the drivers installed but you won't see the yellow triangles that say the drivers is unsigned blah blah blah.

I don't know if I'll have to do this every time I boot, I sure hope not. It took days to solve this issue (on and off) and its really irritating, so I hope this helps someone else.