+ Reply to Thread
Results 1 to 5 of 5

Thread: programming problem

  1. #1
    surangauop@gawab.com Newbie
    Join Date
    Feb 2009
    Posts
    1

    Default programming problem

    Dear Sir,
    I am a Student of Faculty of Engineering University of Peradeniya in Sri lanka. I used winpic 800 to programming 16F877A IC.
    I used 4000,000 MHz Chrystal oscillator to circuit.
    When I programmed I changed settings as follows, (since I used 4000,000 MHz Chrystal oscillator)

    XT ON
    PWRTEN ON


    When I programmed IC it showed that IC was programmed.


    Then I verified and it gave me results as follows,

    ERROR->Verifying address 0X000000
    Verified;0X3000 Read;0X0000


    As well as I could find that software indicates that IC is not available.









    Finally I was unable to get out puts from Pic IC.
    How I get a solution
    Attached Files


  2. #2
    HATHA Newbie
    Join Date
    Mar 2008
    Location
    kandy sri lanka
    Posts
    105

    Default

    Hi suranga
    well come to forum
    according to details you supply
    you are using jdm programmer and
    1.ur programmer may not work properly
    or
    2. your programmer not initialize properly in winpic800

    what is the massage appear when press "Hardware Test" button?
    what is the massage appear when press "Detect Device" button?

  3. #3
    mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent
    Join Date
    Oct 2006
    Location
    Hyderabad, India.
    Posts
    2,470
    Blog Entries
    1

    Default

    Quote Originally Posted by surangauop@gawab.com View Post
    Dear Sir,
    I am a Student of Faculty of Engineering University of Peradeniya in Sri lanka. I used winpic 800 to programming 16F877A IC.
    I used 4000,000 MHz Chrystal oscillator to circuit.
    When I programmed I changed settings as follows, (since I used 4000,000 MHz Chrystal oscillator)



    XT ON
    PWRTEN ON


    When I programmed IC it showed that IC was programmed.


    Then I verified and it gave me results as follows,

    ERROR->Verifying address 0X000000
    Verified;0X3000 Read;0X0000


    As well as I could find that software indicates that IC is not available.









    Finally I was unable to get out puts from Pic IC.
    How I get a solution
    when you have enabled Code Protect ON, you cant expect the verification
    there is another setting verify during programming implement it and it will do. by the way, which programming hardware are you using when driver is winpic800?
    additionally either add zeros or call it MHz --don't do both. it is 4MHz.

    when you are doing programming, perhaps there is no need to configure cp ON

    thus, remove the code protect in the config word.
    All the best.
    Regards,
    Sarma.

  4. #4
    fermat7 Newbie
    Join Date
    Dec 2008
    Location
    High lands
    Posts
    25

    Default

    try to verify that device is detected ... Hardware configuration... & disable code protection

  5. #5
    mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent
    Join Date
    Oct 2006
    Location
    Hyderabad, India.
    Posts
    2,470
    Blog Entries
    1

    Default

    configure the setting hardware-where the JDM programmer or any other has to be defined and the respective port to be checked for propriety.
    after that you may have a hardware check and it should report Ok
    once these are done and you define and plug in a certain chip
    you can seek device id, it would respond
    by all means,the CP should be OFF for the time being
    Regards,
    Sarma.

+ Reply to Thread

Similar Threads

  1. Programming Problem
    By DMW in forum Micro Controllers
    Replies: 40
    Latest: 7th December 2007, 02:18 AM
  2. ASM programming problem
    By ChriX in forum Micro Controllers
    Replies: 6
    Latest: 1st June 2006, 09:19 AM
  3. PIC programming problem
    By George L. in forum Micro Controllers
    Replies: 13
    Latest: 14th May 2006, 03:28 AM
  4. programming problem
    By UnD3aD in forum Micro Controllers
    Replies: 6
    Latest: 6th May 2005, 12:07 PM
  5. problem on programming
    By funngun012 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 16th September 2004, 08:56 PM

Tags for this Thread