ERROR: Macro USBINIT?,USBSERVICE?,USBIN?CBBL ,USBOUT?CBBL not found in macro file.


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Smile

    I think you have to change the file 18F4550.BAS in the PBP-path:

    Code:
    '****************************************************************
    '*  18F4550.BAS                                                 *
    '*                                                              *
    '*  By        : Leonard Zerman, Jeff Schmoyer                   *
    '*  Notice    : Copyright (c) 2004 microEngineering Labs, Inc.  *
    '*              All Rights Reserved                             *
    '*  Date      : 12/31/04                                        *
    '*  Version   : 2.46                                            *
    '*  Notes     :                                                 *
    '****************************************************************
    
    BANKA   $0000, $005F
    BANK0   $0060, $00FF
    BANK1   $0100, $01FF
    BANK2   $0200, $02FF
    BANK3   $0300, $03FF
    BANK4   $0400, $04FF
    BANK5   $0500, $05FF
    BANK6   $0600, $06FF
    BANK7   $0700, $07FF
    'EEPROM  $F00000, $F000FF
    'LIBRARY "PBPPIC18"
    LIBRARY "PBPUSB18"
    
            include "PIC18EXT.BAS"
    
    PORTL   VAR     PORTB
    PORTH   VAR     PORTC
    TRISL   VAR     TRISB
    TRISH   VAR     TRISC
    
            include "PBPPIC18.RAM"
    
    '*-----------------------* EOF 18F4550.BAS *--------------------*
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  2. #2
    Join Date
    Mar 2009
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Thanks for your reply,
    I did the changes recommended, and the error regarding Macros disappear, but I received new ones such the examples bellow.
    Here attached the SW I`m trying to compile with no success, it`s exactly the one generated by EasyHID.
    Thanks & Best regards.


    PICBasicPRO.zip

    Errors example
    FATAL ERROR: Too many errors. (21)
    ERROR Line 12: Redefinition of VAR. (PIC18EXT.BAS)
    ERROR Line 13: Redefinition of VAR. (PIC18EXT.BAS)
    ERROR Line 14: Redefinition of VAR. (PIC18EXT.BAS)
    ERROR Line 15: Redefinition of VAR. (PIC18EXT.BAS)

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 23:14
  2. PBPro error "Macro USBINIT? not found in macro file"
    By Bonxy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 4th October 2011, 10:06
  3. ERROR: Macro MOD?TCB not found in macro file.
    By JohnP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th February 2009, 20:10
  4. Error: macro COUNT?TCT nor found in macro file.
    By AMMOTT in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th November 2007, 06:05
  5. 18F452 "Unknown Processor" errors
    By schwinn_rider in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th April 2006, 04:56

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