Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Default here it is

    Yes indeed just when using dt_ints it fails to compile here are the following error message

    "Executing: "C:\PBP\PBPW.EXE" -p16F877A -ampasm -oq -z "SMS_CONTROL1_MPLAB.bas"
    Error[113] C:\PBP\PBPPIC14.LIB 2784 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2785 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2789 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2790 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2800 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2871 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2889 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2913 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2920 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2928 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2934 "
    Attached Files Attached Files

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by leisryan View Post
    Yes indeed just when using dt_ints it fails to compile here are the following error message

    "Executing: "C:\PBP\PBPW.EXE" -p16F877A -ampasm -oq -z "SMS_CONTROL1_MPLAB.bas"
    Error[113] C:\PBP\PBPPIC14.LIB 2784 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2785 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2789 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2790 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2800 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2871 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2889 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2913 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2920 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2928 : Symbol not previously defined (PortD)
    Error[113] C:\PBP\PBPPIC14.LIB 2934 "
    Which version of PBP?

  3. #3
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    The problem is due to your LCD DEFINES
    Code:
        		' 	LCD Display
        		'	-----------
        	DEFINE LCD4X20 	
        	DEFINE LCD_DREG	       	PortD		' Set LCD Data to PortD
        	DEFINE LCD_DBIT	       	0		    ' Set starting Data to Bit0
          	DEFINE LCD_EREG	       	PortD		' Set LCD Enable to PortC
        	DEFINE LCD_EBIT        	5		    ' Set LCD Enable line to PortC.1
        	DEFINE LCD_RSREG       	PortD		' Set LCD Register Select to PortB
        	DEFINE LCD_RSBIT       	4		    ' Set LCD RS line to PORTC.0
        	DEFINE LCD_BITS	       	4		    ' Set for a 8 bit Bus
    Always make sure that ALL DEFINEs are properly written. you MUST use PORTD in uppercase.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    The problem is due to your LCD DEFINES
    Code:
        		' 	LCD Display
        		'	-----------
        	DEFINE LCD4X20 	
        	DEFINE LCD_DREG	       	PortD		' Set LCD Data to PortD
        	DEFINE LCD_DBIT	       	0		    ' Set starting Data to Bit0
          	DEFINE LCD_EREG	       	PortD		' Set LCD Enable to PortC
        	DEFINE LCD_EBIT        	5		    ' Set LCD Enable line to PortC.1
        	DEFINE LCD_RSREG       	PortD		' Set LCD Register Select to PortB
        	DEFINE LCD_RSBIT       	4		    ' Set LCD RS line to PORTC.0
        	DEFINE LCD_BITS	       	4		    ' Set for a 8 bit Bus
    Always make sure that ALL DEFINEs are properly written. you MUST use PORTD in uppercase.
    Of course! That's right! Just like it says in the PBP manual on page 30!

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    and one suggestion, add
    Code:
    @ errorlevel -306
    as MPLAB output list a $%$%^ load of those annoying...
    Message[306] C:\PBP\PBPPIC14.LIB 624 : Crossing page boundary -- ensure page bits are set.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Mar 2006
    Posts
    41


    Did you find this post helpful? Yes | No

    Smile thanks guys!!!

    thanks Mr. E!!! thanks skimask!!! next time i'll post my orcad and gerber file of my clone icd2 here so everybody can have a taste of it!!! trully wonderful debugger and fast programmer too!!!

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 8

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

Tags for this Thread

Posting Permissions

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