• AVR Freaks

MPLABX 5.xx, AVR questions

Author
jgmdesigns
New Member
  • Total Posts : 26
  • Reward points : 0
  • Joined: 2016/03/23 20:18:15
  • Location: 0
  • Status: offline
2019/02/22 20:31:44 (permalink)
0

MPLABX 5.xx, AVR questions

Hey all,
I have a couple questions about MPLAB and using it with AVR's.  Hopefully someone could guide my in the right direction
I had version 5.10 on the machine and decided to upgrade to 5.15.  But it seems that there is no way to update from within MPLAB.  I have to do a full install, load the complier(XC8) and then add the add ons.  Am I missing something?  Is there a way for MPLAB to update itself without installing a whole new copy, and then deleting the old one?  I would think it could.
 
Second question - I would like to start using MPLAB with the AVR processors.  When I installed 5.15 I also downloaded all of the AVR related files and the all seem to be extensions/add ons but I do not seem to see how to install them within MPLAB.  They are not installation files I know that.
 
Suggestions, and assistance appreciated :)
 
JIm
 
With respect to the Add-on's I followed the directions for installing the library for Code Configurator and when I launch it I get a pop up telling me that the projects device is not supported.  I am trying the Mega328p for the test.  I can see a window in teh lower left of the screen showing what MCC libraries are installed and the one I just installed is not there.
post edited by jgmdesigns - 2019/02/22 22:00:29
#1

6 Replies Related Threads

    katela
    Super Member
    • Total Posts : 1907
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/23 05:23:15 (permalink)
    +1 (1)
    That's MPLAB, you can't update a version. You have to install a new version. You can even have more than one versions running in the same machine.
    Concerning MCC supported devices, the AVR MCUs release note ( https://www.microchip.com...aspx?ddocname=en608527 ) has the list of all supported devices. Check if yours is in that list.
    At the moment only 15 devices are supported and yours is not on the list.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    #2
    jgmdesigns
    New Member
    • Total Posts : 26
    • Reward points : 0
    • Joined: 2016/03/23 20:18:15
    • Location: 0
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/23 15:11:51 (permalink)
    0
    Thanks for the information!
     
    JIm
    #3
    onnimikki
    Starting Member
    • Total Posts : 51
    • Reward points : 0
    • Joined: 2013/07/06 06:06:17
    • Location: 0
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/25 03:42:07 (permalink)
    0
    katela
    Concerning MCC supported devices, the AVR MCUs release note ( https://www.microchip.com...aspx?ddocname=en608527 ) has the list of all supported devices. Check if yours is in that list.
    At the moment only 15 devices are supported and yours is not on the list.



    So, you can run the simulator on the '328P (the one on the Arduino UNO): https://twitter.com/jasmith_yorku/status/1040211055572598784
     
    I've been able to get the UNO's '328P to respond a few times using the ATMEL ICE, but it's been flaky and hard to repeat. https://twitter.com/jasmith_yorku/status/1090339555604131849  Others seem to have had more success: https://twitter.com/While...us/1069191578428874752
     
    That said, the ATMEGA328PB (the latest one) on the XPlained Mini board _does_ work out of the box using the latest version of MPLAB X (5.15): https://twitter.com/jasmith_yorku/status/1099942371570184192
     
    More details here: http://microchipdeveloper.com/mplabx:avr-debugwire
     
    -James
     
     
    #4
    GeorgePauley
    Moderator
    • Total Posts : 1274
    • Reward points : 0
    • Joined: 2009/12/01 13:59:30
    • Location: Chandler AZ
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/25 09:33:01 (permalink)
    0
    Each version of MPLAB X is installed independently of other versions.  This allows users to continue development on older versions, while simultaneously starting new projects on newer versions.  However, you should only have to install compilers, MCC, etc. once.  New installations of MPLAB X should automatically find previously installed versions of compilers etc.

    MPLAB X knows where all those AVR files are.  You (normally) don't have to tell MPLAB X anything about how to locate them.

    MCC is a separate program than MPLAB X.  (Though it runs in the MPLAB X environment pretty seamlessly.)  They are working hard on supporting every device, but it is not uncommon for MCC to be a bit behind on newer device support.  Especially right now as traditional Microchip entities like MPLAB X and MCC are being flooded with enormous quantities of classic Atmel devices.  Support is coming.  ;)
    #5
    jgmdesigns
    New Member
    • Total Posts : 26
    • Reward points : 0
    • Joined: 2016/03/23 20:18:15
    • Location: 0
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/26 06:48:06 (permalink)
    +2 (2)
    Thanks all for the information.  I use Studio for my AVR work but thought I would give MPLABX a go.  Will play here and there as time allows.
     
    Now to get the SNAP working....food for another thread ;)
     
    Jim
    #6
    Mike Forsyth
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2016/06/18 11:11:40
    • Location: 0
    • Status: offline
    Re: MPLABX 5.xx, AVR questions 2019/02/26 18:07:02 (permalink)
    +1 (1)
    When I tried opening a project on MPlabx using '328 as an example I get to selecting a compiler. It lists AVR but it is not selectable.   So I tried adding the compiler but when I select the path it says "There are no toolchain"   Sooo I tried scanning for compilers - the first time crashed Mplabx - the second time it did not find any.  I have the tool chain from the download installed (ubuntu linux 18.04) in opt\microchip\avr   same directory as xc32.
    Any suggestions?
     
    Next Day:  Tried again today  after rebooting MPLabx- it worked I now have AVR compiler. 
    post edited by Mike Forsyth - 2019/02/27 11:44:34
    #7
    Jump to:
    © 2020 APG vNext Commercial Version 4.5