Include File problem


Closed Thread
Results 1 to 14 of 14

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Include File problem

    They seem to both be in agreement .....

    Are you SURE your mpasm suite directory is here and looks like this, with a P18F4550.INC file in it???

    Name:  mpasm-suite.PNG
Views: 1108
Size:  84.8 KB

  2. #2
    Join Date
    Sep 2006
    Posts
    747


    Did you find this post helpful? Yes | No

    Default Re: Include File problem

    I just formatted my drive re-installed windows 7 , picbasic pro and MPlab 8.63, still having the same error. yes I do have the P18F4550 in C:\Program Files (x86)\Microchip\MPASM Suite

    my P18file:

    LIST

    ;================================================= =========================
    ; MPASM PIC18F4550 processor include
    ;
    ; (c) Copyright 1999-2010 Microchip Technology, All rights reserved
    ;================================================= =========================

    NOLIST

    ;================================================= =========================
    ; This header file defines configurations, registers, and other useful
    ; bits of information for the PIC18F4550 microcontroller. These names
    ; are taken to match the data sheets as closely as possible.
    ;
    ; Note that the processor must be selected before this file is included.
    ; The processor may be selected the following ways:
    ;
    ; 1. Command line switch:
    ; C:\MPASM MYFILE.ASM /PIC18F4550
    ; 2. LIST directive in the source file
    ; LIST P=PIC18F4550
    ; 3. Processor Type entry in the MPASM full-screen interface
    ; 4. Setting the processor in the MPLAB Project Dialog
    ;================================================= =========================

    ;================================================= =========================
    ;
    ; Verify Processor
    ;
    ;================================================= =========================
    IFNDEF __18F4550
    MESSG "Processor-header file mismatch. Verify selected processor."
    ENDIF

    ;================================================= =========================
    ; 18xxxx Family EQUates
    ;================================================= =========================
    FSR0 EQU 0
    FSR1 EQU 1
    FSR2 EQU 2

    FAST EQU 1

    W EQU 0
    A EQU 0
    ACCESS EQU 0
    BANKED EQU 1

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