beautypg.com

Echelon Neuron User Manual

Page 122

background image

114

Neuron C Compiler Errors (NCC)

NCC#

Description

532

The expand_array_info option is not compatible with use of the NV as CP array

[NCC#532]

Use of a network variable array as an array configuration property (the
entire array is a single property) cannot be used with a network variable

that is declared with the expand_array_info option.

533

The spi I/O object cannot use the 'clockedge(+-)' option [NCC#533]

For a spi I/O object, you must use either clockedge(+) or clockedge(-).

534

The select pin must be IO_7 for the 'spi' device type [NCC#534]

If a spi I/O object declaration uses the optional select pin, it must use IO_7.

535

The baud rate specified is not a supported rate for the 'sci' device type

[NCC#535]

The sci I/O object supports only a certain predefined set of baud rates. See

the description of the sci I/O object in the

I/O Model Reference

.

536

The FPT requires that this property be an array of ..

elements [NCC#536]

Neuron C Version 2.1 introduced configuration properties that are arrays.
In other words, the entire array is treated as a single property. The FPT

resources (SFPT*, UFPT*) designate, for each property, whether that

property may not, may, or must be an array. In the case of properties that
must be an array, the FPT can specify a fixed array bound, or a variable

array bound within a range. This error message indicates that the program
attempted to instantiate a property for an FPT CP member, but the

property's array bound does not fall within the required range of the array

bound as designated by the FPT.

537

If I/O clock is specified, the pragma must precede the SCI device declaration

[NCC#537]

The sci I/O object declaration can (and in most cases does) specify an initial

baud rate. This baud rate is used to construct a register setting that is

dependent on the device's input clock. The #pragma specify_io_clock is
used to communicate the input clock value to the compiler, and it must

appear in the program before the declaration of the I/O object. See the

I/O

Model Reference

for more information.

538

The #pragma codegen no_cp_template_compression is incompatible with

#pragma codegen cp_family_space_optimization selected earlier [NCC#538]

You cannot choose both options, since they would be logically contradictory

with each other.