None of my Tools are working after upgrading to Studio 7.

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

All my tools worked fine under Studio 6.2 - STK500, Dragon, AVRISP Mk. II and latest addition Atmel-ICE - but after "upgrading" to Studio 7 none of them are working :-(

 

I get the usual error :

 

Failed to enter programming mode. ispEnterProgMode: Error status received: Got 0xc0, expected 0x00 (Command has failed to execute on the tool)
 

I tried to connect to projects that works fine, done with different AVR's, including the one I just made for a customer with a ATTiny261A (brand new IC out of protected delivery container) - no difference, they all give me the message above - no matter the tool connected.

 

I tried to debug with the Atmel-ICE just in case I for some reason had them all (the different IC's) in DebugWire mode => message asking ; Do you want to use ISP to select DebugWire ?

All IC's (except the new ATTiny261A) was programmed using Studio 6.2, using the tools I have without any problems ...!... but not now.

 

So do I uninstall Studio 7 and try again - or even install Studio 6.2 again ...?... or any better suggestions ?

 

My system is a Windows 7, I5, 16GB.

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

I'm not an expert in Studio7 and attached tools.  (Generally, I use a different platform.  When I have used external tools with Studio7, it worked OK.)

 

If I had to make a guess, it has to do with USB drivers.  Did you ask for them to be installed when doing the full installation?  I recall threads on this; apparently those that know better haven't seen this thread.   IIRC there is a way to check.

 

Have you tried the simple "check for updates"?

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

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

Do you have a Jungo section in Device Manager?

 

[but another thread said it should be under Atmel, but that thread was also talking about Windows10]

... as in this discussion which focused particularly on an Olimex tool:

http://www.avrfreaks.net/comment...

 

 

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

Last Edited: Tue. Sep 19, 2017 - 07:36 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The STK500 runs RS232 so I wouldn't think that it is a driver issue with that ....

 

Plugging the Atmel-ICE in, gives this :

It is a different driver as can be seen here - it's updated - but is it the right one ?

 

AVRISP Mk. II :

Also identified differently than yours ...?...

 

Anybody know if mine are OK or not ?

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

theusch wrote:
Do you have a Jungo section in Device Manager?
Jungo replaced with Microsoft WinUSB in Atmel Studio 7.0.1416 and subsequent.

http://atmel-studio.s3-website-us-west-2.amazonaws.com/7.0.1417/as-installer-7.0.1417-readme.pdf

 (page 3)

via http://www.microchip.com/development-tools/atmel-studio-7

 

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

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

Admiral_dk2 wrote:
My system is a Windows 7, I5, 16GB.
What version of Windows 7?  (via winver)

Did that Windows 7 receive the September 2017 Microsoft update?

Reason : new kernel, new drivers, .NET update

Atmel Studio is dependent on .NET

 

gHacks Technology News

Ghacks

Microsoft Security Updates September 2017 release

By on September 12, 2017 in Microsoft - Last Update:September 13, 2017

https://www.ghacks.net/2017/09/12/microsoft-security-updates-september-2017-release/

...

 

KB4038779 -- Windows 7 SP1 and Windows Server 2008 R2 SP1 Security-only Update

...

Security updates to Microsoft Graphics Component, Windows kernel-mode drivers, Windows shell, Windows Hyper-V, Windows kernel, and Windows Virtualization.

...

 

KB4041083 -- 2017-09 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 on Windows Embedded Standard 7, Windows 7, and Windows Server 2008 R2

 

...

via https://www.askwoody.com/2017/september-security-patches-for-windows-and-office-are-out/

 

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

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

Winver raport :

 

I forgot to mention it is the x64 version.

 

Windows had a huge update September 13th, 2017 - but I do not see the numbers you refer to in the list of installed Windows updates, the closest is KB4038777 ....

 

I probably should make it clear that Studio 7 talks to the tools and finds them - it's the communication out of the tool to the MCU / IC, that has stopped working after updating from Studio 6.2 to version 7.0.1417 => rendering the tools useless.

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

Native install or virtualized Windows?

 

If you downloaded the offline installer, I would recommend that you download the web installer and do a uninstall/repair without any tools plugged in during reinstall.

Be sure to check all boxes asking for confirmation to install drivers.

 

Alternatively, use device manager and try to install drivers from this folder: C:\Program Files\Atmel\Studio\Drivers\inf\winusb\atmel_winusb

 

You could also try:

You can also check for firmware upgrades by using the Available Tools view (View→Available Atmel Tools). Right click on a tool and select Upgrade.

 

*typo's

Last Edited: Thu. Sep 21, 2017 - 06:06 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I installed the September updates, and everything seems to be working OK.  Should I start worrying?  One of the Optional updates was for FTDI, IIRC.  My AVRISP mkII works.  I haven't tried my ICE yet.  And UART-FTDI-PuTTY is fine.

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

MarkThomas wrote:
Should I start worrying?
Recommend to not worry though may consider concern especially wrt Windows updates.

Revisions are common for Windows updates; could give an update one or three months before applying it.

Computerworld

Where we stand with messy September Windows and .NET patches

Bugs galore — IE won’t start or looks odd, custom controls turn black, Edge goes AWOL — with Windows 10 Creators Update getting more than its fair share.

by , Columnist, Computerworld | Sep 21, 2017

https://www.computerworld.com/article/3226779/microsoft-windows/where-we-stand-with-messy-september-windows-and-net-patches.html

via https://www.askwoody.com/2017/a-roundup-of-ongoing-problems-with-this-months-windows-and-net-patches/

 

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

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

Window 7 x64 Pro was installed directly onto a blank Drive C: - no WM ware or other virtual environment involved.

 

Thank you for the suggestion about updating from View Available Atmel Tool - great idea and at least it proved that I already had the latest drivers installed.

 

I don't think that I have time before, but I will try to install Studio 6.2 on one of my other PC's Saturday and see how that pans out ....

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

I installed Studio 6.2 on my PC in the workshop down stairs and that did not solve anything other than giving some more useful error messages (more or less).

 

The good thing about trying there was that I could hook it all up to my old hardware analyser / tracer, next to the PC.

 

The newest project had no signal or either MOSI nor MISO (SCK & /Res OK), all my Arduino's are useless now :-(

 

The most promising where an old prototype unit with an ATTiny861A, here the only problem where MISO dead, it still ran the code correctly - but the chip is in a DIL house and I found 4 new - pop the old out and in with a new => both the AVRISP mk. II and the Atmel-ICE can talk to it :-)

 

I have absolutely no idea how more than 7 different AVR in different project have dead ISP ports, except for the last one where I accidently swapped MOSI and MISO ...!...?

 

Sorry to all and thank you very much for your attempts to help me.

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

Admiral_dk2 wrote:
I have absolutely no idea how more than 7 different AVR in different project have dead ISP ports,

I thought we were dealing with "tools" not working?

 

Indeed, your scenario seems unlikely, vis a vis failure of all the AVRs and apps just "sitting there".  Yes, one could make a determined effort with RSTDISBL fuse and leaving in dbWire state and similar--but you would probably remember such a session.

 

In ISP, lessee-- MOSI comes from the >>tool<<.  I've had a couple/few apps over the years with ISP issues for some reason or another, usually on a new app.  It is pretty straightforward with a 2+ channel 'scope or a logic analyzer.  Set up the "tool" for Read Signature operation.  That command is short enough that a 'scope can capture it.  Verify /RESET dropping and releasing.  Got that?  Good.  Then /RESET and clock.  Look RIGHT ON THE PIN on the target.  Once both of those are wiggling, then you can (with the 'scope) assume the clock keeps wiggling and use /RESET to trigger.  Then MOSI and you should see the Read Signature commend.  And so on.

 

