Bootloader and configs, EEprom


Closed Thread
Results 1 to 21 of 21

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Within EPIC software menus, you should be able to see and modify the configuration fuses.

    If you want to edit them, well do it within EPIC software then save changes (make sure you made abackup of the file BEFORE)

    If you want to use another Crystal/OSC value, you'll also need to modify the Bootloader firmware, it use USART so you want to spot the related USART registers (SPBRG, RCSTA at least) to alway keep the same Baudrate.

    Scalerobotics did a short tutorial in the Wiki that show 1 method to deal with it.

    PS: broken record again...
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default Reply to the broken records

    Thanks mister_e, I'll give it a shot...

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


    Did you find this post helpful? Yes | No

    Default

    Poor Walter, he got no love

    Come on everybody, say it loud and proudly :"We love you Walter!"
    Steve

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

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Poor Walter, he got no love

    Come on everybody, say it loud and proudly :"We love you Walter!"
    And I thought NO one cared! Thanks Mr. E

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


    Did you find this post helpful? Yes | No

    Default

    Life's so hard when you're managed by a garlic bulb buddy... I feel your pain
    Steve

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

  6. #6
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    232


    Did you find this post helpful? Yes | No

    Default OK boys, Back to the subject please!

    Mister_e, after doing my homework, it looks like the MCBloader 16F876a_20 uses the config word 3F72 after opening the Bloader with Mel Labs Programmer. ( I don’t have a Pickit2) This value will turn off WDT. This is what Charles suggests but my program uses the PBP SLEEP command. I need to change the config to 3F76. If I use Word Pad to open 16F876a_20 and look for “3F72” . Word Pad seems to invert the bytes of each word so I search for “723F”. I find in the next to the last line “:02400E0072EFFF”. The last three bytes are of interest. 72EFFF. “72EFFF” is actually “EF72” followed by byte “FF” I think. If I’m right, a change here should do the trick. Please give me your valued wisdom on this change before I destroy this file and perhaps a $5 part in the process.
    Thanks

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