Вы находитесь на странице: 1из 9

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

Software Details PICC COMPILER


CCS provides a complete integrated tool suite for developing and debugging embedded applications running on Microchip PIC MCUs and dsPIC DSCs. The heart of this development tools suite is the CCS intelligent code optimizing C compiler which frees developers to concentrate on design functionality instead of having to become an MCU architecture expert. Maximize code reuse by easily porting from one MCU to another. Device Support Minimize lines of new code with CCS provided peripheral drivers, built-in functions and standard C operators Built-in functions are specific to PIC MCU registers, allowing access to hardware features directly from C CCS C Compiler Details Intelligent and highly optimized CCS C compilers contain Standard C operators and Built-in Function libraries that are specific to PIC registers, providing developers with a powerful tool for accessing device hardware features from the C language level. Standard C preprocessors, operators and statements can be combined with hardware specific directives and CCS provided built-in functions and example libraries to quickly develop applications incorporating leading edge technologies such as capacitive touch, wireless and wired communication, motion and motor control and energy management. Device Specific Optimization and Initialization Device specific include files contain all the information the compiler needs to optimize code generation for the specific PIC MCU. Op-code length Memory size Pin functionality www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...
Memory banking Peripheral resources Hardware stack size

ISO 9001:2008 Certified

This detailed information enables the compiler to make intelligent decisions regarding code optimization at the sub family and device level, generating denser code than would be possible if the compiler treated all devices within a Microchip PIC family the same. Learn how an optimizing C compiler can save you money. The device specific include files also initialize device registers and peripherals, relieving developers from the tedium of studying data sheets to learn register map details, flag settings, etc. The compiler can handle in-line or separate functions, as well as parameter passing in re-usable registers. Transparent to the user, the compiler handles calls across pages automatically and analyzes program structure and call tree processes to optimize RAM and ROM Usage. Additional features include: Efficient function implementation allows call trees deeper than the hardware stack. Automatic linking handles multiple code pages. Assembly code may be inserted anywhere in the source and may reference C variables. Function Overloading allows for several functions with the same name, but differences in number and type of parameters. Default Parameters can be used in a function if arguments are not used in a call. The compiler generates all startup and clean up code for interrupt functions as well as identifying the correct interrupt function to be called. Reference parameters may be used to improve code readability and in-line function efficiency. Variable Number Of Parameters in a function. Relocatable Objects / Multiple Compilation Unit (IDE Only) Automatic #fuses Configuration Function recursion for PIC24 and dsPIC DSC devices

www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...
Built-In Functions Provide Direct Access to PIC MCU Hardware

ISO 9001:2008 Certified

The CCS compiler contains over 307 built-in functions that simplify access to hardware while producing efficient and highly optimized code. Functions are included for device hardware features such as: Timers & PWM modules A/D converters On-chip data EEPROM LCD controllers External memory busses Specify microcontroller clock speed with a PRAGMA, allowing built-in functions to generate precision delays in microseconds or milliseconds with DELAY_US() and DELAY_MS() Setup and read values from on-chip A/D converterswith SETUP_ADC() and READ_ADC() Enhanced oscillator control for selection from multiple clock sources, PLL and power saving options Set PWM duty cycle with SET_PWM_DUTY Drive the internal PIC LCD controller with LCD_LOAD(), LCD_SYMBOL() Maintain tri-state registers with INPUT() and OUTPUT_HIGH Use compiler directives to specify if tri-state registers are refreshed on every I/O or if the I/O is as fast as possible Map registers to C variables with #BIT, #BYTE and #WORD Interface codec chips to dsPIC DSCs with Data Converter Interface (DCI) peripheral support for I2S and AC '97 16-bit and 20-bit protocols Arithmetic Libraries Speed up Code Development Why recreate the wheel coding your own arithmetic functions in assembly or C? Standard C math libraries are supplied with the CCS compiler. 1, 8, 16 and 32-bit integer types and 32-bit floating point are supported for all devices 48 and 64-bit integer types and 64-bit floating point for PIC24 and dsPIC DSC devices www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