As you have existing apps, then there is no reason to go into valid Vcc levels, and decoupling, and all Vcc and Gnd connected.

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

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

I was sure that it must be the tools / update - since I couldn't remember any of them to be bad and as stated most still run the firmware I put in them.

 

The analyser traces I used are /Reset, MOSI, MISO, SCK and GND are connected too (after all else has failed) .....

 

As you mentioned ; /Reset goes low, after a number of mS. SCK and MOSI starts to clock the Command Byte in, followed by the next 3 Bytes and after the first Byte MISO should return the answer. On ALL the dead ones nothing happens on MISO ....  and the really strange one is the newest one a ATTiny261A where the MOSI signal stays high ...!... an brand new unit not yet programmed, should have all Pins as input, still have the /Reset pin as /Reset and even in ISP mode have MOSI as input = no (light) load of the Programmers Output ...!

Believe me that I have measured (Ohm) for any shorts, but nothing obvious ....

 

I'm very clear of this :  Errah Humanum Est - the most funny way to translate it : If you don't make mistakes - you are not human :-)

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

gchapman wrote:
Revisions are common for Windows updates; could give an update one or three months before applying it.

 

Actually, when I look at updates for my two laptops I did not install the September 12 updates.  I think I will wait a bit to install them and hope October fixes some of the bugs.

 

