Changing CONFIGURATION word from within program


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Posts
    41

    Default Changing CONFIGURATION word from within program

    Is it possible to re-write the configuration word once the chip (877A) has been loaded with a boot loader and soldered on the board?

    I realise the config memory location is above the address range normally accessible but are there any tricks that might let me recover 20 boards with 877A thin quad flatpacks that need to have the WDT active but which were programmed with WDT OFF?

    thanks
    Brian

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Sorry to tell you, but the Config word is not accessible through your program in any way.

    The only way is to solder-on leads for ICSP but bear in mind that a high voltage is applied to MCLR (easy if you have tied this to Vdd with a Resistor, just unsolder it), and that RB6/RB7 carries the programming data and clock so it shouldn't be loaded down with too much baggage. PIC will have +5v on it... so again, best to isolate it rather than power up your entire PCB. http://www.picbasic.co.uk/forum/atta...8&d=1088530104

    Other than that, it's time to make friends with your favourite desoldering tool...

  3. #3
    Join Date
    Mar 2003
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Yep - just gotta solder fine wires.

    I ended up making up a programming harness than linked the target board to my EPIC programmer. Similar to your schematic except I found I had to groundthe LV Prog pin of the PIC16LF877A TQFN package. Only a couple of fixable shorts soldering to the fine pitch wires and all 20 boards recovered in the end.

    By enabling the WDT I was able to use the PBP SLEEP command and drop the idle current draw from 120 uA down to 8 uA (including two 32 Mbit serial flash memories).

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. Minimizing code space
    By Tobias in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th May 2009, 07:25
  3. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  4. DS2760 Thermocouple Kit from Parallax in PicBasicPro
    By seanharmon in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th July 2008, 23:19
  5. calculation problem
    By nicolelawsc in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2006, 15:23

Members who have read this thread : 2

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