"Bad bank number"?


Closed Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156

    Default "Bad bank number"?

    Hello,
    Just starting a program after quite awhile, and am encountering "Error Line 103: Bad bank number"

    Line 103 is just a variable declaration...
    X VAR BYTE

    The PIC is a PIC18F4685. I'm using PBP 2.60L (PBPL).

    I'm sure I must be doing something dumb. I'm just starting and a little rusty.

    Thanks!

  2. #2
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: "Bad bank number"?

    Sounds like an internal error since PBP is supposed to take care of bank switching.
    I wonder if you have exceeded the number of variables available to you.

  3. #3
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Default Re: "Bad bank number"?

    Hi Art

    Wish we could delete dumb posts. Was a typo. Bad character slipped in there way to the right of the screen.
    Sorry.

  4. #4
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: "Bad bank number"?

    Put a comment character one tab space after every line (whether you actually comment the line or not)
    and it can never happen

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