Jump to content

core problem...


Guest ignamato
 Share

Recommended Posts

Guest ignamato

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

Link to comment
Share on other sites

  • 2 weeks later...
Guest kostix

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

Link to comment
Share on other sites

Guest ignamato

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...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...