AS7 - Atmel Studio is Busy

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

I have just recently built a new PC. My old Laptop was slow. AS7 would take forever to load but for the most part was pretty stable. My new PC is a beast and should be able to handle AS7 with no issues (Specs below). When ever AS7 loads I get the "Atmel Studio is Busy" message. 

AS7 Busy

This never happened on my slow Laptop (windows 10 home). If I click "Wait 1 more minute", AS7 eventually loads. Now I am able to program and build with no issues. However when I try to connect to my Atmel Ice, I get the same message, but this time is just hangs. I get notifications from windows too:

AS7 Hangs

Here are my system specs:

 

Atmel Studio 7 (Version: 7.0.1006 - )

 

OS Name    Microsoft Windows 10 Enterprise
Version    10.0.14393 Build 14393
]System Type    x64-based PC
Processor    Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz, 3501 Mhz, 4 Core(s), 4 Logical Processor(s)
Installed Physical Memory (RAM)    16.0 GB
Total Physical Memory    15.9 GB
Available Physical Memory    11.8 GB
Total Virtual Memory    18.8 GB
Available Virtual Memory    13.9 GB
 

I have tried reinstalling/repairing AS7 twice. Does anyone know how to resolve this?

"When all else fails, read the directions"

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

Only a guess.

Version    10.0.14393 Build 14393

That's Windows 10 version 1607 (Anniversary Update); that's not (yet) on Current Branch for Business (CBB).

Windows 10 Enterprise allows access to CBB.

1607 had (past tense?) USB issues.

1511 is recommended.

This never happened on my slow Laptop (windows 10 home).

What's the Windows 10 version on that PC?

iow, what from a 'winver' on that PC?


https://technet.microsoft.com/en-us/windows/mt679505.aspx (Windows 10 release information - current branch, build history)

https://www.avrfreaks.net/forum/atmel-ice-known-good-computer-and-os#comment-1983291

 

Edit : 2nd URL

 

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

Last Edited: Mon. Sep 19, 2016 - 12:18 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

gchapman wrote:
What's the Windows 10 version on that PC?

Version    10.0.14393 Build 14393

gchapman wrote:
iow, what from a 'winver' on that PC?

Version 1607 (OS Build 14393.187) on the laptop

 

Thanks for the help.

"When all else fails, read the directions"

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

It is only trying to prevent you from going crazy! Follow it's advice and give up. devil

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:
Follow it's advice and give up

Never! In the pic, I'm the Frog and AS7 is the bird

"When all else fails, read the directions"

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

AS7 is giving you the bird?

 

Maybe a Moderator should ban AS7 from the site for giving you the bird.  This is unacceptable.

 

FWIW I have AS7 running on Win7 without a problem, The Win 10 took a while, but it's working....as of two months ago

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

I have most recent version of AS7 running on a recent model HP laptop with Win10. Just before the most recent update (4-5 days ago) it ran just fine., Have not checked since the Win update that came in the last day or two.

 

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

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

ka7ehk wrote:
Have not checked since the Win update that came in the last day or two.

Can you check? I suspect there is a driver issue.

"When all else fails, read the directions"

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

For what it's worth. I uninstalled windows 10 Enterprise and installed the Home edition. So far I haven't experienced any issues. Hopefully this is resolved.

"When all else fails, read the directions"

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

An assumption is same version and build.

 

Windows 10 Enterprise has a hypervisor between the OS and the CPU if any of Credential Guard, Device Guard, or Hyper-V is enabled.


https://www.microsoft.com/en-us/WindowsForBusiness/Compare

Vagrant by HashiCorp

Hyper-V Provider

https://www.vagrantup.com/docs/hyperv/

...

Warning:

...

... an easy way to create a boot entry to boot Windows without Hyper-V enabled, ...

...

(though that's for Windows 8.1 Pro and Enterprise)

 

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

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

gchapman wrote:
An assumption is same version and build.

 

I spoke too soon. The problem still exists. I submitted the issue to Atmel and will post any findings.

 

 

"When all else fails, read the directions"

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

I used to get that with an older version of AS7 but then it was fixed, maybe re introduced in 1006??

 

Anyway we all expect too much after all

nothing about being functional (and definitely more bloated that ever) devil

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:
Anyway we all expect too much after all

It pretty much renders AS7 inoperable (for me). All though AS7 is free, the hardware is not. I expect it to at least work.

 

 

"When all else fails, read the directions"

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

Try Windows 10 version 1511 with Atmel Studio 7.0 build 1006.

If you want to ... unless fed up.


https://www.avrfreaks.net/forum/atmel-ice-known-good-computer-and-os#comment-1983291

 

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

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

gchapman wrote:
Try Windows 10 version 1511 with Atmel Studio 7.0 build 1006. If you want to ... unless fed up.

 

Let me see what Atmel comes back with. I sent over a s**T ton of log files. They have been very responsive, so I am willing to wait it out. As mentioned, my laptop works fine, so I might be using that. Just slow as hell.

 

 

 

"When all else fails, read the directions"

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

My last two assignments went so smoothly... principally because there wasn't a single microcontroller or line of code in either of them. Yeah! Just circuit design in Eagle and layout pcb, prototype and test, buy in more parts, assemble, test and despatch 50+ units.... oh and accept payment. The hardest part was tolerating lead free solder... but the Swedes hate leaded solder so what the client wants the client gets.

Ross McKenzie ValuSoft Melbourne Australia

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

valusoft wrote:
My last two assignments went so smoothly...

 

Did you post to the wrong thread? :)

