Menu

16F877a & GCGB - errors on compiling that work fine in GC@Syn - help?

Help
vmatthews
2014-05-10
2014-05-10
  • vmatthews

    vmatthews - 2014-05-10

    Greetings;

    GCGU Version 1.0 21/9/2013 (I did grab the updates from a few weeks ago - and maybe the issue?)
    Using a PIC16F877a

    While trying to compile in GCGB (I always use 'Text' listing)
    I was getting something about 'Page 1 is full, try remove some code etc...' and stops
    I can take the code to GC@Syn v58.850 and HEX'd it fine. Run great on 16F877a.

    I continued to add a few more lines to the code and compiled in GC@syn fine.
    So I rebooted to PC (Win7-32b) and tried GCGB and it show the CMD screen
    with the statement "Message saved in Errors.txt." and GC froze (hung).
    The Errors.txt file was never written as I did a detailed search of the whole drive.

    Back in GC@Syn I went to Properties to get the latest info:
    Characters: 6604
    Words: 1263
    Lines: 515
    All my code is compiling fine and burning to 16F877a with PICkit3 and no probs.

    Below: This is the last Compiled report from GCGB, a previous saved version of my code
    (the last version that was able to compile my code).
    Any idea what I'm doing wrong?


    Compilation Report
    Compiler Version (DD/MM/YYYY): 0.9 8/9/2013

    Chip resource usage:
    Program Memory: 3039/8192 words (37.1%)

    RAM: 90/368 bytes (24.46%)

    RAM Allocation

    Subroutines
    Name Code Size (lines) Compiled Size (words) Page Outgoing calls
    Main 350 1801 1 INITKEYPAD(2), INITLCD(14), SYSREADSTRING(35), Delay_MS(11), Delay_S(8),

    TEMPSETCLEAR(1), SCORELCD(1), PRINT(9), READAD(12), KEYPADDATA(10), LOCATE(20), PRINT(35),

    CLS(15), TURN_OFF_LEDS(11), INITSYS(1)
    SCORELCD 23 175 2 SYSREADSTRING(6), PRINT(6), PRINT(6), LOCATE(6), CLS(1)
    TURN_OFF_LEDS 6 7 2
    TEMPSETCLEAR 6 7 2
    READAD 12 42 2 Delay_10US(1)
    LOCATE 7 26 2 SYSMULTSUB(1), Delay_10US(1), LCDNORMALWRITEBYTE(1)
    CLS 5 16 2 Delay_10US(1), Delay_MS(1), LCDNORMALWRITEBYTE(2)
    PRINT 8 31 2 LCDNORMALWRITEBYTE(1)
    PRINT 13 53 2 SYSDIVSUB(2), SYSCOMPLESSTHAN(2), LCDNORMALWRITEBYTE(3)
    LCDREADY 45 42 2 Delay_10US(3)
    LCDNORMALWRITEBYTE 77 74 2 Delay_10US(4), LCDREADY(1)
    INITLCD 117 182 1 Delay_10US(8), Delay_MS(8), CLS(1), LCDNORMALWRITEBYTE(5), LCDREADY(1)
    INITSYS 322 18 1
    SYSREADSTRING 103 28 2
    SYSMULTSUB 39 12 2
    SYSDIVSUB 48 17 2
    SYSCOMPLESSTHAN 23 7 2
    INITKEYPAD 32 13 1
    KEYPADRAW 181 50 2
    KEYPADDATA 9 22 2 KEYPADRAW(1)
    Delay_10US 0 8 1
    Delay_MS 0 14 2
    Delay_S 0 8 2 Delay_MS(1)
    SysStringTables 0 354 2
    KEYPADBITTOCODETABLE 0 32 2


    Thanks for a great program!

     

Log in to post a comment.