Echelon Neuron User Manual

Page 123

Advertising
background image

Neuron Tools Errors Guide

115

NCC#

Description

539

The #pragma codegen cp_family_space_optimization is incompatible with

#pragma codegen no_cp_template_compression selected earlier [NCC#539]

You cannot choose both options, since they would be logically contradictory
with each other.

540

I/O object type restricted to pins IO_0 or IO_8 [NCC#540]

The particular I/O object being declared must either be declared on IO_0 or

IO_8.

541

The output pin is restricted to pins IO_0 through IO_7 [NCC#541]

The particular I/O object being declared must be declared on one of the pins
IO_0 through IO_7.

542

Timing values for touch I/O object must be in range 1..256 [NCC#542]

As the message says, if you supply the optional timing values in the

declaration of the touch I/O object, these values must be in the range of 1 to

256. However, note that a zero value is interpreted as 256, so to use 256 as
a timing value you must actually supply a zero.

543

The SCPTnvType and SCPTmaxNVLength can only apply to changeable_type

NVs [NCC#543]

Properties of type SCPTnvType or SCPTmaxNVLength are only permitted

as a property of one or more network variables declared as
changeable_type. See

How Devices Communicate Using Network Variables

in the

Neuron C Programmers Guide

for more information.

544

The #pragma system_image_extensions nv_length_override must precede all

uses of the 'nv_len' property [NCC#544]

Use of the directive #pragma system_image_extensions nv_length_override

selects use of the user-written extension function get_nv_length_override()

when determining the length of a network variable. Therefore this pragma
must be used to select this method prior to any attempts to get the length of

the network variable. The pragma must appear in the program before any

use of the nv_len property. See

How Devices Communicate Using Network

Variables

in the

Neuron C Programmers Guide

for more information.

545

Reading the nv_len property within the get_nv_length_override function is

prohibited [NCC#545]

The get_nv_length_override() function is provided by the application
programmer when using the system extension option nv_length_override.

This function is also called by the compiler to evaluate the nv_len property

for a network variable. Therefore, the function may not contain any such
references to the nv_len property, else there would be an endless loop. See

How Devices Communicate Using Network Variables

in the

Neuron C

Programmers Guide

for more information.

Advertising