"When all else fails, read the directions"

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

PhillyNJ wrote:

valusoft wrote:
My last two assignments went so smoothly...

 

Did you post to the wrong thread? :)

 

Maybe I should have been more explicit... no Studio + no Windows 10 = no headaches!

 

Ross McKenzie ValuSoft Melbourne Australia

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

valusoft wrote:

PhillyNJ wrote:

valusoft wrote:
My last two assignments went so smoothly...

 

Did you post to the wrong thread? :)

 

Maybe I should have been more explicit... no Studio + no Windows 10 = no headaches!

 

But then what would a day be without problems to solve?

My digital portfolio: www.jamisonjerving.com

My game company: www.polygonbyte.com

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

valusoft wrote:
principally because there wasn't a single microcontroller or line of code in either of them

That made me believe you didnt have any issues :)

"When all else fails, read the directions"

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

PhillyNJ wrote:

valusoft wrote:
principally because there wasn't a single microcontroller or line of code in either of them

That made me believe you didnt have any issues :)

 

Only the time frame... the rest was a pleasure.

Ross McKenzie ValuSoft Melbourne Australia

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

i just registered to say i have the exact same problem. it is really frustrating.

Windows 10N Professional user, Version 1607 (OS-version 14393.187)

i hope it gets resolved soon!

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

matsumo wrote:
just registered to say i have the exact same problem. it is really frustrating. Windows 10N Professional user, Version 1607 (OS-version 14393.187)

I am glad I am not alone. I would suggest that you put in a bug with Atmel. You should do this because the more data they receive on the issue, the more likely they can resolve this problem. I say this as a full time developer. When there is more that one person experiencing the problem, there is likely a common denominator.

 

On that note, can you provide your system specs in detail? Also, did you build the PC yourself?

 

Thanks

 

Phil

 

"When all else fails, read the directions"

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

yes you are right, of course. i will submit my problems with atmel as well. my pc is home built, specs are:

 

Operating System
    Windows 10 Pro N 64-bit
CPU
    Intel Core i5 4670K @ 3.40GHz    34 °C
    Haswell 22nm Technology
RAM
    16,0GB Dual-Channel DDR3 @ 798MHz (9-9-9-24)
Motherboard
    Gigabyte Technology Co. Ltd. B85M-D3H (SOCKET 0)    33 °C
Graphics
    ZM-TM270VALEDF (1920x1080@60Hz)
    Intel HD Graphics 4600 (Gigabyte)
    4095MB NVIDIA GeForce GTX 1070 (EVGA)    45 °C
    ForceWare version: 372.70
    SLI Disabled
Storage
    298GB SAMSUNG HD322HJ (SATA)    28 °C
    931GB Seagate ST1000DM003-1ER162 (SATA)    29 °C
    223GB Corsair Force LE SSD (SSD)    30 °C
Optical Drives
    No optical disk drives detected
Audio
    Realtek High Definition Audio

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

matsumo wrote:
Gigabyte Technology Co. Ltd. B85M-D3H (SOCKET 0) 33 °C

 

Nice - more than adequate to run AS7. I have an ASUS Gaming/Aura. I thought it might be the mother board. but now I think its the drivers.

"When all else fails, read the directions"

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

Forgot to mention, i use the atmel-ice debugger, but these problems occur even if i do not have it connected

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

alright, i know this is going to sound completely insane, but after i uninstalled google chrome web browser the problem has vanished. could be just temporary, but i hope it is permanent! fingers crossed

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

Just when I thought I couldn't get worse....

 

This morning my PC updated Windows (Version 1607 Build 14393.222). I also updated AS7 to Version 7.0.1188 in hopes it would fix my issue. Now, Windows does not recognize the Atmel ICE. Also, if I connect my SAMD21 xplained pro, windows sees the EDBG Com, but AS7 does not. (See attached screenshot).

 

 

 

I have tried rebooting several times. Windows no longer sees the ATMEL ICE and AS7 doesn't see any programmer. I will try my dragon and STK500 and report back.

"When all else fails, read the directions"

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

Ahhh an there is more! I decided to reinstall AS7.

 

I get this error:

 

 

I fire up AS7 and all seems ok. I connect to my ICE and it wants to do a firmware update, so I let it.

 

Now I can see the device and program, but I get the hanging error.

 

I am loosing this battle....

"When all else fails, read the directions"

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

If the little green frog is down the throat of the bird long enough it will faint and the bird will eat it......

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

js wrote:
If the little green frog is down the throat of the bird long enough it will faint and the bird will eat it

 

I see your point :) - Almost out of brea.....................

 

 

"When all else fails, read the directions"

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

I am running Win10 on my CoreDuo machine and I have AS7 on it and I have not had any problems as of yet.

 

