Jump to content

core problem...


Recommended Posts

Guest ignamato
Posted

I´ve made about 10 modified cores for a project with leds using pic16f877 programmed with jdm. I always have a problem with the cristal that I solved in most cases taking out the 33pf capacitors. Is there something to check out? Is like the pic is reseting constantly. thanks

  • 2 weeks later...
Guest kostix
Posted

do you have your watchdog timer enabled ?

if so, the watchdog timer is used for reseting the pic if something goes wrong and it hangs or something

to prevent it from reseting the pic, you have to reset the watchdog timer every speciffic time interval.

the easy and "cold" solution is to disable it, this will stop rebooting the pic.

about the clock, i've had issues with this aswell when i was in my first tries at pic programming.

are you using the correct clock setting ? you can change that either in the asm code, or in the programmer software.

Look for the special configuration registers in the PIC datasheet, which is where u can configure both of these things.

cheers

Guest ignamato
Posted

yes... this also happend with the original code from midibox64... so the clock and watchdog are set correctly (hs resonator and watchdog off).

I also put my finger between the two pins of the clock and starts.... I only have to take off the 33 cap and I get it working... strange thing...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...