Atmel Studio 7 Upgrade Issues Ver.7.0.1417 to Ver.7.0.1931 on WIN10

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

I've been searching online and in this forum for a similar issue, however, I have not discovered anything and am in hopes someone here can please help me out.

I had, previously, an AS7 version 7.0.1417 working well on my i3 WIN10 machine and have spent much effort developing an application "solution".  Yesterday, because I have another developer coming on board to write some firmware, I updated AS7 to version 7.0.1931.

The upgrade did not go smoothly or successfully.  After much difficulty, I was able to get to the point where the AS7 v1931 would start and not commit suicide.

At this point I can open my previous "solution" and, when attempting to rebuild it, I get an error when reaches the point of compiling the first .c file in the make.

The build error output is as follows:

**********************************************************************************

------ Rebuild All started: Project: FET_UpgradeB, Configuration: Debug ARM ------
Build started.
Project "FET_UpgradeB.cproj" (Clean target(s)):
Target "Clean" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\marsenault\Documents\Atmel Studio\7.0\Rev16\FET_UpgradeB\FET_UpgradeB\FET_UpgradeB.cproj" (entry point):
    Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".
    Task "RunCompilerTask"
        Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
        C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe clean
        rm -rf  src/ASF/common/boards/user_board/AD7175.o src/ASF/common/boards/user_board/adcComms.o src/ASF/common/boards/user_board/3300055rB.o src/ASF/common/services/spi/sam_spi/spi_master.o src/ASF/sam/drivers/rtc/rtc.o src/Systick_fn.o src/ASF/sam/drivers/spi/spi.o src/ASF/common/utils/stdio/read.o src/ASF/common/utils/stdio/write.o src/ASF/sam/drivers/usart/usart.o src/ASF/common/services/serial/usart_serial.o src/ASF/sam/drivers/uart/uart.o src/ASF/sam/drivers/pio/pio_handler.o src/ASF/sam/drivers/pio/pio.o src/ASF/common/services/delay/sam/cycle_counter.o src/ASF/common/services/clock/sam4s/sysclk.o src/ASF/sam/drivers/pmc/pmc.o src/ASF/sam/drivers/pmc/sleep.o src/ASF/common/boards/user_board/init.o src/ASF/common/utils/interrupt/interrupt_sam_nvic.o src/ASF/sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.o src/ASF/sam/utils/cmsis/sam4s/source/templates/system_sam4s.o src/ASF/sam/utils/syscalls/gcc/syscalls.o src/global.o src/main.o   
        rm -rf  src/ASF/common/boards/user_board/AD7175.d src/ASF/common/boards/user_board/adcComms.d src/ASF/common/boards/user_board/3300055rB.d src/ASF/common/services/spi/sam_spi/spi_master.d src/ASF/sam/drivers/rtc/rtc.d src/Systick_fn.d src/ASF/sam/drivers/spi/spi.d src/ASF/common/utils/stdio/read.d src/ASF/common/utils/stdio/write.d src/ASF/sam/drivers/usart/usart.d src/ASF/common/services/serial/usart_serial.d src/ASF/sam/drivers/uart/uart.d src/ASF/sam/drivers/pio/pio_handler.d src/ASF/sam/drivers/pio/pio.d src/ASF/common/services/delay/sam/cycle_counter.d src/ASF/common/services/clock/sam4s/sysclk.d src/ASF/sam/drivers/pmc/pmc.d src/ASF/sam/drivers/pmc/sleep.d src/ASF/common/boards/user_board/init.d src/ASF/common/utils/interrupt/interrupt_sam_nvic.d src/ASF/sam/utils/cmsis/sam4s/source/templates/gcc/startup_sam4s.d src/ASF/sam/utils/cmsis/sam4s/source/templates/system_sam4s.d src/ASF/sam/utils/syscalls/gcc/syscalls.d src/global.d src/main.d   
        rm -rf "FET_UpgradeB.elf" "FET_UpgradeB.a" "FET_UpgradeB.hex" "FET_UpgradeB.bin" "FET_UpgradeB.lss" "FET_UpgradeB.eep" "FET_UpgradeB.map" "FET_UpgradeB.srec"
    Done executing task "RunCompilerTask".
Done building target "Clean" in project "FET_UpgradeB.cproj".
Done building project "FET_UpgradeB.cproj".

Build succeeded.
------ Rebuild All started: Project: FET_UpgradeB, Configuration: Debug ARM ------
Build started.
Project "FET_UpgradeB.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\marsenault\Documents\Atmel Studio\7.0\Rev16\FET_UpgradeB\FET_UpgradeB\FET_UpgradeB.cproj" (target "Build" depends on it):
    Task "RunCompilerTask"
        Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils
        C:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe all --jobs 4 --output-sync
C:\Users\marsenault\Documents\Atmel Studio\7.0\Rev16\FET_UpgradeB\FET_UpgradeB\Debug\Makefile(252,1): error: recipe for target 'src/ASF/common/boards/user_board/AD7175.o' failed
        process_begin: CreateProcess(C:\Users\MARSEN~1\AppData\Local\Temp\make448-1.bat, C:\Users\MARSEN~1\AppData\Local\Temp\make448-1.bat, ...) failed.
        make (e=5): Access is denied.
        make: *** [src/ASF/common/boards/user_board/AD7175.o] Error 5
    Done executing task "RunCompilerTask" -- FAILED.