BUT,

 

I just elected to update my AS7 install and while AS7 was doing it's thing my Antivirus software kicked up a fuss about a 'virus file' that was downloaded.  It deleted the file, but I do not know what it was for in AS7.  Once the install is done I will see what happens.

 

Why am I telling you this?

I am wondering if some users that are having issues with AS7 have anti-virus programs running with 'Auto clean/delete' turned on.  Since AS7 is built on Visual studio I wonder if some of the AS7 components look like virus packages and the Antivirus software is kicking in and deleting the files rendering AS7 useless...Well MORE useless than usual.

 

JIm

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

jgmdesign wrote:
Why am I telling you this? I am wondering if some users that are having issues with AS7 have anti-virus programs running with 'Auto clean/delete' turned on.  Since AS7 is built on Visual studio I wonder if some of the AS7 components look like virus packages and the Antivirus software is kicking in and deleting the files rendering AS7 useless...Well MORE useless than usual.  
 

Could be. I am only running Windows Defenders. I still have the issue with it disabled. 

 

Now that you mention Visual Studio, I have VS 2015 installed along side AS7...maybe VS 2015 is corrupting AS7?

 

"When all else fails, read the directions"

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

PhillyNJ wrote:
Now that you mention Visual Studio, I have VS 2015 installed along side AS7...maybe VS 2015 is corrupting AS7?

https://www.avrfreaks.net/forum/fix-visual-studio-2015-update-1-breaks-atmel-studio-7

There's a post where "someone" created a work-around of Visual Studio on a guest Windows via VM and Atmel Studio on the host Windows; I don't have that post handy and my search here was no joy (I'm considering letting that stew in my mind).

Stewed -

https://www.avrfreaks.net/forum/visual-studio-2015-update-1-incapacitates-atmel-studio-7#comment-1955576 by Phoenix710

Client Hyper-V is in Windows 8.1 Pro (and sub) and Windows 10 Pro (and sub).

 

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

Last Edited: Sun. Oct 2, 2016 - 12:56 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

PhillyNJ wrote:
Could be. I am only running Windows Defenders. I still have the issue with it disabled.

 

Was Defender disabled during the AS7 install?  If not, I would wipe out all of AS7 and Visual Studio, disable Defender, and try the install over.

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

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

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

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

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

jgmdesign wrote:
Was Defender disabled during the AS7 install? If not, I would wipe out all of AS7 and Visual Studio, disable Defender, and try the install over.

 

No, it wasnt. I can try to reinstall with it disabled.

"When all else fails, read the directions"

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

Mystery solved! The mystery has been solved with the help of Atmel support. After installing a revised atbackend.exe to provide better logging, it turns out that the atbackend.exe was confusing my $165 keyboard with the Atmel Ice Programer and/or EDBG.

Yes, my keyboard was $165. Its a mechanical, programmable keyboard. I suspect there is an atmel chip under-the-hood. Now, I am waiting to see if there is a fix. Until then, I must use a standard keyboard (boooo!)

 

I will say that Atmel support is awesome. 

 

 

 

"When all else fails, read the directions"

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

Well done for all!

PhillyNJ wrote:
Now, I am waiting to see if there is a fix. Until then, I must use a standard keyboard (boooo!)
Would each (programmable keyboard, Atmel-ICE) on separate USB host controllers work?

IIRC, a PC has two or more USB host controllers; more if a mix of USB2 and USB3.

 

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

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

Just wondering, what is the USB VID/PID of the keyboard?

I would think that Corsair would have their own, or does this keyboard have  the same VID/PID as the Atmel Ice Programer and EDBG?

(Just trying to better understand the confusion atbackend.exe was having with the keyboard.)

David (aka frog_jr)

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

frog_jr wrote:
Just wondering, what is the USB VID/PID of the keyboard?

Atmel support just asked me to check. I will let you know when I get time test (later tonight)

 

gchapman wrote:
Would each (programmable keyboard, Atmel-ICE) on separate USB host controllers work? IIRC, a PC has two or more USB host controllers; more if a mix of USB2 and USB3.

Jim, see above (USB VID/PID conflict). I am betting that might be the issue.

 

My mother board has at least 2 or 3 USB host (I think) and I will need to check.

"When all else fails, read the directions"

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

Windows-driver-samples/usb/usbview at master · Microsoft/Windows-driver-samples · GitHub

https://github.com/Microsoft/Windows-driver-samples/tree/master/usb/usbview

Usbview.exe is a Windows GUI application that allows you to browse all USB controllers and connected USB devices on your system.

...

Important If you need UsbView as a tool, do not download this sample. Instead get UsbView.exe from ...

...

Microsoft

MSDN

Windows 10 hardware dev

USBView

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

Edit : Microsoft URL

 

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

Last Edited: Sun. Dec 11, 2016 - 05:42 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

OMG, this absolutely was my issue.  I sat dumbfounded as I simply unplugged my corsair keyboard (just like his) and everything magically worked. After EFR#$R!@#RWFASf!!!! all time uninstalling, reinstalling and restarting repeatedly. I don't care this is years old.  Thank you for posting this! You saved me.