The compiler also has the ability to represent decimal numbers using a new data type, the fixed point decimal. Fixed point decimal gives you decimal representation, but at integer speed. This gives you a phenomenal speed boost over using float. DSP in-line assembly is supported for your most performance critical code. Quickly Implement Industry Standard Protocols Built-in functions, include files, interrupts, and code examples help you to quickly "get on the bus". Serial buses such as I2C and SPI, CAN, ECAN and USB interfaces and RS232 communications protocols are fully supported by the CCS compiler and development kits. Powerful built-in libraries for interface and communication such as #USE SPI(), #USE I2C() and #USE RS232() make it easy to define multiple I2C and RS232 ports Hardware transceiver used when possible, but for all other occasions the compiler generates a software serial transceiver. Serial I/O functions allow standard functions such as GETC() and PRINTF() to be used for RS-232 like I/O. #USE RS232() offers options to specify a maximum wait time for getc. Optimized String Handling Delivers Up to 18% Code Size Reductions String compression for 7-bit ASCII strings has been implemented for Microchip's 14bit opcode PIC12 and PIC16 families. Studies conducted by CCS show that string functions that used to take 2,300 bytes of ROM to implement now consume as little as 1,884, a savings of 18% Strings can be used in switch statements, making it much easier developers to perform string comparisons. Comparisons that can take many individual string handling function calls to implement with other compilers can be handled directly in the switch statement, resulting in tighter and more maintainable source code and a smaller ROM footprint. Variable Length Constant Strings Formatted printf allows easy formatting and display in HEX or decimal. Efficient Bit Oriented Code Standard one bit type (Short Int) permits the compiler to generate very www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...
efficient bit oriented code. Bit Arrays Efficient Data Structures Mapped into Program Memory

ISO 9001:2008 Certified

Flexible constant data structure handling allows the compiler to handle lookup tables that are virtually unlimited in size. This is of particular interest to developers using large lookup tables for trigonometric functions or storing FPGA configuration memory images in on-chip MCU memory. Constants (including strings and arrays) are saved in program memory DSP performance can be enhanced by manually assigning variables to data spaces for faster access with preprocessor directives Extensive Source Code Driver Library CCS provides an extensive source code library of drivers to aid in driver development for your target hardware. Source code drivers included for LCD modules, keypads, 24xx and 94xx serial EEPROM, X10, DS1302 and NJU6355 real time clocks, Dallas touch memory devices, DS2223 and PCF8570, LTC1298 and PCF8591 A/D converters, temperature sensors, digital pots, I/O expander and much more. 133 ready-to-run programs included Enhanced Instruction Set Microchip Enhanced Mid-Range Core Architecture Support The CCS code optimizing C compiler supports up to 56K instructions and 4K RAM for these new 14-bit opcode devices. The Enhanced Mid-Range core's 16-level hardware stack is supported by the compiler's 16-level call stack, reducing the number of inlined system functions that must be coded. Built-in system functions are provided for all of the enhanced peripherals including A/D converters and comparators, SPI and I2C serial buses, PWM, mTouch. non-volatile memory, opamp and LCD drive. Microchip PIC24EP + dsPIC33EP Support The CCS code optimizing C compiler supports PIC24EP + dsPIC33EP chips. Debugging is not yet supported for EP chips. Virtual Memory Support The compiler contains features to simplify using external memory chips. www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

Addressmod Capability To Create User Defined Address Spaces In Memory Device Generation Of Multiple HEX Files For Chips With External Memory The compiler runs under Windows 95, 98, ME, NT4, 2000, XP, Vista, Windows 7 or Linux. It outputs hex and debug files that are selectable and compatible with popular emulators and programmers including the MPLAB IDE for source level debugging.

PIC SIMULATOR IDE


PIC Simulator IDE is powerful application that supplies PIC developers with userfriendly graphical development environment for Windows with integrated simulator (emulator), Basic compiler, assembler, disassembler and debugger. PIC Simulator IDE currently supports the following microcontrollers from the Microchip PICmicro 12F and 16F product lines: 12F629, 12F635, 12F675, 12F683, 16F627, 16F627A, 16F628, 16F628A, 16F630, 16F631, 16F636, 16F639, 16F648A, 16F676, 16F677, 16F684, 16F685, 16F687, 16F688, 16F689, 16F690, 16F72, 16F73, 16F74, 16F76, 16F77, 16F737, 16F747, 16F767, 16F777, 16F83, 16F84, 16F84A, 16F87, 16F88, 16F818, 16F819, 16F870, 16F871, 16F872, 16F873, 16F873A, 16F874, 16F874A, 16F876, 16F876A, 16F877, 16F877A, 16F882, 16F883, 16F884, 16F886, 16F887, 16F913, 16F914, 16F916, 16F917, 16F946. Additional PIC models sharing the same architecture will be supported in the new releases. PIC Simulator IDE main features: - Main simulation interface showing internal microcontroller architecture, - FLASH program memory editor, EEPROM data memory editor, hardware stack viewer, - Microcontroller pinout interface for simulation of digital I/O and analog inputs, - Variable simulation rate, simulation statistics, - Breakpoints manager for code debugging with breakpoints support, - PIC assembler, interactive assembler editor for beginners, PIC disassembler, - Powerful PIC Basic compiler with smart Basic source editor, - PIC Basic compiler features: three basic integer data types (1-bit, 1-byte, 2-byte), optional 4-byte (32-bit) long integer data type with 32-bit arithmetics, optional 4www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

