Atmel Studio/MS Visual Studio conflicts?

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

I remember reading that there were issues when trying to install Atmel Studio (the VS based releases) and Microsoft's own Visual Studio on the same machine.  One would break the other or both.  Is this still a problem?  I have Atmel Studio on my box and would like to install Visual Studio.  (2017 Community, but I hear MS is releasing 2019 around April.)

 

Anything special I should look out for *before* I install VS?

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

sevenbitshort wrote:
One would break the other or both.
One work-around was Hyper-V and a second instance of Windows :

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

A Windows container might be an option (Windows 10 Pro and subsequent)

sevenbitshort wrote:
Is this still a problem?
Apparently not if the combination is 2015 and 2017 (Atmel Studio 7 is from Visual Studio Isolated Shell 2015)

https://www.avrfreaks.net/forum/split-atmel-ice-not-recognized#comment-2642521

 


About Windows Containers | Microsoft Docs

Bench Talk | Containers: Similar To Virtual Machines For Embedded

ASP.NET Blog | Getting Started with Windows Containers

Visual Studio 2019 Launch Event - Visual Studio (2-Apr'19)

 

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

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

I have VS2017 Pro and AS7 on the same machine. No interaction.

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

Thanks guys.  Just installed VS 2017 and it runs fine.

 

gchapman wrote:

A Windows container might be an option (Windows 10 Pro and subsequent)

 

I'd actually thought about Hyper-V, but I would need a second Windows license.  I'm probably good for now, though the idea is appealing because I can mess up a VM without affecting my regular routine.  Haven't heard of containers before, a quick google shows it's a Win server feature?

 

 

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

sevenbitshort wrote:
I'd actually thought about Hyper-V, but I would need a second Windows license.
True for a second kernel (VM)

Containers go via one kernel, or, one of several or many kernels; Hyper-V is optional for Windows 10 containers.

sevenbitshort wrote:
I'm probably good for now, ...
Likely true especially after you've met your interoperability goals

AVR can go via Visual Studio extensions as an alternative to Atmel Studio.

sevenbitshort wrote:
Haven't heard of containers before, a quick google shows it's a Win server feature?
Windows Server 2016, Windows Server 2019, later versions and builds of Windows 10.

Containers have been in Linux and Un*x distributions for quite sometime.

Don't know about containers on macOS.

 

Am unaware of any instance of Atmel Studio in a container; a worthy effort of one?

 


Windows Container Types - About Windows Containers | Microsoft Docs

Process Isolation - Windows Containers FAQ | Microsoft Docs

https://docs.microsoft.com/en-us/virtualization/windowscontainers/about/faq#what-are-the-prerequisites-for-running-containers-on-windows

AppContainers - FreeBSD Wiki

 

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

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

gchapman wrote:

AVR can go via Visual Studio extensions as an alternative to Atmel Studio.

 

Huh, I didn't know that.  Will check it out, but I'm wondering how it handles tools like the Atmel-ICE.

 

gchapman wrote:

Am unaware of any instance of Atmel Studio in a container; a worthy effort of one?

 

Would tools plugged in via USB place nice with containers?  I've fiddled with VMWare's desktop player, and my experience with USB flash drives with it has been spotty.

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

sevenbitshort wrote:
Will check it out, ...
Visual Studio extensions by the tags AVR, Arduino, GDB :

  • Visual Micro
  • VisualGDB

Visual Studio Code has a few AVR extensions.

sevenbitshort wrote:
... but I'm wondering how it handles tools like the Atmel-ICE.
IIRC, the Visual Micro extension goes via Atmel Studio.

VisualGDB has AVaRICE built from its repository (so, EDBG leads to Atmel-ICE)

AVaRICE may work well though there's at least a bit of effort to add an AVR to it.

A possibility - A Microchip principal mentioned the AVR GDB proxy; am guessing that mates one of the FOSS GDB protocols to the open Microchip EDBG protocol .

(AVR GDB proxy as an alternative to AVaRICE?  AVR GDB proxy as competition to Texas Instruments MSP Debug Stack?)

sevenbitshort wrote:
Would tools plugged in via USB place nice with containers?
My guess is yes as implied by mention of MCU SDK in Lynnette's article.

If containers involve two or more operating system kernels (by a VMM or a hypervisor) then that may bork; a work-around may be a USB HCI is linked to one kernel, the other USB HCI to the other kernel.

A use case is Ubuntu Desktop on WSL via Windows 10 Pro Hyper-V.

sevenbitshort wrote:
... and my experience with USB flash drives with it has been spotty.
SD?

If yes, might try an industrial SD mass storage card as those go though verification and validation processes.

jporter's mention of the SD formatter may help :

https://www.avrfreaks.net/forum/fatfs-and-disk-removal#comment-2645466

 


https://marketplace.visualstudio.com/search?term=AVR%2C%20Arduino%2C%20GDB&target=VS&category=All%20categories&vsVersion=vs15&sortBy=Relevance

AVR Studio On Mac & Linux? | AVR Freaks

https://github.com/sysprogs/BSPTools/tree/master/DebugPackages (VisualGDB)

Debugging Arduino AVR boards with Visual Studio – VisualGDB Tutorials

https://www.avrfreaks.net/forum/avr-simulators-open-source#comment-2640886

Embedded Debugger-Based Tools Protocols User's Guide (EDBG)

MSPDS MSP Debug Stack | TI.com

Bench Talk | Containers: Similar To Virtual Machines For Embedded

by Lynnette Reese

August 4, 2017

...

In the embedded world, this is a boon to setting up complex System Development Kits (SDKs). Embedded developers must work from a host in most cases, and that host may be running any one of several OSes such as Windows 10, Win 8, Linux, or some iteration of OS X for Macintosh. Instead of requiring a developer to find a Linux machine to work on, the makers of the SDK can create Docker containers for several potential host OSes.

...

Run Ubuntu virtual machines made even easier with Hyper-V Quick Create - Windows Developer BlogWindows Developer Blog

 

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