Atmel Studio 7.0.1645

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

It's that time of the year, the next release of Atmel Studio is finally done (yes, copy-paste from the previous post).

 

The readme/release note contains most of the info, so without further ado:

 

Most notable bugs that are fixed:

  • AVRSV-7798: Tiny817 fuse programming from ELF issue.
  • AVRSV-7903: Studio automatically sets GPNVM bits [7:8] thereby enabling TCM
  • AVRSV-7892: Writing SAML22 RWW flash fails
  • AVRSV-7883: Incorrect warning message for KB2978092 during installation of AS 7.0.1417
  • AVRSV-7854: NaN values not handled by atprogram
  • AVRSV-7911: Problems reading device ID on ATmega4809

 

Do note that if you use QTouch, you need to upgrade the QTouch Composer extension from the Extension Manager when upgrading to this version.

 

GCC Updates:

  • AVR 8-bit GCC Toolchain 3.6.1.
  • ARM GCC Toolchain 6.3.1 with upstream versions:
    • gcc (ARM/embedded-6-branch revision 249437), GNU ARM Embedded Toolchain: 6-2017-q2-update

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

Last Edited: Fri. Jun 22, 2018 - 04:51 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

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

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

meolsen wrote:
AVRSV-7883: Incorrect warning message for KB2978092 during installation of AS 7.0.1417

 

Horray!

 

(-:

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

meolsen wrote:
GCC Updates:

  • AVR 8-bit GCC Toolchain 3.6.1.
Is there an update of the FOSS link in-work?

http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/

 

Thanks!

 

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

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

Of course, but again this will take some more time (microchip.com will also be updated, eventuallysmiley)

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

meolsen wrote:
AVRSV-7883: Incorrect warning message for KB2978092 during installation of AS 7.0.1417

Does that include the KB2999226 issue noted here: https://www.avrfreaks.net/comment...?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No, we still need that one...

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

meolsen wrote:
No, we still need that one...

 

Oh.. The I subtract at least the "Horr" from my "Horray"... ;-)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Awww, you're no fun anymore smiley

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Nope. Typically Swedish. (Tråkiga jävlar - ikke noen Göy tilstede..)

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

Well, the installation succeeded.  The shortcut icon is a blank page on my toolbar.  It doesnt look like a Ladybug.  Now let's see if everything works.

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

I restarted my machine and now the icon looks like a Ladybug.

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

I restarted my machine and now the icon looks like a Ladybug.

Un-pinning from the task bar then re-pinning to the task bar resolved that issue for me.  

Greg Muth

Portland, OR, US

Xplained/Pro/Mini Boards mostly

 

Make Xmega Great Again!

 

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

Morten,

 

can you also add a link to the full download in your initial post, then with the copying that will be there for all future copy and paste updates.

 

thanks

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

Thanks motion,

but hope that Meolsen will add it to his initial post, so that when he does updates again, this link will also be "automatically" there.

 

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

First run had error opening project:

Value cannot be null. Parameter name: url

 

And only "Import Arduino sketch" was available in create new project.

 

Solution: Close AtmelStudio after first run after the install, reopen.

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

Should we expect some sort of notification from Microchip that there are updates to Atmel Studio, or do we just have to check the Microchip website around this time of year or hope we see a post here like this one from Morton? 

 

Or do we really think this is the last update to Atmel Studio we will ever see?

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

What? The update notification in Studio is there... The websites are in the process of updating...Do you want a telegram as well?

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

MarkThomas wrote:
Or do we really think this is the last update to Atmel Studio we will ever see?
I vote no though I'm Visual Studio centric.

  • Defect corrections
  • ASF3 is still alive
  • New features (one poster wants an off-line ASF4 for configuration control)
  • Updated GCC usually means new switches
  • (assumption) newer versions of Visual Studio Isolated Shell

 

https://docs.microsoft.com/en-us/visualstudio/extensibility/shell/visual-studio-isolated-shell

 

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

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

meolsen wrote:
Do you want a telegram as well?

A telegram would be nice, or a notification of updates like I get from Window Updates, or an email to my Microchip account.  I went to the Atmel Studio download page on the Microchip website and build 1417 is the only one available.  I dont see where the new version is mentioned.  Sorry, I have a hard time with the Microchip website.

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

