CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

NEW and old CCS compiler
Goto page 1, 2  Next
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

NEW and old CCS compiler
PostPosted: Fri Mar 25, 2016 6:24 pm     Reply with quote

I would like to buy a new CCS compiler as my old does not include new controllers I would like to use (like 16F1847 to replace 16F648A and 18F26K22 to replace 18F2520). My compiler version is 3.249 that I am very pleased with.
I am using the CCS wizard for new micro controllers projects and MPLAB IDE.
I would like the forum advice regarding the issues below:
1. From reading the forum I understand that to be able to use both compilers the new compiler should be installed in a new folder (PICC5 for example?)
2. How I can assured that projects done in V3.249 will not be changed to the new compiler?
3. Will I be able to make projects with V3.249 or the new version as I wish?
4. As I am using the CCS wizard, it will be necessary to buy PCWH or PCM and PCH will be enough because I am working with MPLAB IDE?
5. Have a "known" stable new compiler I should ask for or just buy the latest.
I am private person, not a company so the financial aspect is important to me.
I will appreciate your advice.

Best wishes
Joe
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Fri Mar 25, 2016 8:49 pm     Reply with quote

set up an empty directory in your program files area

COPY YOUR AUTHENTICATION FILES FROM ccs
( .crg FILES) INTO THE new DIRECTORY

then during the install OF THE NEW COMPILER-
, point the install directory to be your new dir.

make shortcuts to major progs and you are done.
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Fri Mar 25, 2016 8:52 pm     Reply with quote

Quote:
projects done in V3.249


that's why you are keeping the two compilers apart.

i have 20 odd chubby, complex compile projects stretching back to earlier 3.0 revs and have rarely had an issue with forward compilation.

when i upgrade favorite thing to do is take a major project - compile with the update and compare finished size and significant parts of the new .LST file

the short answer to how to be assured is "you can't" - thats just how life is

Very Happy Very Happy Very Happy
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Fri Mar 25, 2016 9:17 pm     Reply with quote

asmboy wrote:
set up an empty directory in your program files area

COPY YOUR AUTHENTICATION FILES FROM ccs
( .crg FILES) INTO THE new DIRECTORY

then during the install OF THE NEW COMPILER-
, point the install directory to be your new dir.

make shortcuts to major progs and you are done.


It is a little fuzzy now, but I think that was how I got bitten with the windows 7 "Virtual Store" nonsense. When I dragged the .crg files from the CD CCS had sent me direct to the program directory, Windows decided to "help" me, put the files in that "virtual store" under my account without telling me and created the funny links to them. When I installed the compiler, it kept insisting they were not valid license files. Even had CCS send me new license files (which also appeared not to work when I dragged them from the email to the program directory). I may have the order reversed - I may have installed the compiler first then tried dragging the files to the install directory (which windows then decided it would put somewhere else leaving the dummy ones). Just a trap door to be aware of if you are using W7 or later.
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Sat Mar 26, 2016 11:34 am     Reply with quote

Thank you for the answers. My questions 1,2,3 have answers.
What about the others? Someone can tell me if I need the PCWH or using PCM and PCH will do the job?
So having W7 is a problem? Can solve the problem?

Best wishes
Joe
temtronic



Joined: 01 Jul 2010
Posts: 9136
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Mar 26, 2016 12:11 pm     Reply with quote

Get an 'old' PC, toss XP on it, use it exclusively for PIC work !!! I've done that since v2.543 and NEVER ever had 'issues' with the OS 'helping' me!
Get one old enough and it'll have REAL Comports as well !!

Jay
Ttelmah



Joined: 11 Mar 2010
Posts: 19266

View user's profile Send private message

PostPosted: Sat Mar 26, 2016 1:24 pm     Reply with quote

Virtual store can be disabled if you take full ownership.
<http://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-to-disable-virtualstore-in-windows-7/55dce284-0dcd-46af-892e-d2b9cf5bcff6?auth=1>

Never given me any problems.
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Sat Mar 26, 2016 1:41 pm     Reply with quote

Ttelmah wrote:
Virtual store can be disabled if you take full ownership.
<http://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-to-disable-virtualstore-in-windows-7/55dce284-0dcd-46af-892e-d2b9cf5bcff6?auth=1>

Never given me any problems.


The trick is recognizing you have been "hepp'd" by winders Evil or Very Mad
There are ways around it, but it is the "not bothering to tell me what it did" that gets me.

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Sat Mar 26, 2016 9:51 pm     Reply with quote

