Startup Sequence; Setting And Reading Cpu Core Parameters Via Serial Port - UEi RACKtangle DNR-12-1G Series User Manual

Data acquisition systems
Table of Contents

Advertisement

6.3
Startup
Sequence
6.4
Setting and
Reading CPU
Core
Parameters
via Serial Port
© Copyright 2018
United Electronic Industries, Inc.
DNR-X-1G Series RACKtangle and HalfRACK Systems
Module Address Space (0xA0000000 – 0xA00FFFFC and 0xA0100000 –
0xA01FFFFC). The first address range is dedicated for devices located on the
CS2 line and it accommodates sixteen modules with 64k memory map each.
The second address range is designated for fast devices located in the CS3 line
and it accommodates fifteen devices with 16MB memory map each.
After reset, the processor reads the boot-up sequence located at the address
shown in Table 6-1. The U-boot monitor initializes the processor and the
address map, retrieves information from the parameter sector of the flash
memory and tests system memory and other system resources.
When the DNR-X-1G starts rebooting, you have the option of interrupting the
reboot via a serial terminal connection between the DNR-X-1G and a host PC.
In the serial terminal window, if you type <Return> as U-Boot starts executing,
the U-Boot sequence will be interrupted. The U-Boot monitor aborts loading
firmware into memory and brings up the U-Boot command prompt => (to load
new firmware, for example).
Otherwise, U-Boot reads the firmware from the flash memory and stores it in
RAM. Then, the monitor executes the firmware.
After initializing, U-Boot performs a command list stored in its environment
sector under the bootcmd entry. A standard command to launch DNR-X-1G
firmware is "go 0xff800100". U-Boot then gives up control to the firmware
code located at 0xFF800100. Firmware self-expands into the DDRAM, initializes
the exception table, and starts execution.
There are two ways to set CPU Core Module (CM) parameters. The first one is
to use the serial interface and enter commands at the DQ> prompt, and the
second one is the use of DaqBIOS calls by running an application on the
host PC.
To connect through the serial interface, do the following:
a. Connect a 9-wire serial extender cable between the DNR-12/6 CPU/
NIC module (male plug connector) and your PC COM1 serial port
(female connector). Some cables have female-to-female connectors, so
you may have to use a gender-changer.
b. Set up your terminal to the proper serial port, 57600 bit rate, no parity,
eight data bits, and one stop bit.
NOTE: To use the MTTTY executable included with the UEI installation, open
mttty.exe in the following directory on Windows machines, and then click
Connect:
\Program Files(x86)\UEI\PowerDNA\Firmware\mttty.exe
c. Once a connection to the PowerDNR DNR-X-1G system is established,
press <Enter> on the keyboard once. The DNR-X-1G should respond
with a "DQ>" prompt (this is firmware prompt). If you see a "=>" prompt,
you are still in U-Boot.
d. Once you see the "DQ>" prompt, you can type "help <Enter>" to
receive the list of all available commands.
October 2018
Programming CPU Board-specific Functions
Chapter 6
93
www.ueidaq.com
508.921.4600

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents