help please...!


Closed Thread
Results 1 to 13 of 13

Thread: help please...!

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    pic16f877a.INC is a MPASM file. Do you have MPLAB installed?
    If not you can compile using PM.
    If you are using Micro code Studio and have MPASM checked as the assembler and MPASM is not installed then you would not be able to assemble for the 877.

    Can you give more info about your setup?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Quote Originally Posted by mackrackit View Post
    pic16f877a.INC is a MPASM file. Do you have MPLAB installed?
    If not you can compile using PM.
    If you are using Micro code Studio and have MPASM checked as the assembler and MPASM is not installed then you would not be able to assemble for the 877.

    Can you give more info about your setup?
    well, i've installed mplab ver 8.6 and m using micro code studio with mpsam checked as assembler...

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Does the Smiley mean it works now?
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Quote Originally Posted by mackrackit View Post
    Does the Smiley mean it works now?
    no,it is not working

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


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    one of the assembler error is
    What are the other errors?
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Feb 2011
    Posts
    37


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Quote Originally Posted by mackrackit View Post
    What are the other errors?
    other errors are:
    INC 22:symbol not previously defined [XT_OSC]
    INC 22:symbol not previously defined [WDT_ON]
    INC 22:symbol not previously defined [LVP_OFF]
    INC 22:symbol not previously defined [CP_OFF]
    asm 57:duplicate label("PORTL" or redefined symbol that can not be redifined)
    asm 59:symbol not previously defined(PORTC)
    asm 61:symbol not previously defined(TRISB)
    asm 63:symbol not previously defined(TRISC)
    lib 6334:symbol not previously defined(STATUS)
    lib 6334:symbol not previously defined(C)
    lib 6336:symbol not previously defined(STATUS)
    lib 6336:symbol not previously defined(C)
    lib 6392:symbol not previously defined(STATUS)
    lib 6365:symbol not previously defined(C)
    lib 7767:symbol not previously defined(STATUS)
    lib 6336:symbol not previously defined(IRP)
    lib 7768:symbol not previously defined(STATUS)
    too many errors

  7. #7
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: help please...!

    Can you find a P16F877a.inc file here: C:\Program Files\Microchip\MPASM Suite

    And under MCS compile and program options is your mpasm path pointed to it?

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