Programming 5000 and 6000 offchip memory, Programming 5000 and 6000 series chips incircuit – Echelon IzoT NodeBuilder User Manual

Page 217

Advertising
background image

Programming 5000 and 6000 Off-chip Memory

A 5000 or 6000 Series device requires at least 2K of external serial EEPROM, and it can optionally
contain external serial flash memory. There is no on-chip non-volatile memory provided for the
application. Many types of EEPROM devices are supported; however, Echelon currently supports and
provides drivers for only the following three external flash devices: Atmel AT25F512AN, ST
M25P05-AVMN6T
, and SST25VF512A.

Note: The drivers for different flash devices consume varying amounts of EEPROM code space
because of the different programming algorithms required for the different flash devices. For example,
the SST driver takes 40 bytes more of EEPROM than the other two supported flash devices.

The system image resides in on-chip ROM. The application image and the system image are copied
from the external non-volatile memory into the on-chip RAM at chip startup and reset. The Neuron
firmware is responsible for copying any writes that are directed towards external non-volatile memory.
See the Neuron Chip or Smart Transceiver data book for more information.

The build process produces an .NME file for application code and data designated for external
EEPROM and an optional .NMF file for application code for external flash memory, if it is available.

You can download the device application over the network, or you can transfer the device application
over an I2C or SPI interface using the application images files generated by the build process if the
device has not been installed on the network. Using the I2C or SPI interface is ideal for the ex-circuit
programming of serial flash and EEPROM devices. In addition, you can use any compatible device
programmer with the I2C or SPI interface to program these memory devices in-circuit, which helps
with the development and mass-production of generic device hardware, and lowers production costs.
See the next section, Programming 5000 and 6000 Series Chips In-Circuit, for more information on
preparing your device hardware for in-circuit programming.

You can load an alternate system image from external EEPROM or external flash, if required. This
feature may be required if a newer firmware image becomes available at a later date. In such a case,
the system image will always start at address 0xC000 in the external part. In the case of external
EEPROM, the part has to be at least 32K in order to support alternate system images.

The 5000 and 6000 Series chips contain the version 18 Neuron firmware in their on-chip ROM;
therefore, you do not need to program the memory parts before the device is first used. When the
Neuron firmware initializes during power-up, it can detect empty memory parts, and then boot into the
applicationless state with communication parameters set for a TP/FT-10 channel at a clock multiplier
setting of 1. You can then load your application image using the IzoT NodeBuilder tool, IzoT
Commissioning tool, NodeLoad Utility, or other network tool.

You need to pre-program the serial memory parts if you want the device to start with a different
version of the Neuron firmware, or if you want to increase application loading speed during
production.

Programming 5000 and 6000 Series Chips In-Circuit

You can use the I

2

C or SPI interface on the 5000 and 6000 Series chips for the in-circuit programming

of your external non-volatile memory EEPROM and flash devices. This lets you pre-produce generic
hardware and load one of several application images into the board at production time, without the
need for costly sockets or re-soldering.

To perform in-circuit programming, you need a method to connect your external serial EEPROM or
flash memory device to a compatible device programmer, while disconnecting these signal lines from
the 5000 and 6000 Series chip. Echelon has tested the Aardvark™ I2C/SPI USB Host Adapter from
TotalPhase™ (Part No. TP240141), with the 10-pin split cable from TotalPhase (Part No. TP240212),
as one method for creating this connection (for more information on this adapter, go to the TotalPhase
Web site at

www.totalphase.com/products/aardvark_i2cspi/

). The Aardvark has six signal lines: two

for the I

2

C interface (SDA and SCL), and four for the SPI interface (MOSI, MISO, SCL, and SS). The

I

2

C/SPI interface used by the Neuron 5000 Processor or FT 5000 and 6000 Smart Transceiver has

IzoT NodeBuilder FX User's Guide

203

Advertising