PIC16LF1939 Configuration Errors


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: PIC16LF1939 Configuration Errors

    1. Drop the DEVICE line and select the device from the IDE (say MicroCode or FineLine).
    2. Comment out the config lines in the *.inc file of the PBP folder.

    HTH,
    Ioannis

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


    Did you find this post helpful? Yes | No

    Default Re: PIC16LF1939 Configuration Errors

    Thanks, I'll try that. But, does it work by selecting the device from the IDE only? I need to get the HEX file with the full configuration of the chip and the type of chip. I have seen this "@ DEVICE PIC16LF1939" line been used before by people here in the forum, so I don't know why it doesn't work in my case.
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: PIC16LF1939 Configuration Errors

    Because you are using MPASM and
    "@ DEVICE PIC16LF1939"
    is for PM.

    http://www.picbasic.co.uk/forum/showthread.php?t=543
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,139


    Did you find this post helpful? Yes | No

    Default Re: PIC16LF1939 Configuration Errors

    Yes it works OK. Don't worry about that.

    It makes sense if your IDE does not support it. For example compiling from Command Line.

    Ioannis

  5. #5
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    704


    Did you find this post helpful? Yes | No

    Default Re: PIC16LF1939 Configuration Errors

    Thank you guys. Now, it works fine. There is a "condensed" version of the thread that Dave mentioned that was really helpful.

    http://www.picbasic.co.uk/forum/cont...o-your-Program

    The tricky part (at least for me) to make it work was figuring out that I needed two CONFIG statement lines. One for CONFIG1 and another one for CONFIG2.

    Code:
    @  __CONFIG _CONFIG1, .......
    @  __CONFIG _CONFIG2, .......
    "No one is completely worthless. They can always serve as a bad example."

    Anonymous

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