The page is not updated yet. There's a flag in the top right corner in studio telling you about the update...

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

I understand the website is being updated, so the new version not being on the download page is understandable.  But when I search on Atmel Studio 7 I cant find anything about a new version.  I dont know the web site very well.  Where would I find said notification?  A URL?

 

When I first downloaded AS7 from Atmel I had to log in to my account.  It would be cool if that account email address would get a notification of changes to AS.  I have signed up for weekly change notifications for several products on the Microchip site, but I couldn't seem to add Atmel Studio to the list I would like updates for.  I only saw hardware products.

 

Dont get mad at me, Morton.  I am not  one  of the geniuses here.  Just a typical experienced developer in C and C++.

 

mark

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

OH, OK i see the flag.  Was wondering what it was about.  I take back all my complaints.  Sorry Morton.

 

mark

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

The new Atmel Studio uses much less memory on my little 10" 2GB machine.  Maybe it is due to my not including the ASF plugin, but I am pleased it uses a reasonable amount of memory instead of almost all I have.  Good work Morton.

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

MarkThomas wrote:

Should we expect some sort of notification from Microchip that there are updates to Atmel Studio

 

The upgrades notification flag in the previous AtmelStudio is lighting up and displaying it.

 

It is sensible to stagger a release anyway, rather than exposing everyone to a bug which may have to be patched with another version shortly after.

Last Edited: Thu. Oct 26, 2017 - 12:13 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Phew, this one went smoothly, it only took me 3 reinstalls to get the new version workingcheeky I had to delete every last configuration file from the old version, or it would fail to open any projects, complaining about corrupt toolchains or whatever.

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

El Tangas, are you using Windows 10? 

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

No, I use Windows 7, and will keep using it until I'm forced to change.

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

Yeah, me too.

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

Hi Morten, The installation was perfect on Windows 10 Pro Version 1709 OS Build 16299.19.  Seems to run faster and definitely uses less resources.  Good job.  Now if you guys make a Visual Studio Code extension you would make my day.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

That was fast, thanks.  Does this allow calling up Visual Studio Code from within the IDE itself, say by double clicking on a source file name?

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

larryvc wrote:
Now if you guys make a Visual Studio Code extension you would make my day.
Concur

 

Different tack -

Another "make my day" is Atmel Studio in Microsoft Store.

Reasons :

  • Windows 10 Enterprise in S Mode
  • Windows 10 S
  • Microsoft Surface Laptop
  • Low price notebook PC for students, schools (secondary, post-secondary), and libraries
  • When Arduino via Microsoft Store is not enough (iow when need an Atmel-ICE)

 


https://www.avrfreaks.net/forum/atmel-studio-701416701417?page=1#comment-2295131

https://www.microsoft.com/en-us/surface/devices/surface-laptop/overview

https://www.microsoft.com/en-us/education/devices/default.aspx

https://www.avrfreaks.net/forum/arduino-windows-10-s

 

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

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

