running of page warning and error 16f877


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96

    Red face running of page warning and error 16f877

    me stumpted!!!
    I have a simple code in my PIC16F877, I have used only 3,117 words out of 8k and I am still getting this error "Code Crosses Boundary @800h". I am not using ANY branch statements or branchl statements. When I go above 3300 words I run out of memory. Reading deep in the PBP manual I am getting that I will recieve a warning after I reach 2k for the first page BUT I should still be able to hit around 8k words before I run out of room for my program.
    Any ideas????????????????????????????????????????????? ?????????????????????
    Please help, desperate and runnning out of time before my Halloween light controller is due for my kids and the neighborhood kids to see
    Padawan-78

  2. #2
    Join Date
    Feb 2003
    Location
    Salt Lake City, Utah USA
    Posts
    517


    Did you find this post helpful? Yes | No

    Default

    Paul Borgmeier
    Salt Lake City, UT
    USA
    __________________

  3. #3
    Join Date
    May 2007
    Posts
    65


    Did you find this post helpful? Yes | No

    Default

    Make sure you are compiling with the corresponding PIC model (tarjet processor listbox) such in Microcode Studio and/or ICProg/Winpic800 or whatever program you use to burn your PIC,

    I've seen many histories that begin with this common and trivial chapter...

    example: your PIC is 16F877a, but your configuration says 16F84 (or other small memory pic)
    solution: change tarjet processor to 16F877a

    Hope it helped.

  4. #4
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Question thanks, still have same problem

    I am still running out of memory at around 3.6k.
    I have the correct pic selected (using code designer lite v 1.7 with pbp), no branch statements used , just "out of memory" errors.
    Padawan-78

  5. #5
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Earl,

    I've had those messages on occasion and rebooting my computer has always cleared them up. This has happened to me using the 16F877a, 18F452, as well as some smaller 16F chips.

    HTH,

    BobK

  6. #6
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Default thanks

    thanks, I will try this and see if it gets rid of my "out of memory" errors
    Padawan-78

  7. #7
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi Earl,

    I don't use the program (code designer lite) but is it possible the program has a memory limit? For example, some demo programs have a 2K limit to the program.

    Page warning message "Code Crosses Boundary @800h" is simply a warning and comes up every 2K of program memory usage. It won't stop you from writing more code and it won't keep your program from running.

    The "Out of Memory" could be coming from either your computer itself OR the program code designer lite if it does indeed have a memory limit.

    HTH,

    BobK

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