henrjay WROTE:There are same choices available in internet.
Hitech,C18, CSS, microc, SDCC(16 and 18 only)
Hitech and C18 both from Microchip
some of them commented C18's lite version has a lot of redundant code after compiled into assembly
CSS are more suitable for beginner(a lot of function built), but a lot bugs@@...
I am considered not beginner since I started my MicroC with 8051(Keil IDE).
Now i start to try PIC MicroC.
FYI, i did search from internet, some of info. was posted a long time ago and i think cant take it as reference.
There is not much bugs on the CCS compiler. They release the updates pretty quickly. I tested them a few rounds and they are pretty good. However, you need to pay for the updates ever one year, and the renewing of the annual license is not cheap.
The final versions of all the HiTech and C18 are lumped into the Microchip XC8. Since then, I've been using the XC8 a lot more.
I have two licensed compilers for MikroC (PIC, dsPIC) and the best thing about the compilers is the lifetime updates. However, the formatting in the text box is
horrendeous and I have to realign my program code manually. The Microchip IDE one is even a thousand times better than the IDE provided by the MikroC. Other than that, the LCD libraries for the MikroC works pretty well, but they are not written to be called through interrupts. I didn't use some of the libraries provided like PWM because I normally use interrupts to couple with these peripherals. Therefore, I usually write a majority of my own code.
Talking about the PIC32, I didn't purchase the MikroC one. Reason is simple: the XC32's libraries did a lot more (like SDCard and USB) than the MikroC one. Plus, FreeRTOS is not supported in that compiler, so it gives me one more reason to skip that compiler.
If you need speed, you need to write assembly inside the C compiler. Assembly in dsPIC/PIC24 and AVR is much easier compared to the ones in PIC16/18F, and many projects written will have a combination of assembler and C inside.
Finally, no C compilers made are easy for begineers, no matter how much they give you the library. You need to read the datasheet, and the instruction set manual for the respective microcontroller.
PIC - UIC00B from Cytron (replacement for my broken PICKit 2), Pickit 3, MikroC for PIC
dsPIC - MikroC for dsPIC, mikromedia board (dsPIC33)
AVR - AVR Dragon
Parallax - Prop tool