Never fixed the "Add as Link" bug introduced in AS 7.x :-((

Last Edited: Sun. Oct 29, 2017 - 04:26 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

That was fast, thanks.  Does this allow calling up Visual Studio Code from within the IDE itself, say by double clicking on a source file name?

Huh? No...? It's a debug extension that hooks onto the debug backend from Atmel Studio.

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

I realize that was the purpose of the extension that you provided.  I was hinting that you could give us an editor extension to Visual Studio Code from within the ASDE bypassing the internal editor altogether, wish list item.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

Hehe, Pull Requests are always welcome...

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Pull Requests

As in "pull the other leg"?

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:

Pull Requests

As in "pull the other leg"?

 

Pull a rabbit out of a hat

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

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

M0+ debugging (at least SAMD20s) may be broken with this update. Refuses to write fuses or write memory in debug. Older version works fine :/

Last Edited: Mon. Oct 30, 2017 - 06:12 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My D20 XPRO works fine in a quick test. Tried fuse writes from the prog dialog, and modifying flash while in debug.

Can you send me (PM)  %appdata%/Atmel/Studi/7.0/...ApplicationStatus.log  after a session where fuse write fails ? Same for memory write failure.

 

Best regards,

Dan (Studio team)

 

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

Sent PM. Might be related to using the SAM-ICE over other debuggers? The SAM-ICE was broken before in Studio updates early on :/

 

I have a second computer which never had studio on it encountering the same error with 1645.

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

I installed this thing (1645) from Microchip.  The good news is it only downloaded 80 megabytes, or so it seems.  Normally it downloads terabytes.

 

The bad news is, Microchip apparently embedded a Trojan. It won't load a project unless I give it admin privileges.  What do I do now?

 

I should mention I installed it on a backup/test machine.  My primary computer has 1417.  I can usually get that one to work although sometimes is likes to fool around with my files.  I use folders and I add files with links.  This new version seems to do a better job of that but I don't want to run it with admin privileges.

Last Edited: Wed. Nov 1, 2017 - 03:00 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

steve17 wrote:

It won't load a project unless I give it admin privileges.  What do I do now?

 

Could you share what is the error you are getting during project load?

 

Regards,

Charles

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

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

Oh, I know this one, happened to me when I updated to the new version. I had to uninstall AS7, cleanup any remaining configuration and log files in programdata, appdata/local, appdata/roaming, clean the registry, well, you get the picture, leave no traces of the previous install.

 

I'm not sure exactly which "remains" are responsible, but after the cleanup, a fresh install worked.

 

edit: just to make that clear, you don't need to delete your projects (well, I didn't have to).

 

edit 2: I see you also have problems with admin privilege. I also had that problem. You need to install AS7 logged in the admin account, if you install from a user account, even if you give the admin password, it will not work properly in user mode.

 

edit 3: Ah, we already discussed these issues before: www.avrfreaks.net/forum/need-hel...

Last Edited: Fri. Nov 3, 2017 - 02:23 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

After upgrading to 1645, do you need to go into the Device Pack Manager and check all the ones you want to install/upgrade?  I opened a project and it prompted to update.  I did find where you could set the project to use the latest version.

Last Edited: Fri. Nov 3, 2017 - 03:25 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's weird.  It works okay with admin permissions.  It seems like Studio can't access something because it doesn't have permission.   Maybe I could go to the Atmel folders and give me permission for everything inside them.

 

 

Last Edited: Fri. Nov 3, 2017 - 04:25 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't use any device packs.  I don't use ASF.  Basically all I need is the toolchain for AVR8.  I didn't have this problem with an earlier version of Studio 7.

 

Well maybe I do use device packs.  I have to specify a device but I was thinking that was for the debugger.  

Last Edited: Fri. Nov 3, 2017 - 04:49 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't use any device packs. 

Yes you do when

need is the toolchain for AVR8

so you need to install the device pack for the 8 bit AVR.

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

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

steve17 wrote:

 

1) Go To Run in Windows

2) Type %appdata%\Atmel\AtmelStudio\7.0

3) Delete the above folder

4)Type %localappdata%\Atmel\AtmelStudio\7.0

5) Delete the above folder

6) Start Studio and open the project.

 

Note: This will remove the existing settings for Atmel Studio like Windows Layout, Recent projects etc.

 

Regards,

Charles

 

 

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

alank2 wrote:

After upgrading to 1645, do you need to go into the Device Pack Manager and check all the ones you want to install/upgrade?  I opened a project and it prompted to update.  I did find where you could set the project to use the latest version.

 

I am not sure whether you found it but for clarification. Right click on Project and go to Properties.

 

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

steve17 wrote:

I don't use any device packs.  I don't use ASF.  Basically all I need is the toolchain for AVR8.  I didn't have this problem with an earlier version of Studio 7.

 

Well maybe I do use device packs.  I have to specify a device but I was thinking that was for the debugger.  

All part support is contained in the part packs (device packs). Header files, linker scripts, assembly include files, ... Not everybody is happy for this disconnect from the toolchain, but for us it gives the advantage of being able to distribute new part support and fix bugs without having to release a new toolchain. All our packs is available at http://packs.download.atmel.com/

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

 

 

charla wrote:

 

1) Go To Run in Windows

2) Type %appdata%\Atmel\AtmelStudio\7.0

3) Delete the above folder

4)Type %localappdata%\Atmel\AtmelStudio\7.0

5) Delete the above folder

6) Start Studio and open the project.

 

Thanks, that fixed the problem.

 

