fusses info in PB3


+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    217

    Default fusses info in PB3

    After upgrading to PB3 I've been opening some of my old 2.60 programs to see if they will run on PB3. My first try failed.

    @ DEVICE INTRC_OSC,MCLR_OFF,BOD_OFF,WDT_OFF,LVP_OFF

    Compiling for 16F886 I get this message "illegal opcode (INTRC_OSC)
    This worked in 2.60.
    I can't seem to find the listing of codes for PB3. Directions please!

  2. #2
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    217


    Did you find this post helpful? Yes | No

    Default Re: fusses info in PB3

    OK, so I found part of the problem.
    I should have changed the old fusses to
    @ __CONFIG _CONFIG1,_INTRC_OSC_NOCLKOUT & _MCLRE_ON & _LVP_OFF & _WDT_OFF
    to use PB3 & MPASM. Now i'm getting "Overwriting address contents (2007)"
    not sure about this yet.

  3. #3
    Join Date
    Apr 2014
    Location
    Northeast
    Posts
    490


    Did you find this post helpful? Yes | No

    Default Re: fusses info in PB3

    When I bought PBP3.1 I spent a few bucks extra and got the paper version of the Manual. I read through many times, underlined things, wrote in the margins, and highlighted excerpts in different colors. I had to laminate the front & rear covers as they no longer stayed on the binding. I suggest spending some time with the PBP3 Reference Manual. You have your first question now, but will have more later. You may be surprised how much "stuff" you can do with PBP3.1.

  4. #4
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    217


    Did you find this post helpful? Yes | No

    Default Re: fusses info in PB3

    Thanks Mike, I'll go through the manual looking for overwrite comments.
    wayne

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,259


    Did you find this post helpful? Yes | No

    Default Re: fusses info in PB3

    Use #config and #endconfig like this for example:

    #CONFIG
    __CONFIG _CP_OFF & _DEBUG_OFF & _CP_OFF & _CPD_OFF & _LVP_OFF & _BODEN_OFF & _PWRTE_ON & _WDT_OFF & _XT_OSC
    #ENDCONFIG

    Ioannis

Similar Threads

  1. pb3 with pic 12f529T39A
    By geniuswork in forum PBP3
    Replies: 0
    Last Post: - 10th May 2018, 15:48
  2. PB3 gold vs silver
    By ozarkshermit in forum PBP3
    Replies: 3
    Last Post: - 14th December 2017, 20:44
  3. Questions on PB3 and Timers
    By PickyBiker in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 5th February 2013, 17:05
  4. whats in Variable name ??? PB3.04
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 27th June 2012, 08:32
  5. PB3, which error is it ?
    By Marcick in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 1st May 2012, 16:12

Posting Permissions

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