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

0 Members and 1 Guest are viewing this topic.

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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, 06:14:56 pm »
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.
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 2061
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #1 on: April 15, 2018, 08:47:06 pm »
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.
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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, 08:52:03 pm »
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.
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Offline andersm

  • Frequent Contributor
  • **
  • Posts: 895
  • Country: fi
Re: Life of Atmel Studio after Atmel
« Reply #3 on: April 15, 2018, 09:59:40 pm »
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.

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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, 10:03:47 pm »
Well I'm trying to use a tiny24a, back of the que I guess.
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Offline cv007

  • Regular Contributor
  • *
  • Posts: 202
Re: Life of Atmel Studio after Atmel
« Reply #5 on: April 16, 2018, 12:58:41 am »
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.

 

Online JPortici

  • Super Contributor
  • ***
  • Posts: 2061
  • Country: it
Re: Life of Atmel Studio after Atmel
« Reply #6 on: April 16, 2018, 02:22:03 am »
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.
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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 16, 2018, 02:47:49 am »
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 ?
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Online JPortici

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

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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 16, 2018, 02:55:59 am »
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: http://www.eevblog.com/forum/microcontrollers/going-bare-with-netbeans-and-writing-code-for-avr/new/#new
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 
The following users thanked this post: JPortici

Online JPortici

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

Offline agehall

  • Regular Contributor
  • *
  • Posts: 141
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #11 on: April 16, 2018, 03:27:57 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...
 
The following users thanked this post: newbrain

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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 16, 2018, 03:35:35 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 ?
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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 16, 2018, 04:45:51 am »
I am looking at it with platformio installed. But there seems to be some confusion between AVR and Arduino
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Offline maginnovision

  • Regular Contributor
  • *
  • Posts: 110
  • Country: us
Re: Life of Atmel Studio after Atmel
« Reply #14 on: April 16, 2018, 03:30:21 pm »
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

  • Regular Contributor
  • *
  • Posts: 141
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #15 on: April 16, 2018, 03:47:24 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 ?
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.
 

Online Simon

  • Global Moderator
  • *****
  • Posts: 11412
  • 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, 05:05:44 pm »
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.
https://www.simonselectronics.co.uk/shop New stock now in of EEVblog Brymen 235 and uCurrent Gold, Now selling a selection of Probe Master probes
 

Online blueskull

  • Supporter
  • ****
  • Posts: 9340
  • Country: cn
  • Power Electronics Guy
Re: Life of Atmel Studio after Atmel
« Reply #17 on: April 16, 2018, 05:25:11 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...

VSC drains battery quickly on mac. For that reason I have moved to UE.
SIGSEGV is inevitable if you try to talk more than you know. If I say gibberish, keep in mind that my license plate is SIGSEGV.
 

Offline agehall

  • Regular Contributor
  • *
  • Posts: 141
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #18 on: April 16, 2018, 05:40:09 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...

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.
 

Online blueskull

  • Supporter
  • ****
  • Posts: 9340
  • Country: cn
  • Power Electronics Guy
Re: Life of Atmel Studio after Atmel
« Reply #19 on: April 16, 2018, 05:44:52 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...

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.
SIGSEGV is inevitable if you try to talk more than you know. If I say gibberish, keep in mind that my license plate is SIGSEGV.
 

Online Mr. Scram

  • Super Contributor
  • ***
  • Posts: 3602
  • Country: 00
  • Display aficionado
Re: Life of Atmel Studio after Atmel
« Reply #20 on: April 16, 2018, 05:52:51 pm »
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

  • Regular Contributor
  • *
  • Posts: 141
  • Country: se
Re: Life of Atmel Studio after Atmel
« Reply #21 on: April 16, 2018, 06:02:05 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...

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...
 

Online blueskull

  • Supporter
  • ****
  • Posts: 9340
  • Country: cn
  • Power Electronics Guy
Re: Life of Atmel Studio after Atmel
« Reply #22 on: April 16, 2018, 06:43:33 pm »
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...

With the very small battery of the 12" MB, this is definitely noticeable.
SIGSEGV is inevitable if you try to talk more than you know. If I say gibberish, keep in mind that my license plate is SIGSEGV.
 

Offline snarkysparky

  • Regular Contributor
  • *
  • Posts: 128
  • Country: us
Re: Life of Atmel Studio after Atmel
« Reply #23 on: April 19, 2018, 11: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: 2299
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: Life of Atmel Studio after Atmel
« Reply #24 on: April 19, 2018, 02:52:06 pm »
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