PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config


Closed Thread
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579

    Default PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Hi everybody !
    I upgrade my PC to WIN7 (X64) because of Assassin Creeds (for my little son ) and now I am unable to compile my programs ...
    I tried to find one solution through forum and www, but without success ...
    Can anyone guide me in the right direction? Thanks in advance !
    Attached Images Attached Images  

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    http://www.picbasic.co.uk/forum/showthread.php?t=543
    I bet you "reinstalled" PBP from the setup disks, didn't you? So if you did, All of those xxx.inc files you modified are now back the way M E Labs made them.
    Your configs are wrong for that chip
    @ __config _HS_OSC & _WDT_OFF & _PWRTE_ON & _MCLRE_ON & _LVP_OFF & _CP_OFF
    you used mclr should be mclre, you used BOD should be BOREN . . .PWRTE not PWRT read the link I posted
    Last edited by Archangel; - 6th December 2014 at 08:29.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Thank you !
    ...but I still missing something ?!
    Attached Images Attached Images  

  4. #4
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Solved !
    For my purpose only :
    Code:
    @ __config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _MCLRE_ON & _BODEN_OFF & _LVP_OFF & _CP_ON
    Thanks for advice !

  5. #5
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Great! While you were solving it I was writing this which I will post to help someone in the future:
    Code:
    Different chips have different config "words" for the same thing.
    each PIC has a file in the C:\Program Files(x86)\microchip\MPASM suite directory. This chips 
    file name is P16F628A.inc . Every register and every config this PIC
    has is defined there. When you compile, this file is included
    and the configs you put into your code MUST MATCH the configs
    in this file. SPELLING COUNTS ! MCLR is NOT the same as MCLRE. . . .
    
    You show the 16F628A.inc folder open, in there see the config statement.
    You must declare that statement a comment by inserting a semicolon just
    ahead of it ; like so ;__config _xt_OSC . . .  save it and close it.
    Now when PBP includes it the config is only a comment and you will no longer have the "Overwriting error".
    Last edited by Archangel; - 6th December 2014 at 20:17.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  6. #6
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    579


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Thanks again for info !
    My mistake : tried to modify the .inc file from PBP\INC folder ...not from MICROCHIP\MPASM folder.

  7. #7
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config

    Nooooo ! If you do it that way then for certain the PBP inc file IS the place to do it.

    Go READ the MPASM file, print it out , but do not change it.

    I only make the config in the 16f628A.inc file a comment so I can include the config manually every time, you can simply modify it as you stated, but then you have to modify it every time you make a change. What you could do is make a new file with the configs and register files you use often and simply copy / paste into your new projects.
    Last edited by Archangel; - 8th December 2014 at 05:15.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. advice on 240 x64 displays
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 4th June 2013, 17:39
  2. config words with pic18f's & PICkit2
    By archendekta in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th October 2010, 10:59
  3. 16F886 Config & Defines
    By retepsnikrep in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 10th June 2010, 17:27
  4. ICD & PBP && how to get it to work
    By archendekta in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 24th March 2010, 01:56
  5. Tracing & Stepping: PBP & MPLAB
    By chicowoodhill in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 7th September 2008, 01:23

Members who have read this thread : 2

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