
5-44 Neuron C Compiler Errors (NCC)
NCC# Description
349
350
Read error on cached file [NCC#349]
Write error on cached file [NCC#350]
A read error or a write error was reported while accessing a file.
Check for adequate disk space, or the possibility of loss of network
connection (if a networked file), or removal of removable media.
352 Array size exceeds 65535 [NCC#352]
The array variable being declared exceeds a total size of 65535 bytes.
No array, struct, or union variable in Neuron C can exceed 65535
bytes.
353
Variable being declared is too large for RAMNEAR. Use 'far'.
[NCC#353]
The variable being declared is larger than 256 bytes in size. The
total available size of the RAMNEAR area in the Neuron is 256
bytes, thus this variable declaration must be placed in RAMFAR.
Use the far keyword in the declaration ("near" is the default). See
the Memory Management chapter of the Neuron C Programmer's
Guide for more information.
354 Variable being declared is too large for EENEAR. Use 'far'.
The variable being declared is larger than 255 bytes in size. The
total available size of the EENEAR area in the Neuron is 255 bytes,
thus this variable declaration must be placed in EEFAR. Use the far
keyword in the declaration ("near" is the default). See the Memory
Management chapter of the Neuron C Programmer's Guide for more
information.
357
The 'uninit' storage class requires use of 'eeprom' or 'config' or
‘cp’ [NCC#357]
The uninit storage class is used to tell the compiler not to provide
any initial value for the data item being declared, thus the loader
will not overwrite that area of memory when reloading the program.
This feature is only available for data items using EEPROM or Flash
memory (the uninit storage class does not apply to RAM variables).
The uninit feature requires the declaration to use one of the storage
classes eeprom, config, or config_prop (abbreviated cp). See the
Neuron C Programmer’s Guide for more information.
358 The 'offchip' storage class requires use of 'far’ [NCC#358]
The Neuron Chip provides a “near” area of EEPROM memory and a
"near" area of RAM memory. Each of the “near” areas is located
onchip, and “near” is the default memory area used by a data
declaration. When writing a program for a Neuron 3150, which has
external (off-chip) memory, the offchip keyword can be used in the
data declaration to force the linker to place the data item in offchip
memory. Since the data declaration would default to the near area,
which is located on-chip, the far keyword must also be used in the
data declaration. Add the far keyword to the declaration.