PDA

View Full Version : Request : meCONFIG



Caaarlo
- 11th April 2020, 01:54
Hello, I was browsing the whole DT cookbook site, and I could't find any mention or link to the meCONFIG tool.

I know that meCONFIG is unsupported after Darrel passed away, but I think it is still a very useful tool for the majority of projects.

TIA.

lester
- 11th April 2020, 04:50
THE BOOK of DT's INTERRUPTS (http://dt.picbasic.co.uk/) located at http://dt.picbasic.co.uk/ was compiled from information taken from Darrels web site , wayback machine & users contributions of Darrels work.
I do not recall seeing a tool meCONFIG. However if you , or others, can make it available with some documentation, or an explanation of its operation, I or one of the other authors would be very happy to add it to the DT site.

Dave
- 11th April 2020, 15:53
Lester, If you email me at "[email protected]" I can send back the .ZIP file you are requesting. This site does not allow more than 1 Mb file size. The .ZIP file is about 4957 Kb.

Caaarlo
- 11th April 2020, 16:39
Lester, I have emailed the files to you, as the forum will not allow me to attach RAR files.

You basically select the device, then you select the desired configurations(oscillator, brown out reset, WDT, LVP, etc) and It will create the code for both PBP2.X and PBP3.

MPLABX has a similar tool, but not nearly as visual and intuitive. as the configuration bits are not labeled, so you always need to take a look at the datasheet.

Caaarlo
- 11th April 2020, 16:44
The .ZIP file is about 4957 Kb.}

The one I have is about 1900KB, and it consists of only the executable setup file... where is the difference ? Version is 1.0.0.11 dated 2014

Ioannis
- 11th April 2020, 18:39
This is an old version that was not updated. It is abandoned and useful for relatively old PICs.

Ioannis

mpgmike
- 13th April 2020, 15:46
Here is what I do; PBP includes a list of all PICs covered (with the version you have) located at: C:\Program Files (x86)\PBP3_1\DEVICE_REFERENCE. (Yours might be "\PBP3\" if you haven't upgraded.). From the list, find the part you're using, open the .info file with Notepad (or other text program). At the top you will find all the CONFIGs formatted as it should be in your PBP code. Copy and paste it, then remove the comment semi-colons. This lists the default settings. Below that are all of the individual CONFIG bits with the possible options. You can copy/paste changes to alter them individually.

Ioannis
- 13th April 2020, 17:48
Other options:

1. MCC: https://www.microchip.com/mplab/mplab-code-configurator

2. Great Cow Basic: http://www.greatcowbasic.com/gcb.html

The first needs MPLABX to work.

The second needs to install the free GCB Ide/compiler. The language is free and supports many PIC's. You do not need to make any config at all. Write your code and the needed configs are created automatically. Then you can open the *.asm file and copy the configs if you want to continue in PBP.

Ioannis