MPASM errors with PIC16F1937


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    13

    Default MPASM errors with PIC16F1937

    I'm trying to compile a simple program to pic16f1937 but I am having errors in the MPASM assembler. I have no idea what could be wrong.

    pbb2.60a
    micro code studio
    mpasm 5.20

    error messages are:

    Error[108] i:\pbp2.60a\16f1937.inc 20 : Illegal character (,)
    Error[108] i:\pbp2.60a\16f1937.inc 21 : Illegal character (,)
    Error[118] i:\pbp2.60a\16f1937.inc 21 : Ovewriting previoius address contents (0000)
    Error[118] i:\pbp2.60a\pbppl14e.lib 1055 : Ovewriting previoius address contents (0000)

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


    Did you find this post helpful? Yes | No

    Default

    It would really help if you gave more information...
    Code
    Configuration

    But the over writing is normally when you are setting the configs in code space and the *.inc file.

    The illegal character?? Are you trying to comment a line? If so '
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Oct 2006
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    the code is simple as:


    define osc 20
    main:
    high portb.0
    pause 1000
    low portb.0
    pause 1000
    goto main

  4. #4
    Join Date
    Oct 2006
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    the code is simple as:


    define osc 20
    main:
    high portb.0
    pause 1000
    low portb.0
    pause 1000
    goto main

  5. #5
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default Configuration Fuses

    What about the Configuration Fuses ?

  6. #6
    Join Date
    Oct 2006
    Posts
    13


    Did you find this post helpful? Yes | No

    Default

    I have not yet written any configuration. I will intend to do this in the programmer.

  7. #7
    Join Date
    Jan 2009
    Posts
    78


    Did you find this post helpful? Yes | No

    Default "overwriting previous address content"


Members who have read this thread : 1

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