I finally got disgusted with how slow my 10" Toshiba gets when AS7 is running and using up almost all of the 2GB available RAM, so I bought an 11.6" Lenovo with a fresh installation of Win 7 and refurbished by a Microsoft authorized refurbisher.  4GB of RAM, so I will be able to run AS7 and open a browser window at the same time.  I went with the Lenovo because I want a small size, and for $149 I get a 90 day hardware warranty.  I'm all excited.  11.6" is about as small as they come these days, and Lenovo is who makes them.  laugh

Last Edited: Fri. Sep 29, 2017 - 03:45 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

I just got the used Lenovo 11.6" ThinkPad from eBay with Win 7 installed.  It was refurbished by an authorized Microsoft refurbisher, and it is a pretty clean looking machine.  It cost me $149 with free shipping and came with a 90 day warranty on hardware.  It has 4GB of RAM, which is more than enough to run Visual Studio.  When I got the machine there was nothing on it except Windows7.  Pretty cool to get a clean machine, without Norton and all the other crap that usually comes with a new computer.  I installed the 191 Updates it needed, including the September 2017 updates, and when that was all done, I tried to install Atmel Studio 7, and it couldn't install, saying it needed this or that update.  I probably shouldn't have installed the September updates if I really wanted AS7 on it.  I have still held off on those updates on my other two laptops I run AS7 on.  I am wondering if AS7 will install after installing the upcoming October updates.  I am just curious.

 

I actually bought this computer to do everything except Atmel Studio and USB-UART in my lab.  I will continue to do AS on my 10" bench Toshiba, which only has 2GB of RAM, so it cant do much else if AS is running.  I also use the 10" to connect USB-UART on my projects that use it, which are sometimes a little flaky and do strange things to my USB ports.  I completely fried one USB port when I was playing with a Cockroft-Walton circuit, and had excess of 10kV floating around on the board.  I accidentally touched bare wires on the back of the board when I picked it up and got quite an eye opening shock.  I think that was when the USB port quite working, like my finger connected 10kV to a UART to USB pin.  Now that little computer has a USB hub, and two of the original ports still working.  

 

Anyway, I just wanted to mention that it is possible to get a pretty nice little laptop with Windows 7 installed legally, and enough RAM to run Visual Studio for a really reasonable price.  The one I got looks like a new computer.  The only flaw I have found so far is no indicator comes on when I hit the CapsLock key, but I can usually tell when I have pushed it as everything is caps.  Not a deal breaker.  Other than that everything seems to work, and the display is super clear high resolution.

Last Edited: Mon. Oct 9, 2017 - 01:48 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MarkThomas wrote:
I probably shouldn't have installed the September updates if I really wanted AS7 on it.
There are two work-arounds for the Sept 2017 Windows Update issue.

Checked yesterday and the Windows issue is still not fixed.

IIRC, that issue also affects Visual Studio.

http://www.avrfreaks.net/forum/windows-7-net-upgrade-woes-atmel-studio-7-build-1417

MarkThomas wrote:
I am wondering if AS7 will install after installing the upcoming October updates.  I am just curious.
Microsoft creates previews of the next month's Windows Updates for Windows 7 and Windows 8.1.

To obtain similar for Windows 10, join Insider.

https://support.microsoft.com/en-us/help/4009469/windows-7-sp1-windows-server-2008-r2-sp1-update-history

