View previous topic :: View next topic |
Author |
Message |
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
Demo version of compiler omissions |
Posted: Mon Nov 05, 2018 12:40 pm |
|
|
Hi,
In a previous thread, I realized that I would be well served by upgrading from PIC16. Thanks to those who participated to make me realize this. I am going to order a PIC24 devkit to test things out. For this, I need to get upgrade my PCM version of the compiler to PCD. Although I am sure it will work, I want to download the demo version first.
My question is that the CCS site states that only 15% of the drivers and examples are included with the demo, but does not state which of them are included or omitted. I couldn't find a list either. Is there a list anywhere? |
|
 |
Ttelmah
Joined: 11 Mar 2010 Posts: 19792
|
|
Posted: Mon Nov 05, 2018 1:35 pm |
|
|
There is an example list at:
<http://www.ccsinfo.com/devices.php?page=exlist>
You can see what is with the demo. |
|
 |
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
|
Posted: Mon Nov 05, 2018 1:49 pm |
|
|
Thanks,
I'm using MPLABX as my IDE. I downloaded the demo version. However, when I try to compile in MPLABX, it tells me my .crg file is too old. It does this regardless of which version of the compiler I have selected in my version list.
Code: | "C:\Program Files (x86)\PICC\CCSCON.exe" out="build/default/production" NewMCUTest.c +FM +DF +CC +Y=9 +EA +DF +LN +T +A +M +J +EA +Z -P #__16F19176=1
Compiling C:\Users\dluu\Desktop\Devin\BoardCode\NewMCUTest.X\NewMCUTest on 05-Nov-18 at 14:45
*** Error 120 "NewMCUTest.c" Line 0(0,0): Missing or invalid .CRG file
1 Errors, 0 Warnings.
Build Failed. |
Any ideas what is going on here?
One additional bit of information is that when I try and switch the compiler version, the build tools tab inside MPLAB continues to show that I am using version 5.081. On other computers, the build tool changes as I switch my compiler between 5.042 and 5.078.
Last edited by dluu13 on Mon Nov 05, 2018 1:58 pm; edited 1 time in total |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Nov 05, 2018 1:54 pm |
|
|
I had that same message recently. It doesn't like the 5.081. If you
uninstall it, your older compilers will work with your existing crg files.
I plan to email CCS to get new crgs so 5.081 will work.
I don't have the demo, so I'm not sure where it puts its crg files or
if it even uses them. |
|
 |
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
|
Posted: Mon Nov 05, 2018 2:00 pm |
|
|
Thanks, PCM Programmer.
Ok, I will email CCS and get their advice on how to deal with these registration things.
btw, how do I go about uninstalling a specific version of the compiler?
Using ccsuninstaller.exe, I can select only 5.081 to uninstall, but then nothing happens after I click "remove selected items".
 |
|
 |
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
|
Posted: Mon Nov 05, 2018 2:47 pm |
|
|
Ok. I managed to work this out.
Just for future reference, when installing the demo, it might be a good idea to modify the default installation directory from C:\program files\picc to C:\program files\piccdemo (as an example). Then point your IDE tools to use whichever compiler you want.
How I fixed it was:
1. create a folder in c:\program files\picc and put the 5.081 folder inside that (to hide it)
2. In C:\users\<username>\appdata\roaming\picc\dll.ini, delete the lines that were added by the demo. In my case, anything to do with PCB, PCH, PCD. |
|
 |
|