1 Attachment(s)
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 !
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
1 Attachment(s)
Re: PBP 2.6, MCC 3.0.0.5 & WIN 7 x64 - Need help. please, with @ config
Thank you !
...but I still missing something ?!
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 !
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".
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.
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.