Download Programming 8-bit PIC Microcontrollers in C 2008
Transcript
C Compiler Comparison 237 Table D.1: Comparison of C Compilers for PIC 16 Series M Microchip C18 (microchip. com) Hi-Tech C (htsoft.com) CCS C (ccsinfo. com) Mikro C (mikroe.com) MM C (matrixmultimedia. com) Primary market Commercial Commercial Both Educational Educational MCU targets PIC 18 only PIC ⫹ others PIC only Mainly PIC Mainly PIC Primary Any target hardware Any Any Proprietary single board Proprietary modular Function libraries Extensive peripheral support Standard libraries only Good peripheral support Extensive peripheral support Standard libraries only Tutorial or user manual Comprehensive Comprehensive Free free download free download download Relative price (single user) PIC16 n/a PIC18 $495 PIC24 $895 PIC16 $995 PIC18 $995 PIC24 $1195 16F87X $50 PIC16⫹18 $249 PIC16 $99* PIC16 $150 PIC24 $249 PIC16⫹18 $180* PIC18 $200 PIC24 $250 Demo version Functionlimited student edition Time-limited evaluation version Time- and None memorylimited demo None Origin US US US UK URL Comprehensive Tutorial in package free download only EU *Approximate Microchip C18 and Hi-Tech C are designed primarily for professional use, as reflected in the relatively high price, but this is compensated for by the provision of feature-limited freeware versions. For any development engineer who will be using mainly PIC 18 or above parts, the C18 offers the advantage of extensive function libraries. Bear in mind though, a separate compiler, C30, is needed for PIC24 and dsPIC devices, although one can assume an easy progression route from C18. For those intending to use a wider range of MCU types, Hi-Tech might be preferred. Hi-Tech PICC Lite offers good functionality in a limited range of PIC 16 devices, including 16F877. w w w.new nespress.com App 4-H8960.indd 237 6/10/2008 9:30:06 AM