Author Topic: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :  (Read 1803 times)

0 Members and 1 Guest are viewing this topic.

Offline malagas_on_fireTopic starter

  • Frequent Contributor
  • **
  • Posts: 591
  • Country: pt
  • Kernel Panic
    • Malagas Lair
MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« on: January 22, 2019, 09:45:25 pm »
Here is the anouncement of Microchip for this year:

MPLAB® X IDE Offers Beta Support for AVR® MCUs

https://www.microchip.com/AVRandMPLAB?utm_source=Print&utm_medium=Print&utm_campaign=AVRinMPLAB&mkt_tok=eyJpIjoiTTJNNFl6bGpOVFJpTkdVdyIsInQiOiJcL1ZubG5UUU1IUjlUazZIanI5TnFMVXo2TElwUWZscTNJSE1jeDVhQnA3Q1Y0VVpPZmdkSDVjeThDd0IrcDFSWExwcnY4ck9wSzN2cFpJdTVyOVVwcStSNlptQ0hpRVBHK0xOdzFLRzZcL25VZjZtWjRyXC92NnlDb3hOa3VPYXpoViJ9

Can it be really done in all OSes?



Video:

“Getting Started - AVR® in MPLA®B X - Ep. 1 - Import Studio 7 Project into MPLAB X”

Vimeo


If one can make knowledge flow than it will go from negative to positve , for real
 

Offline cobusve

  • Newbie
  • Posts: 4
  • Country: us
    • Micro Forum
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #1 on: January 29, 2019, 07:24:07 am »
Absolutely. MPLAB-X is Java based (Netbeans) and it runs on PC, MAC (OS-X) and Linux no problem :)

I am currently using it on my MAC for AVR projects using GCC as the compiler...  I must say it was a bit tricky getting the right version of the GCC compiler installed - tip if you are on a MAC then do not try to use homebrew for avr-gcc installation you will get a really old version which will cause problems!
Also take a look at https://www.microforum.cc/ - a great resource for information on PIC and AVR microcontrollers and embedded programming in general. You can also post questions to the experts there.
 
The following users thanked this post: malagas_on_fire

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #2 on: January 29, 2019, 07:53:24 am »
Quote
Can it be really done in all OSes?
Sure.  MPLAB has been running cross-OS for years now, and CLI compile tools for AVR have been available for well over a decade.  Stitching them together should be relatively easy.  Modulo bugs and such.
Atmel's choice of Visual Studio as a code base was a bad decision (IMO), and I guess they didn't really have the internal "tools expertise" to switch to anything else.  Microchip does.

 
The following users thanked this post: malagas_on_fire

Offline malagas_on_fireTopic starter

  • Frequent Contributor
  • **
  • Posts: 591
  • Country: pt
  • Kernel Panic
    • Malagas Lair
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #3 on: January 30, 2019, 12:47:40 am »
In fact i've been using MPLABX with linux and works like a charm. My question was if the new migration from ATMEL studio to MPLABX works on linux as described int the video because it shows on windows.. Yes the makefile , avr-gcc, avrdude and you're favourite editor works well .

But yeah it should work importing atmel studio projects into mplabx whatever platform is.


Thanks for the info
If one can make knowledge flow than it will go from negative to positve , for real
 

Offline eugenenine

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #4 on: January 30, 2019, 04:13:17 am »
I guess I need to replace my pickit 3 with a 4 to do any AVR's?
 

Offline Treehouseman

  • Supporter
  • ****
  • Posts: 58
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #5 on: January 30, 2019, 04:42:02 am »
I guess I need to replace my pickit 3 with a 4 to do any AVR's?

You can either use a PK4 or a Snap. The snap won't do the high voltage programming but I've been using it with avr just fine outside all the bugs in mplab, getting in and out of debugwire mode is a pain, hopefully it'll eventually get fixed. despite all the boxes/messages about it, the only one that actually changes the mode in my usage has been the one when starting a debugwire session and ending the debugwire session with the actual stop button. Any other identical window is useless, not to mention that to properly go between the two modes you have to ahead of time go into the project config and switch the snap's programing mode. Hopefully they fix this messin the future.
 

Offline Vasi

  • Regular Contributor
  • *
  • Posts: 60
  • Country: ro
    • Visual Pin Configurator for Nucleo L152RE - produces SPL code.
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #6 on: January 30, 2019, 05:26:32 am »
Microchip works hard to deprecate the avr-gcc toolchain... that means also releasing new tempting AVRs without avr-gcc support, cheaper than the existing micros. They already succeeded in moving everybody from PLIB libraries to their visual code generator that creates sources partly their property. A recipe successfully borrowed by ST.
 

Offline cobusve

  • Newbie
  • Posts: 4
  • Country: us
    • Micro Forum
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #7 on: January 30, 2019, 07:30:20 am »
I have been using a Xplained-Pro board, they can be programmed via MPLAB-X as well as Atmel Studio without a programmer, it works over USB.

I have also imported Studio projects (and projects from Atmel Start) into MPLAB-X without any problems (touch wood).

Also take a look at https://www.microforum.cc/ - a great resource for information on PIC and AVR microcontrollers and embedded programming in general. You can also post questions to the experts there.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta :
« Reply #8 on: January 30, 2019, 09:53:01 am »
Quote
releasing new tempting AVRs without avr-gcc support
Such as?  All the new chips I've tried to use can be added to avr-gcc via the "packs" feature of recent avr-gcc.See Installing Atmel Packs
 
The following users thanked this post: Vasi


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf