help with compiling pic12f675 programs :(


Closed Thread
Results 1 to 3 of 3
  1. #1
    faz_metr's Avatar
    faz_metr Guest

    Default help with compiling pic12f675 programs :(

    hi all,
    i want to compile a program for pic12f675 with pic basic pro but there is an error : " unable to find -p<pic> processor file 12f675.bas " . does anyone know how I can manage to get that file ?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Can you compile with another PIC i.e. 12F629 or else?

    If so, be sure your PBP version support the PIC12F675. Should be at least V2.42
    http://www.melabs.com/support/upgrade.htm#History
    Last edited by mister_e; - 20th August 2006 at 23:18.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Corona's Avatar
    Corona Guest


    Did you find this post helpful? Yes | No

    Default

    Even if you manage to somehow get the file, you can't just use it with an earlier version of PBP. MELabs has changed some stuff around between versions in these files...

    I wrote my own .bas and .inc files (back when I was using 2.30) to support the 16F81x PICs, you could do the same if you can't afford the upgrade. Start with the 12F629 files and familiarize yourself with the datasheets - you'll need to understand the registers, and how MELabs constructed their files, with the bit masking and stuff. Then make copies of the 12F629 files and edit them to support the 675.

    Then I came to my senses and upgraded. Too many new chips to keep up with (rather spend my time writing code, not writing compiler support hacks).

    Or, as Mister_E says, try using the 12F629 option. If you are not using the 675's ADC, it should fly - the registers are nearly identical between these 2 PICs.

Similar Threads

  1. PIC12F675 problem with port 5
    By NL2TTL in forum mel PIC BASIC
    Replies: 2
    Last Post: - 5th June 2009, 01:23
  2. SERIN with a PIC12F675
    By ewandeur in forum Serial
    Replies: 4
    Last Post: - 30th July 2007, 15:04
  3. PIC12F675 trouble
    By russman613 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th February 2006, 18:40
  4. Erratic PIC12F675 behavior
    By russman613 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 27th February 2006, 14:46
  5. Replies: 3
    Last Post: - 3rd September 2003, 12:05

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