+ Reply to Thread
Page 2 of 2
First 1 2
Results 16 to 21 of 21

Thread: Got my p16Pro

  1. #16
    Squintz Newbie
    Join Date
    Oct 2003
    Posts
    185

    Default

    :Edit: Never mind i got it.

    Ok im ready to program using IC-Prog 1.05c Using the code on the previous page. The Watch dog timer is checked should it be?


  2. #17
    Exo
    Exo is offline
    Exo Newbie
    Join Date
    Sep 2003
    Location
    Belgium
    Posts
    1,884

    Default

    i can't see any clear wdt commands in the code so no, disable the watchdog. Otherwise the pic will reset in the middle of the program because the watchdog timer overflows

  3. #18
    Squintz Newbie
    Join Date
    Oct 2003
    Posts
    185

    Default

    Im using picall now because the IC Pic does not work on my computer. The pic call pops up a message when i try and burn the chip.
    Code:
    Program error:
    
    Program adress=000 buffer=2811 device=3fff
    
    when i first load the HEX file i get the message:

    Code:
    Warning:
    
    Configuration word is not
    included with the hex file !!!
    
    For detail look at the PICALLW.HLP section FAQ!!!
    
    What is the configuration code? I looked at the Help file but did not understand it! Thank you all for helping me through all this

  4. #19
    damonwill Newbie
    Join Date
    Nov 2003
    Posts
    1

    Default Same problem

    I have the same problem. I can program a chip once, and then when I erase it and re-program it gives me the first error message. Any thoughts?

    :evil:

  5. #20
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,794

    Default

    Quote Originally Posted by Squintz
    What is the configuration code? I looked at the Help file but did not understand it! Thank you all for helping me through all this
    The configuration word sets the various configuration options for the processor - oscillator type, WDT, code protection and various others depending on the particular PIC. It's essential to set these correctly, and it's advisable to do so in the source code so it's included in the HEX file. Not doing this results in the warning message you got, which essentially is prompting you to set them in PicAll before programming the chip.

  6. #21
    Super Moderator Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent Nigel Goodwin Excellent
    Join Date
    Nov 2003
    Location
    Derbyshire, UK
    Posts
    29,794

    Default Re: Same problem

    Quote Originally Posted by damonwill
    I have the same problem. I can program a chip once, and then when I erase it and re-program it gives me the first error message. Any thoughts?

    :evil:
    Try reading the chip before re-programming, and make sure it's actually fully erased - if the chip isn't blank it's quite likely it may fail on the first byte, though if the first bytes are identical it shouldn't.

+ Reply to Thread
Page 2 of 2
First 1 2

Tags for this Thread