Bootloader and configs, EEprom


Closed Thread
Results 1 to 21 of 21

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by MOUNTAIN747 View Post
    So that brings me back to Charles Linquis statement “Make certain that you have the WatchDog Timer turned off”. OK Charles, WHY?
    Thanks!
    Well, I would have said:

    Because with the WDT turned on, there are no WDT clear statements in the MCloader code, and no way to put them in, because all we have is the hex file. You would think that the 4 seconds or so it takes to load a program through the serial port would exceed the WDT setting.

    But, it works, so that's obviously not correct.

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


    Did you find this post helpful? Yes | No

    Default And the winner is!

    And the uncontested award goes to “scalerobotics”! And the answer is, There are WDT clear statements in the MCBootLoader.HEX file. This fact confirmed this morning off-line by DT after checking source code of MCBootLoader.Hex 16F876a_20. SLEEP and NAP commands can be used by serial port loaded programs using this file and you have plenty of time to load the program. Well at least that’s the story I get from the shop and until something contradicts this information I’m sticking with it!

    Mountain

  3. #3
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    If you program the WDT OFF, then you can turn it ON with the SWDTEN bit. If you program it ON, then you don't have that choice. It is good to have choices.
    Charles Linquist

  4. #4
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    235


    Did you find this post helpful? Yes | No

    Default

    SWDTEN bit! Good point Charles. I don't think that will help my 16F876a project but I will certainly keep it in mind for future projects. So do you have anymore good tips on using the Boot Loader? You've got my undivided attention.

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