12c508a Device Config. And Burning Issues


Results 1 to 5 of 5

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Before you waste much money on those, may i suggest you to buy a couple of 12F508? OR using a JW version wich you'll be able to erase and reprogram later?

    NOW, all config fuses are listed in the INC file in the PBP\INC folder
    Quote Originally Posted by a part of M12c50X file
    EXTRC_OSC equ 0FFC0003h ; XXXX XXXX XX11
    INTRC_OSC equ 0FFC0002h ; XXXX XXXX XX10
    XT_OSC equ 0FFC0001h ; XXXX XXXX XX01
    LP_OSC equ 0FFC0000h ; XXXX XXXX XX00
    WDT_ON equ 0FFB0004h ; XXXX XXXX X1XX
    WDT_OFF equ 0FFB0000h ; XXXX XXXX X0XX
    PROTECT_OFF equ 00170FE8h ; 1111 111X 1XXX
    PROTECT_ON equ 00170000h ; 0000 000X 0XXX
    MCLR_ON equ 0FEF0010h ; XXXX XXX1 XXXX
    MCLR_OFF equ 0FEF0000h ; XXXX XXX0 XXXX
    12C508 is a huge 512 Byte device.. none of the PBP definition will work. As i'd never felt the use of those for any accurate delay using the internal RC OSC, i'd never set the internal OSCCAL. but i'll bet on something like..
    Code:
    @ device  pic12C508A, INTRC_OSC, MCLR_OFF,WDT_OFF,PROTECT_OFF
    @ movwf OSCCAL
    NOW, will this work as I suppose to in conjuction of all PBP stuff 'round. Bruce, Darrel will tell.
    Last edited by mister_e; - 28th March 2006 at 17:28.
    Steve

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

Similar Threads

  1. Burning CONFIG fuses
    By hamster in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th February 2006, 19: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