{"id":1753,"date":"2021-07-30T10:22:26","date_gmt":"2021-07-30T09:22:26","guid":{"rendered":"https:\/\/www.kanda.com\/blog\/?p=1753"},"modified":"2021-07-30T11:13:55","modified_gmt":"2021-07-30T10:13:55","slug":"move-from-atmel-studio-to-mplab-x","status":"publish","type":"post","link":"https:\/\/www.kanda.com\/blog\/microcontrollers\/move-from-atmel-studio-to-mplab-x\/","title":{"rendered":"Move from Atmel Studio to MPLAB X IDE"},"content":{"rendered":"\n

Microchip took over Atmel some years ago and are slowly eliminating the Atmel brand. One of the major legacies from Atmel is their Atmel Studio development environment but its days may be numbered. <\/p>\n\n\n\n\n\n\n\n

There is no need to panic but it is inevitable that one day Atmel Studio will disappear and MPLAB X will replace it. Microchip have already produced a Microchip Studio version, which is just a rebranded Atmel Studio but are also busy adding AVR support to MPLAB X. <\/p>\n\n\n\n

It has reached the point where you can import Studio projects into MPLAB X very easily and use either Atmel or Microchip tools for programming and debugging.<\/p>\n\n\n\n

Import Studio Project in to MPLAB X<\/h2>\n\n\n\n

You first need to create a New Project (File -> New Project)<\/strong>. In the New Project Dialog that opens, select Category as Microchip Embedded<\/strong> and Projects as Import Atmel Studio Project<\/strong>. Click Next button.<\/p>\n\n\n\n

\"\"<\/a>
Choose Project Type<\/figcaption><\/figure>\n\n\n\n

<\/p>\n\n\n\n

Select Your Atmel Studio Project<\/h2>\n\n\n\n

Select your Atmel Studio project – this only works with C projects (.cproj), see note below for Assembler projects (.asmproj).<\/p>\n\n\n\n

\"\"<\/a>
Find Atmel Studio Project<\/figcaption><\/figure>\n\n\n\n

MPLAB X will create a sub-folder in your Atmel Studio project folder to store the completed MPLAB X project. It will be called Project Name.X, in this example LCD_C.X<\/p>\n\n\n\n

Select Device and Tool<\/h2>\n\n\n\n

Click Next button and on next screen, select Device Family as 8-bit AVR MCU and then your AVR device, in this example ATmega128A to match the device in your Atmel Studio project.<\/p>\n\n\n\n

\"\"<\/a>
Select AVR family, AVR device and tool.<\/figcaption><\/figure>\n\n\n\n

Available Tools<\/h2>\n\n\n\n

Only a few more recent tools will work with AVR in MPLAB X, which may be a reason to not change IDE for the moment, if you have an older tool. <\/p>\n\n\n\n

Tools that work<\/strong><\/p>\n\n\n\n