https://insider.windows.com/en-us/

MarkThomas wrote:
I will continue to do AS on my 10" bench Toshiba, which only has 2GB of RAM, so it cant do much else if AS is running.
Cool!

 

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

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

Yeah.  I now have one Windows 7 machine dedicated to AS7 and USB-UART and USB for my ICE and AVRISP mkII.  It is the only computer I connect to my projects using the USB ports, so if I really do something stupid it will fry the old 10" Toshiba, and I still have a "new" clean Win 7 laptop.  

 

I like having these really small computers that dont take up so much space in my work area.  I really wanted another 10" with more than 2GB of RAM, but they are just not made anymore.  I guess the market for them was too small.  The 11.6" Lenovo is still pretty small, and has an amazing display.  I am completely impressed by it.  If you dont want a warranty or a coa for Windows you can get them refurbished by seller for $100 or less on eBay.  It is a really sweet little machine.  I have never had a new computer that only had the operating system installed with none of the other garbage.  I guess one could go to the very first restore point and bring the machine to it's original state right after Windows was installed, and go from there.  I dont know if there are viruses out there that are smart enough to get around that, but is seems like one way to get a clean fresh installation of Windows

 

Anyway, I am having fun with my "new" computer.

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

MarkThomas wrote:
I really wanted another 10" with more than 2GB of RAM, but they are just not made anymore.  I guess the market for them was too small.
That's the realm of Chromebook.

Wouldn't be a surprise when AVR is added to MPLAB Xpress and it's in Google Store.

If that's a no go, some Chromebook can boot Linux.

MarkThomas wrote:
... but is seems like one way to get a clean fresh installation of Windows
Sometimes an installed Windows will be backed up into another partition.

If it's Windows 10, RTM (Release To Manufacturing) are what OEM start with; there have been several Windows 10 RTM and these are via a Microsoft server.

Obtain the device drivers from the OEM then make a few copies (partition, USB memory stick, etc)

 


https://www.google.com/chromebook/find-yours/

Want to switch to a Chromebook? Have $450?

by woody

October 7th, 2017

https://www.askwoody.com/2017/want-to-switch-to-a-chromebook-have-450/

http://www.microchip.com/mplab/mplab-xpress

https://johnlewis.ie/custom-chromebook-firmware/rom-download/

https://archlinuxarm.org/platforms/armv7/ (search for Chrome)

https://archlinuxarm.org/packages (in Search enter AVR)

http://windowsiso.net/windows-7-iso/

http://windowsiso.net/windows-8-1-iso/

http://windowsiso.net/windows-10-iso/windows-10-wiki/

 

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

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

Right you are, gc.  There are even 10" Chromebooks with 4GB of memory, but it looks like installing Windows is problematic, and impossible on some Chromebooks.  The price is even in the range I paid for my used Windows 7 Lenovo.  Maybe in 3 years or so when Microsoft stops supporting Windows 7 altogether it will be an option for me.  I know I looked at Chromebooks in the near past, and thought the only operating system possible was ChromeOS.  It looks like what it takes to install Windows on one of these things is beyond me, messing with the BIOS and all.  Chances are I would end up with a brick.

 

How does one even get a legal copy of Windows 7 these days for any machine?  Is it even possible?

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

My local MicroCenter has it in stock  http://www.microcenter.com/produ...

 

 

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

ki0bk wrote:
My local MicroCenter has it in stock

Interesting.  No 32 bit, though.  Although, if one place has some it is probably available elsewhere too.  I guess it is not surprising that some businesses have excess stock from the day.

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

MarkThomas wrote:
It looks like what it takes to install Windows on one of these things is beyond me, messing with the BIOS and all.
Windows has been UEFI centric since, IIRC, Windows 8.

Chromebooks will not have UEFI for quite sometime (but do have a TPM for secure boot); therefore, no Windows.

ChromeOS and ChromiumOS are for web apps presented on inexpensive computers.

An example of a software development web app is ARM Mbed Online Compiler.

More like that is here or forthcoming.

If web and cloud is a no go, Linux?

MarkThomas wrote:
How does one even get a legal copy of Windows 7 these days for any machine?
OEM? (for only one PC)