Something strange happened to my computer shortly thereafter.  Some programs froze up and others worked okay.  Studio worked okay.  The start button didn't do anything.  Ctrl-alt-del worked but nothing on its menu did.  Trying to sign out or restart or shutdown was futile.  All that happened was a blank screen with those white balls chasing each other around a circle.  I had to pull the plug.  Well actually pressing and holding the power button.

 

This situation is very unusual.  I don't know if Studio did it, but deleting stuff in appdata is rather unusual also.

 

Since re-booting, everything seems to be normal.

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

Maybe not so normal.  Now my HyperTerminal doesn't work.  It can't read the session file.  It gives a pathlist in AppData.  It shows "Accessories" in the pathlist.  But I have "Windows Accessories" instead.  Maybe that folder name change in the error message is irrelevant because HyperTerminal hasn't changed since XP.

 

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

Well that wasn't so bad.  I just had to create a new port.

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

charla wrote:

 

1) Go To Run in Windows

2) Type %appdata%\Atmel\AtmelStudio\7.0

3) Delete the above folder

4)Type %localappdata%\Atmel\AtmelStudio\7.0

5) Delete the above folder

6) Start Studio and open the project.

 

Thanks, that fixed the problem.

 

 

 

Really? I already said that in #47, but apparently step by step recipes are needed. Well, I'll keep that in mind for the future...

Last Edited: Fri. Nov 3, 2017 - 02:28 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If I had installed Studio as an admin, would I have avoided this?

 

I don't want to go through this on my primary computer.

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

charla wrote:

I am not sure whether you found it but for clarification. Right click on Project and go to Properties.

 

I found it, but everytime I change a project to "use the latest version", AS7 crashes.  At least when I reopen it, the project does have the change...

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

Funny UI issues after upgrades are almost always due to the caches in %LOCALAPPDATA%/AtmelStudio/7.0

 

I wish the studio installer just cleared them. (Because VS2015 isn't smart enough to regenerate them)

Last Edited: Mon. Nov 6, 2017 - 01:55 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Done

Thank you!

 

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

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

Tried to update 7.0.594 to 7.0.1645, update failed. Then I removed 7.0.594 to install from scratch. The drivers install, but then "Atmel Development Environment" fails to install according to the installation log. Not too sure where in installation log to look for the problem. Any ideas?

Many Thanks

J.Clark

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

If you can share your log we can help you look.

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

Thanks for getting back to me. I attached the log. It seems that all goes well until:

 

MSI (s) (38:6C) [13:24:20:113]: Hello, I'm your 32bit

Impersonated custom action server.
Action start 13:24:19: ExtractContent.
SFXCA: Failed to create new CA process via RUNDLL32. Error code: 2 

 

Then a list of Property (S) that refer to locations that did not exist when the installation started??

 

I attached the log. Many thanks.

Attachment(s): 

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

Hello All,

after updating to 7.0.1645 on Windows 7 x64 the IDE is trying to update the EDBG firmware for a couple of SAM D21 and L21 boards (i.e. from revision 3.19 or 3.1f to 3.25). The progress bar is full instantaneously I get the message EDBG MSD firmware successfully upgraded. But it's not, and I cannot flash my software anymore!

I have tried also with atfw directly, but with no success, atfw crashes!

Do you have any idea what I can do to continue work?

Best regards,
Draghi

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

Take the kit out of MSD mode.
.
View-Available Tools, right click the edbg, kit mode settings, select DGI and make sure Persist is checked.

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Hi, meolsen, 

I have same problem to update the EDBG firmware from revision 3.22 to 3.25. After following your instructions, changed edbg to DGI mode with persist checked(before is AUTO mode) the update is still not sucessful from Atmelstudio or from command line. And I can no longer view the edbg in Atmelstudio even though the vitual port is visible. Could you give me some more details? 

 

Edit: I solved the problem by try and error. Set to DGI but persist not checked->command line to update->some error message and can not go on->replug the device and update in studio(setting is back to "AUTO" and persist checked)->update sucess.

Last Edited: Wed. Nov 29, 2017 - 02:23 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I was trying to install "as-installer-7.0.1645-full.exe" on win10, but this message was displayed. Does anyone have the same symptoms?

 

 

Cannot find one or more components. Please reinstall the application.

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

View-Available Tools, right click the edbg, kit mode settings, select DGI and make sure Persist is checked

That worked for me! Tnx meolsen

Last Edited: Tue. Dec 19, 2017 - 06:59 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

draghi wrote:

Hello All,

after updating to 7.0.1645 on Windows 7 x64 the IDE is trying to update the EDBG firmware for a couple of SAM D21 and L21 boards (i.e. from revision 3.19 or 3.1f to 3.25). The progress bar is full instantaneously I get the message EDBG MSD firmware successfully upgraded. But it's not, and I cannot flash my software anymore!

I have tried also with atfw directly, but with no success, atfw crashes!

Do you have any idea what I can do to continue work?

Best regards,
Draghi

 

Hi,

 

Could you try the following update http://studio.download.atmel.com/7.0.1652/as-installer-7.0.1652-web.exe and see whether it fixes the issue?

 

Regards,

Charles

Last Edited: Wed. Feb 21, 2018 - 02:37 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Any chance we can get Atmel Studio 7 to not overwrite the Arduino Bootloader when using the Atmel JTAGICE3 to program an Arduino via ISP?  Or, have an easy way (menu option?) to restore Arduino Bootloaders?  Is there a quick way to restore it via the JTAGICE3?  I programmed my Mega2560 via it's ISP (not the onboard ATmega16u2's ISP) but now when I try to program it via the USB/ATmega16u2 using the Arduino IDE I get "stk500v2_ReceiveMessage(): timeout" messages.  I don't understand what's going on.  I thought the Atmega16u2 programs the ATmega2560 via the Atmega2560's ISP also.  Guess I was wrong.

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

