Fuses Again


Closed Thread
Results 1 to 16 of 16

Thread: Fuses Again

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Question ty

    thanks that seems to work except for the overwrite error
    is that a problem??

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default See post # 4 this thread

    Quote Originally Posted by jcleaver View Post
    thanks that seems to work except for the overwrite error
    is that a problem??
    Hi Jack,
    Look at post #4 in this thread. Mr E. explained what to do to eliminate the last error of which you speak. The compiler sees the config default settings in the INC file and then sees the config setting in your code, and guess what it does?
    It ignores the setting in your code and goes with the default. So just add a semicolon ahead of the two statements he showed you and the compiler will forevermore do what you tell it for this chip. You will have to edit each individual inc file as needed. So why is that statement even in there? Did you ever compile a program without setting the configs? Did it work? Yes it probably did if you used a 4mhz chrystal, because of the default configs.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default Is "FUSES" the right term ???

    Just a thought....


    ...now that we mostly work with Flash devices rather than OTP, shouldnt we be referring to "Configuration Circuit Breakers" rather than "Configuration Fuses" because we can reset them.

    Keith

    www.diyha.co.uk
    www.kat5.tv

  4. #4


    Did you find this post helpful? Yes | No

    Default inc files

    joe thanks for the info i guess what you are saying is i need to find the
    inc file for this chip and rem out the config statement so it writes it according to my programs

    the problem, which i had earlier and never really found a answer is i am not sure where it is looking for these files as i have many inc files for this chip
    got installed with some programmers and mpsam so really dont know which file to use.
    if i try the first part besides getting the error of overwriteing it will not go out to the programmer

    also if i try to use the second part of posting #4 i get huge errrors see my later listing
    so basically niether statement works for me
    must be a simpler way

    thanks

    jack
    Last edited by jcleaver; - 24th February 2007 at 16:18.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    http://www.picbasic.co.uk/forum/show...75&postcount=5

    We talk about commenting the PBP default ones. THE .INC file is located in the PBP folder.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Sometimes it's more who you know than what you know.

    Quote Originally Posted by Joe S. View Post
    Hi Jack,
    Look at post #4 in this thread. Mr E. explained what to do to eliminate the last error of which you speak. The compiler sees the config default settings in the INC file and then sees the config setting in your code, and guess what it does?
    It ignores the setting in your code and goes with the default. So just add a semicolon ahead of the two statements he showed you and the compiler will forevermore do what you tell it for this chip. You will have to edit each individual inc file as needed. So why is that statement even in there? Did you ever compile a program without setting the configs? Did it work? Yes it probably did if you used a 4mhz chrystal, because of the default configs.
    What I am really saying is despite my inability to spell crystal properly, follow mister_e's instructions and you will be right 99.9999999062 % of the time, He will never intentionaly lead you astray! Same with most all of the other " BIG GUNS" in this forum same applies to BIG 'UNS too . I wish he was an investment counselor !
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 10:54
  2. old chestnut, 18f2550, fuses, osc's leds...
    By f_lez in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st October 2009, 18:18
  3. 18F4620 Fuses configuration
    By Pimentel in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 4th October 2008, 14:23
  4. 18F Config fuses
    By Angus Anderson in forum mel PIC BASIC Pro
    Replies: 20
    Last Post: - 18th December 2007, 16:59
  5. configuration fuses
    By mischl in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th April 2005, 11:50

Members who have read this thread : 0

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