Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Questions about using MPLAB 7.5 with CCS C Compiler (V.4023)

Status
Not open for further replies.

sokrates

Newbie level 2
Joined
May 11, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,332
Hello guys,

I am literally a newbie in microcontroller programming, so I have some questions related to this subject. I am working on a mobile robot that will align itself with respect to the randomly placed dummy robots. So I am trying to program PIC 18F452.

1 ) I have downloaded the CSS C compiler (V.4023) to program my PIC 18F452. But before that I had downloaded PIC C Lite. For the latter, I have to use MPLAB. The question is, do I have to use MPLAB for CSS C compiler too? Because it looks compact and self-sufficient. And if I can do with or without MPLAB, which one is better?

2 ) To use MPLAB 7.5 with CSS C(V.4023), I installed IDE Plug-in to use CSS C on MP-LAB, however, whenever I try to "add a source file" to my project. MPLAB complains about not being able to find the source file, eventhough SF is in the specified location.



That's it for now.

(PS: won't forget to press "HELPED ME")
 

ccsicd.dll

Hi,

1. Did you download the demo version of CCS C? If so, be aware about the restrictions (selectable chips and code limit). You can use CCS C as a stand-alone development environment, and you can also use it with MPLAB (by using the plug-in). Which way is better is a personal taste. However, I suggest you just use the CCS C as a stand-alone IDE, to avoid difficulties in making them working together.

2. This question has just proven what I say in the last sentence. Go to the Microchip forum and CCS forum, and search for plug-in solutions for MPLAB 7.50.

Cheers,
 

    sokrates

    Points: 2
    Helpful Answer Positive Rating
18f452 compiler

MPLAB can natively support C18 ! Try it out :)
 

ccs ide help

sokrates said:
Hello guys,

I am literally a newbie in microcontroller programming, so I have some questions related to this subject. I am working on a mobile robot that will align itself with respect to the randomly placed dummy robots. So I am trying to program PIC 18F452.

1 ) I have downloaded the CSS C compiler (V.4023) to program my PIC 18F452. But before that I had downloaded PIC C Lite. For the latter, I have to use MPLAB. The question is, do I have to use MPLAB for CSS C compiler too? Because it looks compact and self-sufficient. And if I can do with or without MPLAB, which one is better?

2 ) To use MPLAB 7.5 with CSS C(V.4023), I installed IDE Plug-in to use CSS C on MP-LAB, however, whenever I try to "add a source file" to my project. MPLAB complains about not being able to find the source file, eventhough SF is in the specified location.

That's it for now.

(PS: won't forget to press "HELPED ME")


I consider MIKROC to be the easiest way to start pic c coding...

https://www.mikroe.com/en/compilers/mikroc/pic/

You can use CCS C compiler alone or with MPLAB, what really matter is to have a hardware debugger/programmer like ICD2 for MPLAB or CCS ICD ...

You can also consider MICROCHIP C18 compiler for PIC18 series with MPLAB ...

CCS C compiler is not an ANSI C compiler ...if you don't have any prior c programming experience you'll be fine anyway...

Try them all and go with what suits you best...
 

ccs c compiler

Hi

older versions of CCS compiler was not supporting multiple source files included in the project.Only one main c file and all other files have to be added as include files.

Check weather your problem has anything to do with this issue.

Also CCS has got a very good forum as mentioned above.

IF you work with Microchip ICD2 use the compiler within MPLAB,then only you can use ICD.

If you are using CCS ICD or no ICD use the CCS IDE.

CCS IDE has got many usefull and cute features built in. Just see the tools menu .You will love it.

But if you want ANSI c code migrate to Hi tech .Hi:D

best of luck

picstudent
 

ccs compiler and midi

why not use hi-tech C? Just a thought.
 

ccs multiple compile

why not use hi-tech C

Because it is very expensive...

I'm using CCS and don't like it (I don't use bult-in feature). I have had sevral problem with multiple compilation unit.

What about SDCC ? I have to try it out. I think this could ba a good choise (completely free).
 

css compiler help

What about SDCC ? I have to try it out. I think this could ba a good choise (completely free).


Can you post a link, so people here can test it?
I tested Microchip C18 with Hi-tech PICC18 before, the PICC18 generate a smaller code with basically same C code. I am open to the SDCC if it is another good choice.
 

Re: CCS C Compiler Help

The official website is here:

http://sdcc.sourceforge.net/

After that you have a lot of website related to this compiler. For example:

**broken link removed**

I've seen usb project based on sdcc. This compiler might be interresting.

Regards,
Franck.
 

Re: CCS C Compiler Help

i use ccs compiler and found it quite good

then i tried sdcc and another app called codeblocks
it is again completely free
and acts as an ide for many also free compilers
that normaly arent distributed with ide's
it has an ansi build avalible via the forum where you can get some nighly builds{essential as there main installer is old}

https://www.codeblocks.org/
https://forums.codeblocks.org/

i use it to build comvdd and other win32 dlls
then i can open the sources and compile in sdcc at the same time

youll find an interesting example of c with sdcc on the thorsten klose midi controller devices site

**broken link removed**
**broken link removed**

i use this sources for the proteus dll comvdd coms
with the external controller i made

if you concider sdcc look at thorstens site
for some usefull info regarding sdcc code building for pics
...:D
 

CCS C Compiler Help

Thanks both of you for posting those good information. Nice job.

Franck. would you please edit your post a little, so your links can work as VSMVDD's post?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top