• AVR Freaks

Hot!mclr error

Author
aviator3679
Starting Member
  • Total Posts : 36
  • Reward points : 0
  • Joined: 2019/08/22 13:32:23
  • Location: 0
  • Status: offline
2019/08/30 07:05:15 (permalink)
0

mclr error

Hello, I m trying to interface the pic18f2580 with a matrix keypad and a 7seg display,  and simulate it on proteus.The code compiles normally but when Im pressing the buttons they dont show up on the screen.Proteus says that the pic keeps on and on reseting,but the mclr is disabled,which i now have triple checked.I am using mplab x ide v5.25 and xc8 v1.34 compiler.Any clue?
 
Thank you an advance!!!
#1

3 Replies Related Threads

    NKurzman
    A Guy on the Net
    • Total Posts : 18033
    • Reward points : 0
    • Joined: 2008/01/16 19:33:48
    • Location: 0
    • Status: offline
    Re: mclr error 2019/08/30 07:08:17 (permalink)
    0
    What about the watchdog timer? You need to service it or disable it.
    #2
    aviator3679
    Starting Member
    • Total Posts : 36
    • Reward points : 0
    • Joined: 2019/08/22 13:32:23
    • Location: 0
    • Status: offline
    Re: mclr error 2019/08/30 07:09:50 (permalink)
    0
    Guys Im sorry,but exactly 5 seconds after i posted,the simulation worked. Not a clue happened,but since it works................
    #3
    aviator3679
    Starting Member
    • Total Posts : 36
    • Reward points : 0
    • Joined: 2019/08/22 13:32:23
    • Location: 0
    • Status: offline
    Re: mclr error 2019/08/30 07:12:24 (permalink)
    0
    Its really strange since i didn t do anything............
     
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5