Sonsivri

Electronics => Pic C Languages => Topic started by: Ichan on December 14, 2014, 05:16:13 17:16



Title: Setting configuration bits in MPLAB X
Post by: Ichan on December 14, 2014, 05:16:13 17:16
I just knew THIS (http://microchip.wikidot.com/mplabx:view-and-set-configuration-bits)  :-[. It generates the code required  ;D.

-ichan


Title: Re: Setting configuration bits in MPLAB X
Post by: Gallymimu on December 16, 2014, 04:18:20 04:18
hahaha!

There are some halfway decent peripheral configurator plugins also.


Title: Re: Setting configuration bits in MPLAB X
Post by: danifox on December 28, 2014, 09:06:18 21:06
I found it out after spending hours trying to configure it manually. It's really helpful.


Title: Re: Setting configuration bits in MPLAB X
Post by: koky on December 30, 2014, 07:20:38 07:20
i use copy and paste from this file


Title: Re: Setting configuration bits in MPLAB X
Post by: FTL on January 02, 2015, 05:17:57 05:17
I have also had some success with the Microchip Code Configurator (aka MCC) (a plugin to MPLAB-X). It does not support all chips yet, but they seem to regularly be adding more features and chips to this tool. It seems to support more new and high-end chips (like PIC24's and 32's), while the list koky posted seems to have good coverage of smaller and older ships (i.e. 10F's, 12F, 16F's, 18F's).

Hopefully some day Microchip will provide a tool that helps out with everything.

I love playing with PIC chips at a low-level, but sometimes I do get frustrated with how much low-level stuff needs to be dug up as compared to the higher-level but less flexible and efficient platforms like Arduino where it seems you can get something done without hours spent Goggling arcane details.  Its a good thing its a hobby for me where part of the goal is to waste time.


Title: Re: Setting configuration bits in MPLAB X
Post by: BharatSujanani on March 16, 2016, 12:10:56 12:10
Yes
Mplab X ide has 2 options for configuration bits.
1. You can set in window and it take it and program it.
2. You can save this in file and change according to your need and change the setting for PICkit 3 don't program configuration bits.


Title: Re: Setting configuration bits in MPLAB X
Post by: recog on May 03, 2016, 01:08:08 13:08
I am fed up with MicroChip Code Config (aka MCC) and do not use it.  It is more trouble than it is worth.
I prefer to use "PLIB" and write my own folders, each containing a ".h" and ".c" files ...

My grief with MCC, although it looks great, is locking and unlocking pins, generate button, etc, is managing changes to the pins.  I make a change, generate, and find that my change did not happen? So I prefer to define and manage my own assignments, just as I did with C18.
Just my two bits....