- What's New
- product registration
- Distributors and resellers
- About Us
- Fixed Point
- Fuzzy Logic
- FAE/Client Login
- more information
COP8C Product News
The following sections describe new features in Byte Craft Limited Products.
Byte Craft Limited
55 Northfield Drive East 213
Waterloo, Ontario, Canada
phone: +1 519.888.6911
COP8C supports new microcontroller devices from National Semiconductor. This section describes new header files that we have included for these devices.
From National documentation:
Part Numbering Scheme: Example: COP8 CB E 9 H VA 8 | | | | | | CB: Low Brownout Voltage \ | | | | | | CC: High Brownout Voltage |--------/ | | | | | CD: No Brownout | | | | | | CF: CD w/o USART, Dual ck / | | | | | | | | | | E: 8k Program Memory }-----------/ | | | | | | | | 9: Flash Program Memory }--------------/ | | | | | | H: 44 pins \-----------------/ | | I: 48 pins / | | | | LQ: LLP \ | | MT: TSSOP |--------------------/ | VA: PLCC / | | 7: -40 to +125 Degrees C \ | 8: -40 to +85 Degrees C |-----------------------/ 9: 0 to +70 Degrees C /
When targeting one of these parts, use one of the following header files:
|Header File||Part Characteristics||Part Numbers|
||(32k Flash, 1k RAM, 10 bit A/D, 3 timers)||
||(8k Flash, 256 RAM, 10-bit A/D, 2 timers)||
||(Same as 8CBE9 but No USART, no Dual Clock)||
||(Same as 8CxE9, but no A/D)||
||(10-bit A/D, 2 Op-amps, Temp Sensor, 4.5V Supply)||
* Part numbers reflect all possible combinations and may not actually exist.
Before beginning development, ensure that a header file for your target part is available. If you require a header file that does not appear in the
include/dev subfolder of the COP8C installation, use the form at http://www.bytecraft.com/header.html to request it. Byte Craft Limited regularly issues new header files with product updates.
The COP8C compiler supports direct communication to debug environments. Embedded BCdirect commands can be used to pre-set breakpoints, pass set up information, and embed print and log statements without impacting generated code. BCdirect information is passed as messages in the
#pragma option RAMMAP;
This option is now on by default. It graphically displays RAM usage at the end of the listing file.
COP8C supports the ANSI standard uses for the static storage class modifier:
When variables are declared and initialized at the same time, the compiler generates code to load the variables with the values. For static local variables, this is only done once at the beginning of the program. Further calls to the function do not reinitialize the variables, thus preserving their values..
When used with the linker, it limits the scope of global variables to the module in which they are declared.
The COP8C compiler is now available for the HP 700 series under HP-UX and for the SUN SPARC under either Solaris or SUN-OS. There is also a version of the COP8C compiler available to run on the NEC-PC development platform.
You can set the value stored in unused ROM locations with the #pragma option fillrom statement:
#pragma option fillrom
value is an 8-bit integer expression.
The default integer size of Code Development Systems is 8 bits. If the symbol __INT16 is defined, it indicates that the default integer size is 16 bits.
The __INT16 preprocessor symbol is defined by the compiler when either the +i is set on the command line, or the #pragma option +h directive appears in a source file.