12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    It does not like the way configs were defined:
    Code:
    
    @ DEVICE PIC12F675,MCLR_OFF,INTRC_OSC_NOCLKOUT,WDT_OFF,BOD_OFF
    @ DEVICE PWRT_ON,PROTECT_OFF
    And some of the names of the registers needed some "E" 's added to them.

    Try this instead:

    Code:
    @ __CONFIG _MCLRE_OFF & _INTRC_OSC_NOCLKOUT & _WDT_OFF & _BODEN_OFF & _PWRTE_ON & _CP_OFF
    Walter

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    And..
    Bruce is using PM for an assembler in that example.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Thanks for that Walter.

    Hi mackrackit,

    Tonight's silly question: What's PM? Is that a Microchip assembler?

    Dave

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    PM is the assembler from the Pic Basic folks. It works well on the older and smaller chips.

    MPASM from MicroChip works for everything.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    MPASM from MicroChip works for everything.
    So a program written in PBPro would compile and run using the MPLAB IDE?

    Or am I North of the North pole.....again?

    Dave

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    You are still some what south...

    MPLAB or MCS will work. So will a simple text editor. For writing code that is. I find myself using gEdit or EMACS more often than not.

    Once the code is written the compiler/assembler can then be ran.

    Do you remember *.bat files??
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Do you remember *.bat files??
    Yes, Batch files, small text file program commands... cmd.exe.

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