A retail instance can move around as one needs.

MSDN subscribers have access to all Windows builds.

The activation key for OEM Windows can be purchased on-line and there's instructions on how to obtain the installation image and key.

IIRC, one can run Windows for a while on the installation key so that one can test their applications before purchasing the activation key.

 


https://blogs.coreboot.org/blog/2017/05/08/announcing-coreboot-4-6/

...

 

UEFI support: A long road to go

...

https://msdn.microsoft.com/en-us/ (lower left, Subscriptions)

Microsoft SoftwareSwap

Marketplace for Microsoft Software

https://www.reddit.com/r/microsoftsoftwareswap/

(Download Links mid-page in right pane, or, follow a link to a seller then the download link)

https://www.askwoody.com/2016/the-safest-way-to-get-a-new-copy-of-the-windows-7-bits/

Client setup key is the installation key :

Microsoft

TechNet

Appendix A: KMS Client Setup Keys

https://technet.microsoft.com/en-us/library/jj612867.aspx

 

P.S.

It's started wink

https://chrome.google.com/webstore/search/AVR (Apps)

a few emacs there too; anything more is gravy.

Somehow, package for ChromeOS an equivalent of WinAVR.

 

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

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

an interesting source is the local Linux VAR :

SWT Online Store

SW Technology

https://www.swt.com/store/

(Software, Single Pack Software, in first pull-down menu select Microsoft)

some have stated they like Linux though need Windows for a few applications they really need or like.

 

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

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

I run a number of applications that are Windows only, like Atmel Studio and Visual Studio.  I am one of the oddballs that likes Windows.  I did a Google on "buy Windows 7" and there are lots of places that are selling it.  Dont know why I never looked before, but probably because I didnt need to.  I am all set now with 3 laptops running Windows 7, two with Atmel Studio.  I'm happy with what I have.  No reason to change now.  Thanks for all the links, though.  Lots of interesting stuff there, most of it above my level of sophistication.  But like I say, I am happy with what I have, and plan to just use it for the next 3 years and worry about what to do when Microsoft stops Win 7 support.

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

I installed the October Windows updates and AS7 seems to work.  What is strange is when I start it up on my little 2GB NetBook it uses 1.8GB of memory, almost all I have.  If I then open another project so there are two of them open at the same time the memory usage goes up to 1.9GB, and if I then close the second project so just the original remains the memory usage drops to 1.25GB, and everything speeds up, of course.  Very strange.  If I open and close a second project again memory usage drops to 1.14GB.  I wonder what is going on.  Any ideas anyone?

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

MarkThomas wrote:
I installed the October Windows updates and AS7 seems to work.
You're braver than me.

October Patch Tuesday is not going well for others.

There is an October .NET quality roll-up that may have OBE the issue of

http://www.avrfreaks.net/forum/windows-7-net-upgrade-woes-atmel-studio-7-build-1417

 


Computerworld

Microsoft patch problems persist: bad release sequences, CRM blocks and more

Blue screens, bungled releases, stealthy .NET upgrades, CRM blocks and complex manual fixes. October is shaping up to be one heck of a patch-encumbered month.

by , Columnist, Computerworld | Oct 12, 2017

https://www.computerworld.com/article/3232095/microsoft-windows/microsoft-patch-problems-persist-bad-release-sequences-crm-blocks-and-more.html

via https://askwoody.com/2017/ms-defcon-1-patches-failing-at-a-phenomenal-rate/

 

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

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

gchapman wrote:
You're braver than me.

I'm not using any virtual machines or anything fancy.  Other than the weird behavior with memory usage on my little netbook that is running Windows 7 Starter, it seems to work on that machine and a 6GB, 64 bit Toshiba laptop, both relatively old machines.  I have not tried installing VS7 on my new refurbished Lenovo.  After installing all updates on my "new" refurbished Lenovo I tried installing VS6.2, and it installed fine and seemed to work before I uninstalled everything associated with it.  It was just an experiment.  VS7 would not install on that machine before the September 12 updates.  I haven't tried since.  I don't really need it on two machines sitting next to each other on my bench, yet.