Menu

Help me detect DeviceID!

quynhthom
2010-12-25
2013-09-10
  • quynhthom

    quynhthom - 2010-12-25

    Hi every body...!
    I have finished board. But, I don't understand Why It don't run. I use Open
    programmer Version 0.7.7 with IC master PIC18F2550, try to program PIC16F877A
    Programer doesn't detect device ID. Help me solve this error.





    Thanks for every body...!

     
  • Alberto Maccioni

    Hello,
    you should first run the hardware test to see if there are any errors on your
    circuit.

     
  • roehatreides

    roehatreides - 2013-08-07

    Hello, I am also building one, I got an error after writing the program to PIC16F877A

    Code memory:
    0000: 2805 0000 0000 0000 0000 0185 0186 1683 0185 0186 1283 30FF 0085 0086 2013 0185

    0010: 0186 2013 280B 3003 008E 3089 008D 0B8C 2817 0B8D 2817 0B8E 2817 0008 FFFF FFFF

    2000: FFFF FFFF FFFF FFFF FFFF FFFF FFFF 3FF1

    Regulator up and running after T=133 ms VPP=12.8V

    Can't find EEPROM data
    DevID: 0x3FFF
    Unknown device
    Configuration word: 0x3FFF
    Erasing ... completed
    Writing code ...

    Error writing address 0: written 2805, read 3FFF

    Error writing address 1: written 0000, read 3FFF

    Error writing address 2: written 0000, read 3FFF

    Error writing address 3: written 0000, read 3FFF

    Error writing address 4: written 0000, read 3FFF

    Error writing address 5: written 0185, read 3FFF

    Error writing address 6: written 0186, read 3FFF

    Error writing address 7: written 1683, read 3FFF

    Error writing address 8: written 0185, read 3FFF

    Error writing address 9: written 0186, read 3FFF

    Error writing address A: written 1283, read 3FFF

    Error writing address B: written 30FF, read 3FFF

    Error writing address C: written 0085, read 3FFF

    Error writing address D: written 0086, read 3FFF

    Error writing address E: written 2013, read 3FFF

    Error writing address F: written 0185, read 3FFF

    Error writing address 10: written 0186, read 3FFF

    Error writing address 11: written 2013, read 3FFF

    Error writing address 12: written 280B, read 3FFF

    Error writing address 13: written 3003, read 3FFF

    Error writing address 14: written 008E, read 3FFF

    Error writing address 15: written 3089, read 3FFF

    Error writing address 16: written 008D, read 3FFF

    Error writing address 17: written 0B8C, read 3FFF

    Error writing address 18: written 2817, read 3FFF

    Error writing address 19: written 0B8D, read 3FFF

    Error writing address 1A: written 2817, read 3FFF

    Error writing address 1B: written 0B8E, read 3FFF

    Error writing address 1C: written 2817, read 3FFF

    Error writing address 1D: written 0008, read 3FFF
    completed, 30 errors
    Writing CONFIG area ... Error writing config area: written 3FF1, read 3FFF
    completed, 1 errors

    End (1.78 s) 31 errors

     
  • Alberto Maccioni

    Same advice, run the hardware test first; you will most likely find something wrong.
    Or it's just a false contact on the target socket.

     
    • roehatreides

      roehatreides - 2013-08-08

      Here is the hardware test results:

      VDD = 5V, VPP = 13V, D = 0V, CK=0V, PGM=0V

      [pressed ok]

      VDD=5V, VPP=0V, CK=5V, PGM = 5V

      [pressed ok]

      VDD = 0V, VPP = 13V, D = 5V, CK = 0V, PGM = 0V

      [pressed ok]

      VDD= 0V, VPP = 0V, D = 0V, CK = 5V, PGM = 0V

       
  • Alberto Maccioni

    As I wrote in the email, you have to measure the voltages, not just go to the next step.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.