MPLAB® X IDE Offers Beta Support for AVR® MCUs - Beta : - Page 1
Forum section: electronics / general

author: malagas_on_fire
author_rank: Frequent Contributor
timestamp: January 22, 2019, 09:45:25 pm
content: Here is the anouncement of Microchip for this year:MPLAB® X IDE Offers Beta Support for AVR® MCUshttps://www.microchip.com/AVRandMPLAB?utm_source=Print&utm_medium=Print&utm_campaign=AVRinMPLAB&mkt_tok=eyJpIjoiTTJNNFl6bGpOVFJpTkdVdyIsInQiOiJcL1ZubG5UUU1IUjlUazZIanI5TnFMVXo2TElwUWZscTNJSE1jeDVhQnA3Q1Y0VVpPZmdkSDVjeThDd0IrcDFSWExwcnY4ck9wSzN2cFpJdTVyOVVwcStSNlptQ0hpRVBHK0xOdzFLRzZcL25VZjZtWjRyXC92NnlDb3hOa3VPYXpoViJ9Can 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

author: cobusve
author_rank: Newbie
timestamp: January 29, 2019, 07:24:07 am
content: Absolutely. MPLAB-X is Java based (Netbeans) and it runs on PC, MAC (OS-X) and Linux no problemI 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!

author: westfw
author_rank: Super Contributor
timestamp: January 29, 2019, 07:53:24 am
content: QuoteSure. 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.

author: malagas_on_fire
author_rank: Frequent Contributor
timestamp: January 30, 2019, 12:47:40 am
content: 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

author: eugenenine
author_rank: Frequent Contributor
timestamp: January 30, 2019, 04:13:17 am
content: I guess I need to replace my pickit 3 with a 4 to do any AVR's?

author: Treehouseman
author_rank: Unknown
timestamp: January 30, 2019, 04:42:02 am
content: Quote from: eugenenine on January 30, 2019, 04:13:17 amYou 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.

author: Vasi
author_rank: Regular Contributor
timestamp: January 30, 2019, 05:26:32 am
content: 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.

author: cobusve
author_rank: Newbie
timestamp: January 30, 2019, 07:30:20 am
content: 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).

author: westfw
author_rank: Super Contributor
timestamp: January 30, 2019, 09:53:01 am
content: QuoteSuch as? All the new chips I've tried to use can be added to avr-gcc via the "packs" feature of recent avr-gcc.SeeInstalling Atmel Packs