16F877A Microcode Studio won't compile


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2009
    Posts
    4

    Default 16F877A Microcode Studio won't compile

    This is my first thread. I am new at the microcontroler game and I have been intrested receintly in finding out how to program microcontrolers. I have been studing and reading the last couple of years on the internet, down loading data sheets, and books I have ordered off the web.
    (PICBASIC PROJECTS by Dogan Ibrahim,,, Programing PIC Microcontrolers With PICBASIC by Chuck Hellebuyck,,, PBP manuals)
    I would be greatfull if any of you would be able to recomend any other books that would better explane the include files, the definations, and boot loaders? I know I have much to learn.

    I have had good luck so far in learning PICBASIC PRO by the examples given in the books. I am currently using Microcode Studio Plus 3.0.0.5 and PBP 2.60. I want to use the SPI 4 wire comunication on master and slave PIC16F877A 's. The books don't get into SPI (serial periphal interface) much.
    I found the spimast.bas and the spislave.bas in the MEL BASIC SAMPLES CODE. I typed them into Microcode Studio Plus. But when I try to compile them, I get errors.

    THE SLAVE ERRORS ARE
    Error [113] c:\pbp\pbppic14.lib 5974:Symbol not previously defined(GO_DONE)
    Error [113] c:\pbp\pbppic14.lib 5991:Symbol not previously defined(ADCON0)
    Error [113] c:\pbp\pbppic14.lib 6000:Symbol not previously defined(ADCON0)
    Error [113] c:\pbp\pbppic14.lib 6007:Symbol not previously defined(ADCON0)
    Error [113] c:\pbp\pbppic14.lib 6007:Symbol not previously defined(GO_DONE)
    Error [113] c:\pbp\pbppic14.lib 6008:Symbol not previously defined(ADCON0)
    Error [113] c:\pbp\pbppic14.lib 6008:Symbol not previously defined(GO_DONE)
    Error [113] c:\pbp\pbppic14.lib 6015:Symbol not previously defined(ADRESH)
    Error [113] c:\pbp\pbppic14.lib 499:Symbol not previously defined(TRISC)
    Error [113] c:\pbp\pbppic14.lib 463:Symbol not previously defined(TRISC)
    Error [113] c:\pbp\pbppic14.lib 477:Symbol not previously defined(TRISC)
    Error [113] c:\pbp\pbppic14.lib 491:Symbol not previously defined(TRISC)
    Error [113] c:\pbp\pbppic14.lib 899:Symbol not previously defined(TRISC)
    Error [113] c:\pbp\pbppic14.lib 449:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 463:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 477:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 491:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 899:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 918:Symbol not previously defined(SSPCON)
    Error [113] c:\pbp\pbppic14.lib 499:Symbol not previously defined(SSPSTAT)
    THE MASTER ERRORS ARE PRETY MUCH THE SAME

    I have read that the compiler has to compile a different way for this type Microcontroler. Can it even be done through Microcode Studio Plus? If so how?
    I know it is something simple to alot of you to correct this, but I Have hamered on this in different directions for the last three months and I can't seem to figure it out. I hope some one can Help me with this problem. Thanks for your time in reading this. Have a nice day.

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Wink

    Hi,

    The question will be ...

    Which processor reference appears in the little white window of M.C.S. , in the upper left zone ???

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  3. #3
    Join Date
    Nov 2009
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Thank you

    I am so stupid. I closed that tool bar down way back when I first got the M. C. S. and I didn't know that little white window even existed until your Question caused me to look for it.
    Thank you so much. I AM BACK LEARNING AGAIN.

Similar Threads

  1. Microcode studio loader problem
    By woodygjw in forum General
    Replies: 2
    Last Post: - 10th September 2007, 01:18
  2. Microcode studio and USB pics
    By KPDes in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th May 2007, 09:28
  3. Microcode Studio Plus compile/assmebly errors
    By mikehagans in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 18th February 2006, 21:31
  4. Replies: 2
    Last Post: - 9th February 2006, 22:03
  5. How to used ICD of microcode studio
    By chai98a in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th November 2005, 00:29

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