compiling 12f675


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Location
    Alabama,USA
    Posts
    219

    Default compiling 12f675

    I am starting my first 12f675 project. I have worked with PBP on 16fxxx controlers for sometime. To speed things up I used Ian Burn's simple led blink program (http://members.shaw.ca/picgroup/Reso...cadilly_12.pdf) code to get up and running. When I compile I get a number of errors.
    Undefined symbol 'pic12f675'
    Undefined symbol 'mclr_on'
    Undefined symbol 'ansel'
    Undefined symbol 'trisio' and so on...

    If I use, INCLUDE 'pic12f675', and compile, all symbols are recognized
    but I get a Syntax error on the INCLUDE line number.

    I've never had this problem on 877A, 873A or other parts. Is the include file a given on MicroCode Studio Plus? I'm using 3.0.0.5 And if so, why are the symbles not being recognized?

    I'm sure it's a simple fix but the solution is not obvious.
    comments please!
    Last edited by MOUNTAIN747; - 14th October 2009 at 20:26.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Make sure you have the correct chip selected in the drop-down box in MicroCode Studio.

    The file you are trying to include does not exist.
    So PBP flags an error on the include line, and does not try to assemble the program.

    The other errors are coming from the assembler, which won't show because it was not assembled.
    <br>
    DT

  3. #3
    Join Date
    Jul 2009
    Posts
    6


    Did you find this post helpful? Yes | No

    Default 12F675 problems

    I tryed to get an answer about the same thing here a couple of months ago but no one knew what to do.
    I stumbled over the fact that PBP dosen't have a 12F675 chip in the trail version.
    You just have to tell it you are using a 12F683.
    If you download the Spec sheet for the 12F683 you will see it works fine.

Similar Threads

  1. 12F683 vs 12F675.
    By sccoupe in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th July 2009, 04:58
  2. serout out of order on 12F675
    By Ricardo in forum Serial
    Replies: 7
    Last Post: - 29th April 2008, 00:16
  3. 12F675 code sample
    By marad73 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 23rd May 2006, 13:53
  4. 12F675 won't reprogram or erase
    By modifyit in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 19th May 2006, 05:07
  5. Serial LCD on 12F675
    By anj in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 31st March 2004, 23:11

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