Processing error messages, Example console output – Echelon Neuron Field Compiler User Manual
Page 23

Neuron Field Compiler User’s Guide
17
Processing Error Messages
Any warning or error messages issued by the Neuron Field Compiler or its
components have the following format:
Message-type: Model_file_name Line_number(Column_number): Message
Example: A model file named tester.nc includes the following single network
variable declaration:
network input SNVT_volt nviVolt
Note the missing semicolon at the end of the line. When you use this file to build
a project, the compiler issues the following message:
Error: TESTER.NC 1( 32):
Unexpected END-OF-FILE in source file [NCC#21]
The message type is Error, the line number is 1, the column number is 32 (which
corresponds to the position of the error, in this case, the missing semicolon), and
the compiler message number is NCC#21. To fix this error, add a semicolon to the
end of the line.
See the Neuron Tools Errors Guide for information about the various error codes
from the Neuron Field Compiler components. See NCA Error Messages on page
18 for a description of error codes issued by the LonNCA32 command.
Example Console Output
The following example output from the LonNCA32 command shows compilation
of a simple Neuron C file that is linked for an FT 5000 Smart Transceiver.
Build log c:\src\test\mytarget-01\a.log
Created Thursday, January 13, 2011, at 15:12:00
Compiling...
Echelon Neuron C Compiler, version 5.01.7, build 0
Copyright (c) Echelon Corporation 1989-2010
Assembling...
Neuron Assembler, version 5.01.8, build 0
Copyright (c) Echelon Corporation 1992-2010
Linking...
Neuron Linker, version 5.01.8, build 0
Copyright (c) Echelon Corporation 1992-2010
LIST OF MEMORY AREAS
* AREA * * ALLOCATED * * UNUSED *
From To Len From To Len
SYSTEM IMAGE ROM 0000 3FFF 4000 - RESERVED -
OffChip NVRAM (EECODE) 4000 40FF 0100 402A 40FF 00D6
OffChip NVRAM (Pool) - AVAILABLE - 4100 DFFF 9F00
OffChip RAM (Pool) - AVAILABLE - E000 E7FF 0800
OnChip RAM (System) E800 ECC3 04C4 - NONE -
OnChip RAM (Pool) - AVAILABLE - ECC4 EFFB 0338
OnChip RAMNEAR EFFC EFFF 0004 - NONE -
OnChip EEPROM (Prolog) F000 F02D 002E - NONE -
OnChip EEPROM (Config) F02E F0B6 0089 - NONE -
OnChip EECODE F0B7 F0B8 0002 F0B7 F0B8 0002
OnChip EEPROM (MemCtl) F0B9 F0C6 000E - NONE -