cfo215 wrote:

Any chance we can get Atmel Studio 7 to not overwrite the Arduino Bootloader when using the Atmel JTAGICE3 to program an Arduino via ISP?  Or, have an easy way (menu option?) to restore Arduino Bootloaders?  Is there a quick way to restore it via the JTAGICE3?  I programmed my Mega2560 via it's ISP (not the onboard ATmega16u2's ISP) but now when I try to program it via the USB/ATmega16u2 using the Arduino IDE I get "stk500v2_ReceiveMessage(): timeout" messages.  I don't understand what's going on.  I thought the Atmega16u2 programs the ATmega2560 via the Atmega2560's ISP also.  Guess I was wrong.

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

cfo215 wrote:
Any chance we can get Atmel Studio 7 to not overwrite the Arduino Bootloader when using the Atmel JTAGICE3 to program an Arduino via ISP?
But that's a feature of the mega2560? ISP will start with a "chip erase" and 2560has no way to do "selective erases". It's always the case that doing ISP blows away bootloaders. It's only when you get to Xmega and some modern models of AVR that there are now mechanisms to prevent this. You'd have the same experience if you used avrdude in place of AS7. So it's not a deficiency of AS7 as such.

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

That just gives me the following error message:

 

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:01:35
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "/Users/Christos/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino9/etc/avrdude.conf"
         User configuration file is "/Users/Christos/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : usb
         Using Programmer              : stk500v2
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

avrdude done.  Thank you.

Error while burning bootloader.

 

My fuses and bits look like this:

 

BODLEVEL = 2V7
OCDEN = [ ]
JTAGEN = [ ]
SPIEN = [X]
WDTON = [ ]
EESAVE = [X]
BOOTSZ = 4096W_1F000
BOOTRST = [X]
CKDIV8 = [ ]
CKOUT = [ ]
SUT_CKSEL = EXTXOSC_8MHZ_XX_16KCK_65MS

EXTENDED = 0xFD (valid)
HIGH = 0xD0 (valid)
LOW = 0xFF (valid)

LB = NO_LOCK
BLB0 = NO_LOCK
BLB1 = LPM_SPM_DISABLE

LOCKBIT = 0xCF (valid)

 

I wish it was that simple... i'd not be here then.

Last Edited: Tue. Feb 27, 2018 - 03:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Can you show us the command you used when running Avrdude?

 

And just to make it clear, you have a JTAGICE3 connected to target?

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

You need to also change the programmer on the line above.
.
Now it's set to use an avrisp2...

:: Morten

 

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

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Yes, to connected via JTAGICE3.

 

Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega2560 -cjtag3isp -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m 

avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : jtag3isp
avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2110, 0x2140

avrdude done.  Thank you.

Error while burning bootloader.

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