byte (32-bit) single precision floating point data type with single precision math functions, arrays, all standard PIC Basic language elements, optional support for structured language (procedures and functions), high level language support for using internal EEPROM memory, using internal A/D converter module, using interrupts, serial communication using internal hardware UART, software UART implementation, I2C communication with external I2C devices, Serial Peripheral Interface (SPI) communication, interfacing character LCDs, interfacing graphical LCDs with 128x64 dot matrix, R/C servos, stepper motor control, 1-Wire devices, DS18S20, using internal PWM modules ... - Configuration bits editor, - PC's serial port terminal for communication with real devices connected to serial port, - LCD module simulation interface for character LCD modules, - Graphical LCD module simulation interface for 128x64 graphical LCD modules, - Stepper motor phase simulation interface for stepper motor driving visualization, - Simulation module for external I2C EEPROMs from 24C family, - Hardware UART simulation interface, - Software UART simulation interface for software implemented UART routines, - Oscilloscope (with Zoom feature) and signal generator simulation tools, - 7-segment LED displays simulation interface, - Support for external simulation modules, - Extensive program options, color themes, ...

Orcad
Industry-proven OrCAD solutions are available as standalone products or in comprehensive suites. Unlike other PCB design tools, OrCAD PCB design suites provide a feature-rich, fully scalable solution that can be expanded and upgraded as PCB challenges and the level of design sophistication grows. Cadence OrCAD Capture and Capture CIS OrCAD Capture provides fast and intuitive schematic design entry for PCB development or analog simulation using PSpice. The component information system www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

(CIS) integrates with it to automatically synchronize and validate externally sourced part data. Easy-to-use and powerful, Cadence OrCAD Capture is the most widely used schematic design solution, supporting both flat and hierarchal designs from the simplest to the most complex. Seamless bi-directional integration with OrCAD PCB Editor enables data synchronization and cross-probing/placing between the schematic and the board design. OrCAD Capture allows designers to backannotate layout changes, make gate/pin swaps, and change component names or values from board design to schematic using the feedback process. It also comes with a large library of schematic symbols and can export netlists in a wide variety of formats. OrCAD Capture CIS integrates the OrCAD Capture schematic design application with the added capabilities of a component information system (CIS) and the Cadence ActiveParts Portal. CIS allows designers to search, identify, and populate the design with preferred parts. With easy access to company component databases and part information, designers can reduce the amount of time spent researching needed parts. Features/Benefits Boosts schematic editing efficiency of complex designs through hierarchical and variant design capabilities Integrates with a robust CIS that promotes the use of preferred, current parts to accelerate the design process and reduce project costs Provides access to more than two million parts with Cadence ActiveParts, offering greater flexibility when choosing design components Cadence OrCAD PCB Designer Proven, easy-to-use PCB place-and-route technology Based on production-proven Allegro PCB technology, from the Allegro platform, OrCAD PCB Editor offers a wide array of powerful features to speed designs from placement and routing through to manufacturing. www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

EMBEDDED SYSTEMS

redefining innovation...

ISO 9001:2008 Certified

Cadence OrCAD PCB Designer contains a fully integrated design flow that includes a constraint manager, design capture technology, component tools, a PCB editor, an auto/interactive router, and interfaces for manufacturing and mechanical CAD. At the heart of OrCAD PCB Designer is OrCAD PCB Editor, an interactive environment for creating and editing simple to complex multi-layer PCBs. The extensive feature set addresses a wide range of design and manufacturability challenges. OrCAD PCB Designer and OrCAD PCB Designer with PSpice both include Cadence SPECCTRA for OrCAD, the market-leading PCB solution for automatic and interactive interconnect routing. Designed to handle routing challenges requiring complex design rules, it uses powerful shape-based algorithms for speed and efficient use of the routing area. Optional PSpice circuit analysis and simulation capabilities integrated with the included OrCAD Capture facilitates rapid design-and-simulate cycles, allowing engineers to explore various design configurations before committing to a specific circuit implementation. A common database architecture, use model, and library offer truly scalable PCB solutions for both OrCAD and Allegro products, allowing engineers the ability to migrate to the Allegro PCB technologies as their designs and design challenges increase in complexity. Features/Benefits Offers a proven, scalable, easy-to-use PCB editing and routing solution that grows as needed Tight, front-to-back application integration increases productivity and ensures data integrity A comprehensive feature set and a seamless PCB design environment delivers a complete solution to take a design from concept to production

www.qis.co.in | Cochin | Kannur | 2011 Quest Innovative Solutions Pvt. Ltd.

Вам также может понравиться