View previous topic :: View next topic |
Author |
Message |
Ttelmah
Joined: 11 Mar 2010 Posts: 19545
|
|
Posted: Sat Apr 04, 2020 7:29 am |
|
|
Do the changes you have been told, and it'll work.
The point is that the project has to be told 'where to look' for the CCS
standard include files. Also not to automatically go looking for other stuff.
PCM's post covers this last bit, mine how to setup the former.
Your project 'as is', with that one change, compiles for me fine. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sat Apr 04, 2020 8:02 am |
|
|
I don't think he can understand instructions in English very well.
So he just gives up. |
|
|
jose_pic16f887
Joined: 06 Sep 2018 Posts: 11
|
|
Posted: Sat Apr 04, 2020 8:05 am |
|
|
Friend thanks for answering again, my goal is to work with the dspic 30f4013 and not the pic 18F87K22, reason I'm testing the multisim simulator with the dspic 30f4013, the pic 18f87k22 has Proteus in its cracked version.
As Proteus does NOT have these libraries of the dspic 30f and pic 32, I had to use the multisim to perform these tests, so I made a small one in the ccs code which is a digital multimeter with the dspic 30f4013, and the ccs generates the code for me hex without any problem.
As we are with the COVID-19 pandemic and my country, Colombia, we are in quarantine and locked up at home, all the electronic stores are closed due to the forty in my country.
When the quarantine in my country by the COVID-19 is finished and the electronic stores are open, I will simulate the ccs code in the protoboard with the dspic 30f4013.
Thanks for the help and god bless you.
|
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19545
|
|
Posted: Sat Apr 04, 2020 8:06 am |
|
|
What I have described is for the PIC30F4013.
As I said it works for me with this change. |
|
|
dluu13
Joined: 28 Sep 2018 Posts: 395 Location: Toronto, ON
|
|
Posted: Sat Apr 04, 2020 9:03 am |
|
|
I have seen a problem like this before... With mplab x I was not able to compile until I logged in as administrator. I think it has to do with how compiler and ccs files are stored in the program files folder.
Not entirely sure if that might be the problem, but that could be something to check. |
|
|
jose_pic16f887
Joined: 06 Sep 2018 Posts: 11
|
|
Posted: Sat Apr 04, 2020 9:23 am |
|
|
It is not that I give up, but that I have been more than 2 days trying to compile this ccs code in mplab x ide. I have followed all the steps that have been mentioned to me and nothing works for me.
The version that I am using is mplab x ide V 4.0, it is a pity that this forum of ccs does not allow attaching files, as well as in other forums if they allow uploading files up to 200 KB.
The last step mentioned by the PCM Programmer friend I have done and it does not work for me. That's why I said is that if someone can remotely connect to my pc through teamviewer and look at the steps as they do and thus be able to learn, but nobody accessed me to ask.
Thank you all very much and god bless you always.
|
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19545
|
|
Posted: Sat Apr 04, 2020 10:23 am |
|
|
4!.....
The early MPLAB 4 releases were faulty. It was about 4.3 before it started
to work at all well. MPLAB-X is now on 5.35.
Get yourself the current version. |
|
|
jose_pic16f887
Joined: 06 Sep 2018 Posts: 11
|
|
Posted: Sat Apr 04, 2020 10:39 am |
|
|
i am testing this ccs tutorial https://www.ccsinfo.com/faq.php?page=ccs_mplab
I have installed mplab 8.9 and download the ccs plugin for mplab ide. I will follow these steps to see how it goes.
My objective is that the mplab ide generates the file with the elf extension, whose extension is compatible with the multisim of National Instruments.
|
|
|
|