Done building target "CoreBuild" in project "FET_UpgradeB.cproj" -- FAILED.
Done building project "FET_UpgradeB.cproj" -- FAILED.

Build FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

********************************************************************************

At this point I would like to just revert back to the previous, working, version 7.0.1497.  Unfortunately, this version is not available on the website for download.  Also, it seems I am unable to UNINSTALL AS7.  When uninstall is kicked off the result is AS7 acts as though I am INSTALLING it!

Any help is much appreciated.

Thank you.
Mark

 

The great thing about multitasking is that several things can go wrong at once..

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

7.0.1417 is missing.

7.0.1645 has two corrections to 1417.

AVR and SAM Downloads Archive | Microchip Technology

 

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

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

Thank you.  Now, how do I completely uninstall the version 7.0.1931.  The uninstall doesn't seem to do anything but try to install. 

The great thing about multitasking is that several things can go wrong at once..

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

There's more than several threads here for Atmel Studio clean.

Via a thread that I guess might work for you :

FAQ: Fix Atmel Studio installation error "There is a problem with this Windows Installer package"

Most of what's in my bookmarks for Atmel Studio clean are from charla though, IIRC, others at Microchip have posted on that.

Approx 10 in my bookmarks; most recent : https://www.avrfreaks.net/forum/split-atmel-ice-not-recognized#comment-2642521

 

edit: target

 

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

Last Edited: Fri. Mar 15, 2019 - 06:19 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Not working for me at all.  Very disappointing that Ive used this tool for a couple years with no issues, now I cannot install and reinstall the same version successfully.

Unbelievable that the application cannot uninstall itself completely, especially since I set a restore point before trying to upgrade. Very frustrating that AS7 now seems to start and work, then just shuts itself down for no reason.

 

So, enough brooding over the mess that is AS7.

 

I've done everything the best I can to restore my system, remove all vestiges of the program, and reinstall an older version with no success.  I have no visibility into what piece of this clap trap is getting in the way.  Restore PC to before the upgrade, uninstalled AS7, manually cleaned the registry of keys related to Atmel, used CCleaner to get rid of the rest of registry remnants of AS7,  also tried the Revo uninstaller - but this relies on the Atmel uninstaller working properly which it is not.  What am I missing?  My ability to program this SAM4S and continue development has now come to a screeching halt.

The great thing about multitasking is that several things can go wrong at once..

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

" make (e=5): Access is denied. "

 

The actual error seems to be a rights issue - may help to run as Admin? (not a great long term solution though!)

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

I did try to run as Admin and also make sure the directories in question were R/W permissions - no help.  I've now reverted my PC, again, to a state prior to the upgrade.

I get loads of errors when I start the app.  I have attached the referenced log.

 

I am trying to use the recommended uninstall process from charla Posted : Tue. Jul 17, 2018 - 10:26 AM, but I cannot locate the files referenced by %appdata% and %localappdata%.  Not a Windows expert and didn't know I needed to be to uninstall this.  Sorry, getting a little frustrated after spending a day and a half spinning wheels.

 

 

 

Attachment(s): 

The great thing about multitasking is that several things can go wrong at once..

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

but I cannot locate the files referenced by %appdata% and %localappdata%.  Not a Windows expert 

May not be true for all but usually %appdata% points to:

 

APPDATA=C:\Users\<your ID>\AppData\Roaming

 

%localappdata% points to:

 

LOCALAPPDATA=C:\Users\<your ID>\AppData\Local

 

If you just start a Command Prompt and type the word "set" as a command you will see all your "environment strings" listed. In among those will be appdata and localappdata so you should be able to see the exact locations for your machine.

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

Thank you clawson, "set" did allow me to locate those locations. 

The great thing about multitasking is that several things can go wrong at once..

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

Redplanet wrote:
... also tried the Revo uninstaller - but this relies on the Atmel uninstaller working properly which it is not.  What am I missing?
Microsoft 

Fix problems that block programs from being installed or removed is an alternate to an application's uninstaller; via 'uninstall' with a mention of Revo Uninstaller Pro : FAQ: Fix Atmel Studio installation error "The older version of <Product_Name> cannot be removed"

 

Download Revo Uninstaller Freeware - Free and Full Download - Uninstall software, remove programs, solve uninstall problems

 

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

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

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

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

Ok gchapman, thanks for the pointer to version 7.0.1417.  Now downloading...

The great thing about multitasking is that several things can go wrong at once..

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

Part of my installation issues have been found to be related to our corporate Carbon Black (Cb) antivirus.  Microsoft event log shows Cb is blocking some exe activity during install.  I got IT to whitelist the install.  At this point AS7 seems to have installed and will open and build my existing project.  There are two issues that AS7 is still complaining about.  Please see the attached activity log and let me know if these need to be addressed, or it's just due to some parts left from a prior install.

 

Thank you.

Attachment(s): 

The great thing about multitasking is that several things can go wrong at once..

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

Open C:\PROGRAM FILES (X86)\ATMEL\STUDIO\7.0\EXTENSIONS\ATMEL\AS-VSIX-TOOLCHAIN-PROVIDER\ and see if you have two 'version' folders in there. If you do, delete one of them... (maybe leftovers ?)

:: 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: 1

Yes, I did have two versions there, one from earlier this a.m. and the other from this afternoon.  Deleted the earlier one, AS7 seems to be fine with that.

 

Thank you.  Knock on wood I think I'm all set! 

The great thing about multitasking is that several things can go wrong at once..