What does this error message mean?


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,670


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    I'm using the PIC16F684
    i should have asked what version of pbp also , not that it matters in this case the problem is that the code will no longer fit in the chip
    you need to trim the code down or get a bigger chip
    Warning I'm not a teacher

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    Quote Originally Posted by richard View Post
    i should have asked what version of pbp also , not that it matters in this case the problem is that the code will no longer fit in the chip
    you need to trim the code down or get a bigger chip
    I was worried about that. I'm using PBP3.0 midrange edition. I seem to recall a little counter in the lower left hand corner of the dev environment that told you how much space your code was using. I can't find it now.

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,670


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    can't find it now.
    you only get it if it's an ok compile
    Warning I'm not a teacher

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    Quote Originally Posted by richard View Post
    you only get it if it's an ok compile
    That explains a lot. I should have realized what the problem was since the flash on the 16F684 is 2048 and the compiler was complaining about something being more than 2047.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    969


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    A lot has transpired while I was asleep in my TimeZone. I think you found your answer.

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,670


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    typo ?

    Code:
    if w >= 102 and w < 153 then                                 '1:2 ratio or eigth note
    lookup x, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,7,8,8,8,9,10,11,11,12,13,14,14,15,_
    15,15,16,16,16,17,17,18,18,19,19,20,20,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,28,28,29,29,30,31,32,33,33,34,34,35,35,36,36,_
    37,37,38,39,39,39,40,40,41,42,42,42,43,43,44,44,45,45,46,46,46,47,47,48,48,48,49,49,50,50,51,51,52,53,53,53,54,54,54,55,55,55,57,_
    57,58,58,58,58,60,60,60,60,62,62,62,62,4,64,64,64,66,66,66,66,68,68,68,68], div
    x = div
    endif
    Last edited by richard; - 9th December 2021 at 23:28.
    Warning I'm not a teacher

  7. #7


    Did you find this post helpful? Yes | No

    Default Re: What does this error message mean?

    Quote Originally Posted by richard View Post
    typo ?

    Code:
    if w >= 102 and w < 153 then                                 '1:2 ratio or eigth note
    lookup x, [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,3,3,4,4,5,5,6,6,7,7,8,8,8,9,10,11,11,12,13,14,14,15,_
    15,15,16,16,16,17,17,18,18,19,19,20,20,21,22,22,23,23,23,24,24,25,25,25,26,26,27,27,28,28,29,29,30,31,32,33,33,34,34,35,35,36,36,_
    37,37,38,39,39,39,40,40,41,42,42,42,43,43,44,44,45,45,46,46,46,47,47,48,48,48,49,49,50,50,51,51,52,53,53,53,54,54,54,55,55,55,57,_
    57,58,58,58,58,60,60,60,60,62,62,62,62,4,64,64,64,66,66,66,66,68,68,68,68], div
    x = div
    endif
    Wow. Nice catch. Eighth is spelled incorrectly too.

Similar Threads

  1. error message
    By l_gaminde in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st October 2015, 10:12
  2. Error Message
    By mel4853 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 15th March 2009, 19:15
  3. Error message???
    By dangill in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th February 2009, 11:53
  4. error message
    By chip_select in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 21st March 2008, 07:14
  5. error message
    By jcleaver in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st March 2007, 23:54

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