CC5X Main Page

CC5X C compiler for PICmicro
CC5X red_ball.gif (129 bytes) Introduction Features - multitasking - math library - installation - MPLAB support - supported chips Examples Questions NEWS Coming Feedback Support Links DOWNLOAD PRICES Distributors Home Page Version 3.1

Copyright (c) B Knudsen Data, Norway, 1992 - 2001.

Supports midrange PICmicro devices:

  • 12 bits core : PIC12CXXX, PIC16C5X, PIC16C5XX
  • 14 bits core : PIC12CXXX, PIC14CXXX, PIC16CXXX, PIC16F8XX

Long experience: In use by professionals since 1992.

A FREE edition of CC5X is available.

Math library support. Fixed and floating point math is available. Floating point math (16, 24 and 32 bit) includes functions like log(), exp(), sin(), cos(), sqrt(). The libraries are compact and significant space can be saved compared to the assembly floating point libraries from Microchip.

Linker support. C and assembly modules can now be linked together using MPLINK.

Standard C strings and constant data. The type modifier 'const' allows constant data and strings to be stored in program memory using standard C syntax. Pointers to 'const' data is supported. Pointers of 8 and 16 bit can be used in the same application.

Are you waiting for coming features? The 1 year update agreement ensures that you get the new features introduced within 12 months after purchase.

Preliminary: Multitasking support using state machines is available. Many highly reliable and complex systems are built using state machines, for instance in telecommunications. A normal RTOS can impose unpredictable response delays. State machines are predictable, fast and allows the maximum delay to be calculated. So, try state machines and discover how you can use PICmicros for complex real time control jobs.

Compact code and efficient RAM usage are the outstanding features of CC5X. The compiler has been and is still leading in generating compact code. Variables up to 32 bit is supported, including bit variables and bit functions. CC5X is suited for real-time applications requiring strong control of the generated code. The code can be inspected in the comprehensive assembly file produced.

Code savings of 20-30% compared to other C compilers have been reported. For example, the ping.c program found on the Microchip Internet site was reduced from 2170 to 1699 instructions when porting it to CC5X. That is a saving of 471 instructions.

However, there are some limitations to be aware of:

  • all C syntax is not supported
  • the library support is limited
  • PIC17 and PIC18 are not yet supported

CC5X was designed to enable very efficient usage of the limited code and RAM space, with the ease of C programming instead of assembly.

End line

Từ khóa » Cc5x