Configurator


Closed Thread
Results 1 to 28 of 28

Thread: Configurator

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    Thanks Darrel. I felt it that you were up to something!

    Gone for testing now!

    Ioannis

  2. #2
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    I have a reasonably easy answer to the configuration method:
    Since all of my code is for inhouse use, ie for things I build for my own, or close contacts, I feel I don't really need to go through the CONFIG method in my code.
    My solution is that I use the MELABS USB programmer, and once I do the COMPILE & PROGRAM step in MCS, then the programmer fires up and I can set the configuration in a dropdown tab. Each CONFIG bit, all of which are named, can be set or cleared as required and the chip programmed. So far, it appears that all the config bits that pertain to the chip you are using are available in the dropdown, so you know each bit is relative to the chip that you are about to program.
    There will probably be some purists out there that will insist that CONFIG should be part of my code, but, hey, it works for me doing it the cheating way, so why not?
    I do believe the PICKIT has similar function, but the CONFIG bits are not named, they ere simply shown as the bit number, so you still have to work out what the bits are. Too damn hard for an old bloke, so the PICKITs have been put out to pasture in favour of the MELABS unit...So much easier.
    Last edited by muddy0409; - 23rd October 2014 at 01:15.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  3. #3
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    I did that for a while, but if you are tweaking and experimenting, it gets old pretty fast. Far better to have it in the code and do it ONCE rather than every program attempt.

  4. #4
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    Umm, no, you only have to alter the dropdown contents if you need to change anything.
    Before the programming starts, the existing config is read and doesn't change unless you tell it to. So makes it easy, in my view anyway.
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,631


    Did you find this post helpful? Yes | No

    Default Re: Configurator


  6. #6
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    @ Peter - you didn't say which programmer you are using, but mine resets the bits to a default and needs to be changed every time. I guess they can behave differently. (Granted mine is a clone).

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    Charlie,

    The Melabs usb programmer program has a pull down menu for options.

    Un-check the "Update configuration from file". Now it will keep the configurations
    you selected and not reset these each time you flash the pic.

    I agree with Peter the Melabs USB programmer is the way to go. Many questions on this forum
    are on configurations problems. Melabs USB program has a pull down configuration check list for each
    pic supported. The negative is the price, I think it is about $80usd.

  8. #8
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default Re: Configurator

    Quote Originally Posted by mark_s View Post
    Charlie,

    The Melabs usb programmer program has a pull down menu for options.

    Un-check the "Update configuration from file". Now it will keep the configurations
    you selected and not reset these each time you flash the pic.

    I agree with Peter the Melabs USB programmer is the way to go. Many questions on this forum
    are on configurations problems. Melabs USB program has a pull down configuration check list for each
    pic supported. The negative is the price, I think it is about $80usd.
    I agree 100%. The U2 USB Programmer makes your life a lot easier. I have been using it for years without any issues.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

Similar Threads

  1. PIC Configurator
    By Ioannis in forum General
    Replies: 18
    Last Post: - 28th November 2013, 02:29

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts