Author Topic: Life of Atmel Studio after Atmel  (Read 3755 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Life of Atmel Studio after Atmel
« on: April 15, 2018, 08:14:56 am »
I'm just wondering. Is Microchip planning to continue AS or will it eventually move the IDE over to MPLABX ? I seem to remember that one of the drivers for Atmel versus Microchip was that Atmel used an open source C compiler whereas microchips compiler was very expensive (£1000+ comes to mind) or free code size limited crippleware.
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #1 on: April 15, 2018, 10:47:06 am »
Yeah those websites are probably outdated.. no size limit for XC8, but no optimization either. (it's mikroe which does full optimization but very small size limit)

XC16 and 32 have no size limit and free optimization (-O1) available. methods were found in this forum to bypass the license check so you can use -O2 and -O3 but i wouldn't rely on "hacks" for commercial products.. And -O1 is enough. It gets rid of most of the garbage, with library functions it tends to use hardware tricks like the zero-overhead-loops for iterative operations.. and it's still easy to debug

Regarding to your question, I don't know if they will add licenses to AVR-GCC and the ATMEL-ARM-GCC.
Unfortunately for some (i don't really mind) i think their plan is to move everything to mplab x. latest versions have added initial support / menus for XPLAINED boards, mentions of other ATMEL stuff here and there.
One thing for sure, every time i have to open eclipse i thank the gods that microchip went the netbeans way.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #2 on: April 15, 2018, 10:52:03 am »
Well having tried and failed again to setup my custom header files location in Atmel studio (u$oft visual fuckover) I tried maplab. Yes there is initial support as in you can pick the AVR category for starting a new project but no AVR device is listed.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Life of Atmel Studio after Atmel
« Reply #3 on: April 15, 2018, 11:59:40 am »
Microchip have started adding support for ARM devices to MPLAB X, and the latest version of XC32 bundles both MIPS and ARM compilers. But there's plenty of vendor-neutral tools for ARM microcontrollers to choose from.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #4 on: April 15, 2018, 12:03:47 pm »
Well I'm trying to use a tiny24a, back of the que I guess.
 

Offline cv007

  • Frequent Contributor
  • **
  • Posts: 822
Re: Life of Atmel Studio after Atmel
« Reply #5 on: April 15, 2018, 02:58:41 pm »
Quote
but i wouldn't rely on "hacks" for commercial products
Its not rocket science or voodoo. The source code is available as required (xc16/xc32), and if you can read code there is no mystery what is happening. The compiled code is exactly the same as the 'paid' version. Exactly. Always. There can be many reasons to go for the paid version (priority support would be one), but to think that you are getting a more 'reliable' compiler in the paid version makes no sense. You don't even need to 'hack' any file to get all optimizations/enable c++.

I think the OP is not interested in xc16/xc32, so it doesn't matter anyway.

Quote
and the latest version of XC32 bundles both MIPS and ARM compilers
They have 2 ARM M4 crypto controllers- which seem to have no home, so they adopted them in mplabx for some reason. Maybe its a test run to see if they can make arm work in mplabx.


Whatever they do with AS/MPLABX, its not going to happen quickly. So unless you want to wait around for at least a few years, plan to use what is available now.

You can also look into the mchp 8bit parts (newer ones with pps are nice), then you can use MPLABX instead of AS. The xc8 compiler (not open source/gcc) in free mode is restricted in some optimizations, but it is not a big deal (at all). They have a $30 Curiosity board which can mount 8-20pin pics, includes a programmer/debugger, and works quite nicely. I guess it depends how attached you are to the tiny24. Just a thought.

 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #6 on: April 15, 2018, 04:22:03 pm »
Quote
but i wouldn't rely on "hacks" for commercial products
Its not rocket science or voodoo. The source code is available as required (xc16/xc32), and if you can read code there is no mystery what is happening. The compiled code is exactly the same as the 'paid' version. Exactly. Always. There can be many reasons to go for the paid version (priority support would be one), but to think that you are getting a more 'reliable' compiler in the paid version makes no sense. You don't even need to 'hack' any file to get all optimizations/enable c++.

I think the OP is not interested in xc16/xc32, so it doesn't matter anyway.

Quote
and the latest version of XC32 bundles both MIPS and ARM compilers
They have 2 ARM M4 crypto controllers- which seem to have no home, so they adopted them in mplabx for some reason. Maybe its a test run to see if they can make arm work in mplabx.


Whatever they do with AS/MPLABX, its not going to happen quickly. So unless you want to wait around for at least a few years, plan to use what is available now.

You can also look into the mchp 8bit parts (newer ones with pps are nice), then you can use MPLABX instead of AS. The xc8 compiler (not open source/gcc) in free mode is restricted in some optimizations, but it is not a big deal (at all). They have a $30 Curiosity board which can mount 8-20pin pics, includes a programmer/debugger, and works quite nicely. I guess it depends how attached you are to the tiny24. Just a thought.
I agree with every word. I never thought for a second that hacked -O3 is different than paid -O3, it's just that an update could break the "hack" (see the quotes?) And you may find yourself to choose between updating and getting compiler bugs fixed or compiling the full version.

If you know how to compile the compiler good for your, i don't i suck at these things  i like installers.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #7 on: April 15, 2018, 04:47:49 pm »
I'm no IDE expert and am giving netbeans a go. Anything I need to do to make it work? It has picked up on the availability of GCC for AVR so will that do it ?
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #8 on: April 15, 2018, 04:52:20 pm »
uh.. netbeans is the platform MPLAB X is based on, just as for example NXP LPC Expresso is just eclipse with some fancy plugins
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #9 on: April 15, 2018, 04:55:59 pm »
Yes I know. I just needed to pick an IDE and set it up without any bullshit from any vendor. I have created a new thread specifically about my progress: https://www.eevblog.com/forum/microcontrollers/going-bare-with-netbeans-and-writing-code-for-avr/new/#new
 
The following users thanked this post: JPortici

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3452
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #10 on: April 15, 2018, 05:20:58 pm »
great, i just wanted to be sure
 

Offline agehall

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #11 on: April 15, 2018, 05:27:57 pm »
If you want a vendor independent IDE, I'd highly recommend Visual Studio Code. I'm a die-hard Emacs guy, but VSC is changing my mind quickly...
 
The following users thanked this post: newbrain

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #12 on: April 15, 2018, 05:35:35 pm »
If you want a vendor independent IDE, I'd highly recommend Visual Studio Code. I'm a die-hard Emacs guy, but VSC is changing my mind quickly...

OK, so how do I get it compiling for AVR ?
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #13 on: April 15, 2018, 06:45:51 pm »
I am looking at it with platformio installed. But there seems to be some confusion between AVR and Arduino
 

Offline maginnovision

  • Super Contributor
  • ***
  • Posts: 1963
  • Country: us
Re: Life of Atmel Studio after Atmel
« Reply #14 on: April 16, 2018, 05:30:21 am »
I am looking at it with platformio installed. But there seems to be some confusion between AVR and Arduino

Other than most of the libraries being a bit bloated Arduino and AVR are effectively the same. Arduino just wraps some stuff up to be easier for beginners. Including assembly if you go with avr gcc.
 

Offline agehall

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #15 on: April 16, 2018, 05:47:24 am »
If you want a vendor independent IDE, I'd highly recommend Visual Studio Code. I'm a die-hard Emacs guy, but VSC is changing my mind quickly...

OK, so how do I get it compiling for AVR ?
Have not looked into it myself as I'm quite happy with Atmel Studio for now, but everything else I've needed in VSC has been available as a plugin with instructions for how to setup any external dependencies.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 17729
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Life of Atmel Studio after Atmel
« Reply #16 on: April 16, 2018, 07:05:44 am »
I am looking at it with platformio installed. But there seems to be some confusion between AVR and Arduino

Other than most of the libraries being a bit bloated Arduino and AVR are effectively the same. Arduino just wraps some stuff up to be easier for beginners. Including assembly if you go with avr gcc.

Yes but I don't want to use arduino code style due to the bloat it will call in. platformio seems to try and mimic arduino and wants libraries putting into project folders whereas I want one standard folder on my machine so that when I update or improve or fix I don't have to do a round robbin.

I have returned to Atmel studio as I have figured out what I was getting wrong, I'll just have to see what happens when it is phased out.
 

Offline agehall

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #17 on: April 16, 2018, 07:40:09 am »
If you want a vendor independent IDE, I'd highly recommend Visual Studio Code. I'm a die-hard Emacs guy, but VSC is changing my mind quickly...

VSC drains battery quickly on mac. For that reason I have moved to UE.
Really? I have not noticed this at all and I'm on an MBP most of the day.
 

Offline Mr. Scram

  • Super Contributor
  • ***
  • Posts: 9810
  • Country: 00
  • Display aficionado
Re: Life of Atmel Studio after Atmel
« Reply #18 on: April 16, 2018, 07:52:51 am »
It'd be stupid for them to kill off Atmel Studio. I think a fair amount of people are quite happy with it.
 

Offline agehall

  • Frequent Contributor
  • **
  • Posts: 381
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #19 on: April 16, 2018, 08:02:05 am »
If you want a vendor independent IDE, I'd highly recommend Visual Studio Code. I'm a die-hard Emacs guy, but VSC is changing my mind quickly...

VSC drains battery quickly on mac. For that reason I have moved to UE.
Really? I have not noticed this at all and I'm on an MBP most of the day.

When I use VSC (with default settings, no add'l plugins), my 12" toy MB holds ~7 hours. With UE, I don't know how long can it last since I never tested its battery life again, but it runs cooler.

Also, Intel Power Gadget shows VSC using more power.

Interesting. I certainly have not noticed that effect on my computer but I'll try measure the effects of it as well. If that is the case, that is something they need to fix...
 

Offline snarkysparky

  • Frequent Contributor
  • **
  • Posts: 414
  • Country: us
Re: Life of Atmel Studio after Atmel
« Reply #20 on: April 19, 2018, 01:10:02 am »
It'd be stupid for them to kill off Atmel Studio. I think a fair amount of people are quite happy with it.

That would make it likely for them to charge for it.  Which is essentially killing it off.
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: Life of Atmel Studio after Atmel
« Reply #21 on: April 19, 2018, 04:52:06 am »
As of the toolchains ARM, AVR, PIC32 and PIC16 all uses GCC, so there is always compile-your-own route with license check patched out and base compiler rebased to the latest (I even have an AVR GCC version 7.2 for macOS archive, much newer than anything Microchip or Atmel ever packaged.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf