DT_Timer error


Closed Thread
Results 1 to 3 of 3

Thread: DT_Timer error

  1. #1

    Default DT_Timer error

    "C:\Program Files (x86)\PBP3\pbpx.exe" -ampasmx -k# -os -p16f877a GalaxyMain.pbp
    Error[113] C:\PROGRAM FILES (X86)\PBP3\PBPPIC14.LIB 1183 : Symbol not previously defined (wsave)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 401 : ERROR: (wsave variable not found,)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 365 : ERROR: (" Add:" wsave VAR BYTE $70 SYSTEM)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 422 : ERROR: (Chip has RAM in BANK1, but wsave1 was not found.)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 372 : ERROR: (" Add:" wsave1 VAR BYTE $A0 SYSTEM, Or change to wsave BYTE $70 SYSTEM)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 438 : ERROR: (Chip has RAM in BANK2, but wsave2 was not found.)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 379 : ERROR: (" Add:" wsave2 VAR BYTE $120 SYSTEM, Or change to wsave BYTE $70 SYSTEM)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 448 : ERROR: (Chip has RAM in BANK3, but wsave3 was not found.)
    Error[101] C:\USERS\JOHN MOORE\MPLABXPROJECTS\GALAXY MAIN PROGRAM.X\GALAXYMAIN.ASM 386 : ERROR: (" Add:" wsave3 VAR BYTE $1A0 SYSTEM, Or change to wsave BYTE $70 SYSTEM)
    make[2]: *** [build/default/production/GalaxyMain\.cof] Error -1

    Can anyone tell me what I'm doing wrong to get this error? This timer code seems well known and loved so I must assume it's something I'm not doing.... 16F1877A. I'm just trying to load it and get a tick count every now and then.

  2. #2
    Join Date
    Sep 2010
    Location
    Las Vegas, NV
    Posts
    305


    Did you find this post helpful? Yes | No

    Default Re: DT_Timer error

    As I recollect you need to do the stuff in the () where is says to add the variables to your program. If you've commented those variables out you'll need to uncomment them and try again.

  3. #3


    Did you find this post helpful? Yes | No

    Default Re: DT_Timer error

    Awsome! Thanks! Now I see the way the notes were written...duh. They were put that way so the resolution would actually show up in the error box...pretty slick... I'll have to remember that...

Similar Threads

  1. ERROR line 90: Sintax error----> [TabIndex]
    By martintorres in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 9th September 2012, 05:29
  2. Replies: 1
    Last Post: - 30th March 2012, 05:13
  3. Compile error & syntax error on the word "loop:" as a label?
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th March 2010, 05:14
  4. Too many error !!
    By Johan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th June 2007, 15:33
  5. Error
    By tekdavid in forum mel PIC BASIC
    Replies: 6
    Last Post: - 7th April 2005, 03:35

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