18F series challenges


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2010
    Posts
    409

    Default 18F series challenges

    This thread might belong in the FAQ, or it might just be me. After several successful projects using 12F and 16F devices I attempted to move up to an 18F device and have been stopped cold in my tracks for two solid days. I can't even get the most basic "blink" program working. The device is an 18F2580. I've wrestled with the manual over and over. I would be suspicious I have a bad device, except it loads and verifies - then does nothing. Can someone point me to an example with basic configuration for this beast?

    Thanks for any direction!

  2. #2
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default Re: 18F series challenges

    Are you using MPASM? Post your blinking LED program.

    Robert
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  3. #3
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: 18F series challenges

    I cleaned up the comments prior to posting the code and it started to function.
    Some days it's black magic - thanks for solving my problem by just thinking about it!
    (Yes, I was using MPASM, and no I don't think I removed any real code, but I'll dig further)

  4. #4
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default Re: 18F series challenges

    99% of all difficulties encountered when moving from 16F to 18F parts are in the configuration registers. And be careful - if something magically starts working after you have made no changes,
    make certain that ALL your variables are initialized before you consider your work done.
    Charles Linquist

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts