Page 1
Production guide netX 90 Hilscher Gesellschaft für Systemautomation mbH www.hilscher.com DOC190101PG03EN | Revision 3 | English | 2019-07 | Released | Public...
1 Introduction About this document 1.1.1 Description of the contents This production guide describes the software architecture of the netX 90 SoC and explains how to program necessary software components into your device during end-of-line production. 1.1.2 List of revisions...
The manual delivered with the product shall apply. Under no circumstances shall Hilscher Gesellschaft für Systemautomation mbH be liable for direct, indirect, ancillary or subsequent damage, or for any loss of income, which may arise after use of the information contained herein.
Page 5
Introduction 5/70 Liability disclaimer The hardware and/or software was created and tested by Hilscher Gesellschaft für Systemautomation mbH with utmost care and is made available as is. No warranty can be assumed for the performance or flawlessness of the hardware and/or software under all application conditions and scenarios and the work results achieved by the user when using the hardware and/or software.
Page 6
Additional guarantees Although the hardware and software was developed and tested in-depth with greatest care, Hilscher Gesellschaft für Systemautomation mbH shall not assume any guarantee for the suitability thereof for any purpose that was not confirmed in writing. No guarantee can be granted whereby the...
Page 7
The customer hereby expressly acknowledges that this document contains trade secrets, information protected by copyright and other patent and ownership privileges as well as any related rights of Hilscher Gesellschaft für Systemautomation mbH. The customer agrees to treat as confidential all of the information made available to customer by Hilscher Gesellschaft für...
ROM code Hard-coded software residing in the Read-only memory of the netX. Handles the netX 90 boot process and “loads” firmware into RAM (if not executed in flash). Cannot be changed. Serial Dual-Port Memory of the netX 90 (host interface) Table 3: Abbreviations...
9/70 2 Software architecture Basics Key feature of the netX 90 SoC is the logical separation of communication tasks (i.e. industrial Ethernet protocol processing) and application tasks (i.e. IO data/application processing), which are handled by two separate ARM Cortex-M4 CPUs, i.e. the “COM CPU” and the “APP CPU”.
(like e.g. the firmware) or dedicated space for storing non-file-based data (see sub-section below). The correct definition of these areas depend on your netX 90’s firmware use case. The following sections explain the flash layout use cases in detail.
Page 12
Important: If you are not programming a “blank” netX 90 device (i.e. if a *.nxi firmware ran on the netX before, thus using the management area and the remanent area for data storage), make sure that these areas are empty by erasing them with the Flasher tool.
It uses SDRAM and external SQI Flash and works with a fail-safe flash file system in the SQI Flash. Therefore handling of multiple files/configurations and functions on embedded systems as well as working with Hilscher tools like Communication Studio are possible. ·...
Overview The following table provides an overview of mandatory and optional files (depending on use case) that must or can be downloaded to the flash memory of the netX 90 by the OEM during end-of-line production. File Description Sources/tools for handling...
How to ... Configure the netX 90 hardware. Flashing/downloading The HW config binary can be flashed to the netX 90 by the Flasher tool of netX Studio CDT. The GUI-integrated Flasher tool of netX Studio CDT will automatically write the file to the right location within the flash memory of the device.
“Area 0”. Note: The pre-configured FDL templates provided by Hilscher and the FDLs that can be created in the New Flash Device Label wizard of netX Studio CDT already contain the required flash area definitions of all files for the netX.
Flashing/downloading The FDL can be flashed to the netX 90 by the Flasher tool of netX Studio CDT. The GUI-integrated Flasher tool of netX Studio CDT will automatically write the file to the right location within the flash memory of the device. For more information about the Flasher tool, please refer to the How to ...
“Area 1”. Note: The pre-configured FDL templates provided by Hilscher and the FDLs that can be created in the New Flash Device Label wizard of netX Studio CDT already contain the required flash area definitions of all files for the netX.
File header (a.k.a. “device header”) of the *.nxi communication firmware before downloading the firmware to the device. If these IDs do not match, the Hilscher tool will refuse to download the COM firmware. The same applies to the *.mxf maintenance firmware, which manages firmware updates on the netX: It also checks these IDs and refuses to update the COM firmware if these IDs do not match.
CPU. These MAC addresses have to be set individually for each device during production. Note: If your netX 90 device is intended for Real-Time Ethernet communication, use the MAC address 1 ... 4 fields to define four different MAC addresses. This ensures that you can easily switch between different RTE protocols (e.g.
The following table shows the section of the FDL that holds the Product identification; i.e. various IDs that could be assigned to “built-in interfaces” (like e.g. USB), which are not assigned by Hilscher. Note that the netX 90 has no internal USB interface, therefore all values must be set to zero. Offset...
Page 30
The following table shows the section of the FDL that holds the Flash Layout Table; i.e. the definition of the layout of the integrated flash memory of the netX 90. It must be configured according to use case (see section Firmware use cases [} page 13]).
The following table shows the section of the FDL that holds the Flash Chip Table; i.e. information about the flash memory chips (INTFLASH and external SQI flash devices) of the netX 90 and their underlying driver. The table allows the definition of up to four flash chips/devices. In the depiction below, details are provided for the description of chip 0;...
Hilscher. Flashing/downloading The COM firmware can be flashed to the netX 90 by the Flasher tool of netX Studio CDT. The GUI-integrated Flasher tool of netX Studio CDT will automatically write the file to the right location within the flash memory of the device.
“Area 2”. Note: The pre-configured FDL templates provided by Hilscher and the FDLs that can be created in the New Flash Device Label wizard of netX Studio CDT already contain the required flash area definitions of all files for the netX.
– netX 90 development (DOC170504GSxxEN). Flashing/downloading The APP firmware can be flashed to the netX 90 by the Flasher tool of netX Studio CDT. The GUI-integrated Flasher tool of netX Studio CDT will automatically write the firmware to the right location within the flash memory of the device.
Maintenance firmware (*.mxf) Brief description The maintenance firmware is a dedicated/standalone firmware for handling the update of “regular” firmware on the netX 90. Its size depends on the use case (see also section Firmware use cases [} page 13]): Use case A: 84 KByte...
Page 37
37/70 Flashing/downloading The maintenance firmware can be flashed to the netX 90 by the Flasher tool of netX Studio CDT. The GUI-integrated Flasher tool of netX Studio CDT will automatically write the file to the right location within the flash memory of the device.
The OEM can create and edit the hardware configuration for maintenance firmware in netX Studio CDT according to use case. For more information on this, please refer to the document Getting started: netX Studio CDT – netX 90 development (DOC170504GSxxEN), section How to ... Configure the netX 90 hardware. Flashing/downloading The HW config binary for maintenance firmware can be flashed to the netX 90 by the Flasher tool of netX Studio CDT.
In use cases B and C, we recommend you to define it as “Area 3”. Note: The pre-configured FDL templates provided by Hilscher and the FDLs that can be created in the New Flash Device Label wizard of netX Studio CDT already contain the required flash area definitions of all files for the netX.
Software architecture 44/70 The following picture shows the pins of netX 90 that are involved in the boot mode configuration: Figure 8: Pin configuration for operating modes Note: Only valid firmware images pass the verification sequence of the ROM code. If an image, for whatever reason, is incomplete or defect, the ROM code follows the sequence depicted in the Boot mode flow chart above.
After a hardware reset if neither (valid) communication firmware nor · maintenance firmware can be found The console mode allows access to the netX 90 via UART, Ethernet or host interface. This “console mode interface” is determined by the configuration settings of...
Multiple firmware versions: · The netX 90 has the maintenance firmware stored in INTFLASH1 and holds multiple firmware versions for different Real-Time Ethernet protocols in an externally connected SQI Flash. The maintenance firmware installs the firmware selected by the system integrator, e.g. via a rotary DIP-switch or by a parameter in the software reset command.
End-of-line programming 47/70 3 End-of-line programming Programming interface options 3.1.1 Overview The following table provides an overview of the firmware programming options for the netX 90. Interface Processed on Physical connection Programming/flasher See section netX by tool Serial ROM code in Using console mode and ·...
(see also section Console mode [} page 45]). Note: If the netX 90 is not in its “blank” state because a valid communication firmware is already residing in the flash, you can “force” the ROM code into console mode by pulling the RDY pin of the netX 90 to GND (i.e.
SQI_SIO pins, see section Console mode [} page 45]). Note: If the netX 90 is not in its “blank” state because a valid communication firmware is already residing in the flash, you can “force” the ROM code into console mode by pulling the RDY pin of the netX 90 to GND (i.e.
The web server supports only the programming of entire flash images. It does not support flashing individual files to certain offsets in the flash. Requirements Your netX 90 device is equipped with an Ethernet interface (RJ45 jack) · The Ethernet interface is connected to your programming PC/laptop via ·...
Ê If the flash is “blank”, the ROM code automatically enters the “default” console mode, thus enabling access via UART or Ethernet. Ø If the flash is not blank, force the netX 90 into default console mode (see note above).
End-of-line programming 52/70 Ê The start page of the netX 90 ROM code web server opens in your standard web browser: Figure 10: Start page of ROM code web server 2. Flash binary image. Note: If you have more than one netX 90 device connected to your local network at the same time, you can identify your currently connected device by clicking the Identify button.
JTAG/SWD interface pins (i.e. if the pins are accessible. Consult the hardware documentation of your netX 90 device for information on this). Requirements Your netX 90 device is equipped with a JTAG interface (either “on- · board” or external): – JTAG-to-USB adapter (FTDI bridge) –...
The netX is used as “companion chip”, i.e. it is connected to a host CPU · via DPM or SPI · Your host application is capable of flashing software to the netX 90 via host interface; i.e. the corresponding “flasher” functions have been implemented by the host application developer ·...
Page 56
End-of-line programming 56/70 Note: If the netX 90 is not in its “blank” state because a valid communication firmware is already residing in the flash, you can “force” the ROM code into console mode by pulling the RDY pin of the netX 90 to GND (i.e.
The Command line flasher is also available as a separate tool from Hilscher, independent from the netX Studio CDT installation (please ask Hilscher netX support for the download link of the Flasher Command Line Interface). If you intend to use this separate tool, make sure that you also download the required drivers from Hilscher and install them on your programming PC/laptop.
Boot mode flow chart.................... 43 Figure 8: Pin configuration for operating modes..............44 Figure 9: netX 90 ROM code in Windows Explorer ............. 51 Figure 10: Start page of ROM code web server ..............52 Figure 11: Write page ......................53 Figure 12: Prompt in flasher script location ................
Need help?
Do you have a question about the netX 90 and is the answer not in the manual?
Questions and answers