Need help with config


Closed Thread
Results 1 to 19 of 19

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default

    Setting them in the programmer works. but if you ever want to just program a chip from a saved hex file, your going to get bit in the behind if you don't remember what settings you used in the programmer. its really a two step operation. PBP is the basic compiler, it creates an assembler file. then either pm or msasm compiler assembles that into your hex file that gets programmed into the chip. the fuse names/settings are written into your basic program but are dependant upon which assembler you use. The assembler is what uses these config commands. PBP passes these to the assembler with the @. so your line would be either
    Code:
     @_config MCLR OFF
    or
    Code:
     @_config MCLRE OFF
    depending on if pm or msasm is used.

  2. #2


    Did you find this post helpful? Yes | No

    Default oops

    thats actually
    Code:
     @_config _MCLR_OFF
    or
    Code:
     @_config MCLRE_OFF
    the hs osc you were trying should be
    Code:
    @_config _HS_OSC
    or
    Code:
    @_config HS_OSC
    someone please check my writing, i can't see the _'s during preview on here. (not at home and using my phone lol)

Similar Threads

  1. Run-Time Config
    By Darrel Taylor in forum PBP Extensions
    Replies: 1
    Last Post: - 1st February 2012, 16:26
  2. A/D conversion with PIC18F67J50
    By ScaleRobotics in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 8th May 2009, 01:48
  3. 18F4550 Bootloader enter via eeprom setting
    By bradb in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 22nd November 2008, 23:51
  4. Error 0X0000008E when connecting a 18F2550 USB HID
    By FranciscoMartin in forum USB
    Replies: 8
    Last Post: - 16th October 2008, 17:20
  5. Installation sequence
    By Demon in forum General
    Replies: 23
    Last Post: - 11th July 2006, 03:56

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