beautypg.com

Echelon Neuron User Manual

Page 56

background image

48

Neuron C Compiler Errors (NCC)

NCC#

Description

27

Special event & init code block exceeds size limitation [NCC#27]

The tasks corresponding to the reset, online, offline, and wink events, as

well as any when clause arbitrary expressions all generate code in a special
area known as the APINIT block. If #pragma disable_mult_module_init

(see the

Compiler Directives

chapter of the

Neuron C Reference Guide

) is

used, any non-zero initialization of global RAM variables and I/O objects
place code here as well. This block is limited in size to 255 bytes.
If you exceed the size of this block, try moving the bulk of code in any tasks
that correspond to reset, online, offline, and wink events to functions that

are called from these tasks. If you are using the #pragma

disable_mult_module_init directive, remove the pragma.

28

Incorrect I/O object type for io_changes event [NCC#28]

See the description of the event in the

Predefined Events

chapter of the

Neuron C Reference Guide

. Verify that your I/O object type supports this

event.

29

Use only 15000, 10000, or 1000 for I/O object's baud [NCC#29]

The bitshift I/O object types can have their bit rates specified with either

the baud or kbaud I/O declaration modifier. If kbaud is used, the only legal
values are 15, 10, and 1. If baud is used, the only legal values are 15000,

10000, and 1000. The default bit rate for these I/O object types is 15kbps,
and need not be specified.

30

Use only 15, 10, or 1 for kbaud rate value [NCC#30]

The bitshift I/O object types can have their bit rates specified with either

the baud or kbaud I/O declaration modifier. If kbaud is used, the only legal

values are 15, 10, and 1. If baud is used, the only legal values are 15000,
10000, and 1000. The default bit rate for these I/O object types is 15kbps,

and need not be specified.

31

Too many ‘when’ clauses [NCC#31]

Neuron C places entries representing the when clauses in a table that is

interpreted by the Neuron Chip firmware scheduler. The table's entries are
variable sized, as some event expressions are more complex than others.

The table size is limited to 256 bytes. When the table is full, no more when

clauses can be accepted. Note that the limit is on the number of when
clauses and not on the number of when tasks.

32

Cannot open binder interface file(s) [NCC#32]

This problem could occur when the compiler attempts to open files with

.BIF or .BF2 extension, but the file cannot be opened properly with write
access. It is possible that the file is marked read-only, or that the output

folder does not exist, or there is a disk or operating system problem.