Thanks for the replies.
I read all 125 posts from the link provided by Ttelmah.
Hope it will be OK.

Best wishes
Joe
gjs_rsdi



Joined: 06 Feb 2006
Posts: 468
Location: Bali

View user's profile Send private message Send e-mail

PostPosted: Sat Apr 02, 2016 12:38 pm     Reply with quote

Hi again

Can someone advice me regarding my question 4 and 5?
Quote:
4. As I am using the CCS wizard, it will be necessary to buy PCWH or PCM and PCH will be enough because I am working with MPLAB IDE?
5. Have a "known" stable new compiler I should ask for or just buy the latest.


Best wishes
Joe
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 02, 2016 4:02 pm     Reply with quote

Quote:

4. As I am using the CCS wizard, it will be necessary to buy PCWH or
PCM and PCH will be enough because I am working with MPLAB IDE?

I believe this is a summary of what you want:

A. You want to use the Wizard in PCWH vs. 3.249 to generate source code.
But you don't want to use that IDE compiler to generate the hex files.

B. You want to buy and install the two command line compilers, PCM and
PCH for vs. 5.056. Then use MPLAB (8.92 or X) as the IDE for them.

You question is:
You want to know if PCWH vs. 3.249 and the vs. 5.056 command line
compilers can coexist on the same PC without interfering with each other,
with regard to:

- Will vs. 5.056 of PCM and PCH over-write files for vs. 3.249 during
installation ?

- Can the vs. 3.249 IDE be left running (but idle), after generating source
code with the Wizard, and can you then start MPLAB (8.92 or X) and
compile the source files with vs. 5.056 ? Will there be interference ?

Since I don't have the old IDE compiler, I can't test this for you. But
maybe someone else can. My instinct is that the vs. 3.249 wizard has
got to be fairly primitive. I doubt that it does that much for you.


Quote:
5. Have a "known" stable new compiler I should ask for or just buy the latest.

You would have to ask CCS support. Vs. 5.056 has problems. Example:
http://www.ccsinfo.com/forum/viewtopic.php?t=54986
Ttelmah



Joined: 11 Mar 2010
Posts: 19266

View user's profile Send private message

PostPosted: Sun Apr 03, 2016 12:54 am     Reply with quote

I currently have about thirty IDE versions all available on my system.

You just install to different directories, and then on the new compiler remove the file 'ccsdownload.exe' (I just rename it). This is the file that once launched starts 'automatically' keeping the compiler up to date, looking for new versions and downloading them. With this disabled, you have to go every few weeks and pull down the new version yourself, but can then install anywhere you want.
Then keep your individual 'projects' in their own directories, and if you want to switch compilers, delete the .pjt, and .ccspjt files for the code, and open the main .c file with the compiler you want. Without the project files, this will then default to using it's own include files, and create new project files.
I have a folder with shortcuts to .cmd files, that automatically delete the project files, and launch whatever compiler I want. So I can switch compiler versions in less than a second.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sun Apr 03, 2016 1:04 am     Reply with quote

Right but he doesn't want two IDE versions. He wants a cheap way to
upgrade. He wants to use the command line compilers with MPLAB v8.92.

BUT, he wants to still use his old v3.249 IDE with the Wizard to make
starter files for his projects, which he will then compile with vs. 5.056
in MPLAB.
Ttelmah



Joined: 11 Mar 2010
Posts: 19266

View user's profile Send private message

PostPosted: Sun Apr 03, 2016 4:32 am     Reply with quote

All the wizard does, is create a .h, and a .c file. These can be compiled with any compiler. Once you touch them with an IDE, a .PJT (and/or CCSPJT) file gets created for these (CCSPJT for the newer compilers). Delete these, and you are back to just a xxx.c and xxx.h file that anything can compile.
temtronic



Joined: 01 Jul 2010
Posts: 9136
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sun Apr 03, 2016 5:12 am     Reply with quote

I had a quick look at what the Wizard does and it seems like a 'cheat' or 'crutch' to me. Instead of the programmer reading the manual to decide what IS required, he merely pushes the mouse around, pointing and clicking 'options' to configure the PIC program. HOPEFULLY the Wizard is flawless and selects the proper stuff to make it work right the first time.
Maybe I've misread what it does but if you can get the 1Hz LED program working after reading the manual aren't you better off? Typically you only use 2 or 3 PIC type (esp. if student),so you should get to 'know' them very fast!
I suppose it's a 'sign of the times', the 'two thumbs' approach to programming but I prefer to learn by doing, building on what I code/compile/test.

Jay
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group