Pic 16f877a Running Problem.

Discussion in 'Embedded Systems and Microcontrollers' started by ahsanahmedsid, Aug 30, 2014.

Why pic microcontroller not running.

  1. burner issue

    0 vote(s)
  2. burner issue

    0 vote(s)
Multiple votes are allowed.
  1. ahsanahmedsid

    Thread Starter New Member

    Aug 23, 2014
    Hi every one,
    I have a problem here, i m using microcontroller first time by my self, my problem is that when i am burn pic16f877a its burn and show result o.k, but when i put in hardware its not running even any simple programs.
    I maked my code in mikro c and build a hex. file and the simulate in proteus its all running good, but it not running in hardware while my all connections are correct.
    I m burn hex file with us-burner and the show that pic burning done.
    Please help me and suggest that what kind of mistake could i m doing. :(
  2. MaxHeadRoom


    Jul 18, 2013
    Do you have a pull up resistor on the MCLR ?
  3. JohnInTX


    Jun 26, 2012
    Assuming as Max says that the circuit is correct (MCLR=1, oscillator working, power applied etc.) make sure that 1) the configuration bits are set correctly to specify the oscillator etc. and 2) that the .HEX file contains the config information and/or 3) that after loading the .HEX you manually set the programmer to blast the correct CONFIG bits.

    If you haven't set MicroC to build for programming, it may be that the CONFIG info is missing from the .HEX. For the 877A, look for a line at the end of the .HEX that looks like this:


    400E is the address of the config word.

    Good luck!
  4. atferrari

    AAC Fanatic!

    Jan 6, 2004
    Ask a question by posting a thread. A poll makes no sense here.