mpsam and fuses


Closed Thread
Results 1 to 8 of 8

Thread: mpsam and fuses

  1. #1

    Talking mpsam and fuses

    first let me say that my programs run and assemble fine

    however when i try to set fuses using mpsam i get a couple of errors

    this does not happen when i set fuses using pbp

    but its frustrating read a bunch of posts on this subject must not be alone

    can someone give a dinfintive answer on mpsam fuse setting not pbp

    the command line is ok but get the errors anyway pbp assembles faster

    guess if cant get answer just use this

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


    Did you find this post helpful? Yes | No

    Default

    <table><td></td><td>it always help us when you provide the exact error message(s).
    AND
    the PIC #
    AND
    the offending code you tried.

    If you have read the FAQ, you should have enough information.
    One thing is sure, you MUST use the @ __CONFIG directive</td></table>
    Last edited by mister_e; - 4th March 2007 at 17:22.
    Steve

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

  3. #3


    Did you find this post helpful? Yes | No

    Default heres more

    @ __config _INTRC_OSC_NOCLKOUT & _WDT_ON & _PWRTE_ON & _MCLRE_OFF & _BODEN_ON & _LVP_OFF
    this is the total of my program one line
    have tried various sections of this line TRIED SWITCHING TO _XT_OSC

    always get error 118
    Last edited by jcleaver; - 4th March 2007 at 19:33.

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MPASM help file
    118 Overwriting previous address contents
    Code was previously generated for this address.
    so the following tip, apply... still from the same Thread....
    http://www.picbasic.co.uk/forum/show...75&postcount=5
    Steve

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

  5. #5


    Did you find this post helpful? Yes | No

    Default what file

    read your answer however my file if i am looking at the right one does not contain the first part of yours am i looking for the wrong file?

    attached from p16f628a
    Attached Files Attached Files

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


    Did you find this post helpful? Yes | No

    Angry I thought it was clear as mud...

    <body onload="setInterval('blinkIt()',1000)">

    <script type="text/javascript">
    function blinkIt() {
    if (!document.all) return;
    else {
    for(i=0;i<document.all.tags('blink').length;i++){
    s=document.all.tags('blink')[i];
    s.style.visibility=(s.style.visibility=='visible') ?'hidden':'visible';
    }
    }
    }
    </script>
    <table><td></td><td>
    Quote Originally Posted by myself on the link posted above

    This error is return by PBP because your configuration fuse overwrite 'PBP default'. If you open with notepad, <blink>in PBP directory</blink>, the .INC file of your PIC, let's say 16F628, the file will look like.....
    </td></table>
    Last edited by mister_e; - 4th March 2007 at 22:41.
    Steve

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

  7. #7


    Did you find this post helpful? Yes | No

    Smile mister e

    thanks hope i didn't ruin your sunday

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


    Did you find this post helpful? Yes | No

    Default

    OH, NO WAY! it take much than this

    So it's working now?
    Steve

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

Similar Threads

  1. Setting Fuses using Microcode Studio Plus
    By NO2K in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 18th May 2007, 23:14

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