Lantronix XPress-DR XPress-DR / XPress-DR-IAP - User Guide - Page 101

The Intel Hex Format, Table 24 - Block Types

Page 101 highlights

UDP To send a setup record via Monitor Mode: 1. Configure a "master" Device Server with the desired parameters and place it on the network. 2. Place another Device Server (the "target") on the network. 3. Enter Monitor Mode (with network support enabled) on the master Device Server (see Monitor Mode on page 7-1) 4. At the prompt, enter SC, the IP address of the target, and a carriage return. 5. Send the setup record to the target Device Server. Note: For example, using Hyperterminal, copy the setup record and select "Paste to Host" to send it to the Device Server. The Device Server reboots with the new configuration. To send a previously saved setup record to a Device Server via UDP, from a host PC, send the FA (or FD) datagram to the "target" Device Server (see Network Configuration using UDP on page 8-1). Note: The Device Server responds with the FB datagram. Refer to the table. 8.2.3 The Intel Hex Format With this format, 8-bit binary data can be sent and received as ASCII text. The transmission is blocked in records, and every record has its own checksum. The record begins with a colon (:) and consists of a block length (2-character Hex), a 16-bit address (4-character Hex), and a block type (2-character Hex). It is built by adding all binary 8-bit values and taking the complement, so adding all byte values (including length, address, and type) should yield zero. Example: 00000001FF End record, type 01, length 00, address 00 00, checksum FF. 01002000805F Data record consisting of one byte (value 80 Hex) for address 0020 (32 decimal). For communication with the node, the following block types are defined: Table 24 - Block Types Option Hex Data block program memory (firmware) 00 End record 01 Data block configuration memory 10 DSTni-XPress DR User Guide 8-5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

UDP
To send a setup record via Monitor Mode:
1.
Configure a ²master³ Device Server with the desired parameters and place it on the
network.
2.
Place another Device Server (the ²target³) on the network.
3.
Enter Monitor Mode (with network support enabled) on the master Device Server (see
Monitor Mode
on page
7-1
)
4.
At the prompt, enter SC, the IP address of the target, and a carriage return.
5.
Send the setup record to the target Device Server.
Note: For example, using Hyperterminal, copy the setup record and select “Paste to Host” to
send it to the Device Server. The Device Server reboots with the new configuration.
To send a previously saved setup record to a Device Server via UDP, from a host PC, send
the
FA
(or
FD
) datagram to the ²target³ Device Server (see
Network Configuration using
UDP
on page
8-1
).
Note: The Device Server responds with the FB datagram.
Refer to the table.
8.2.3 The Intel Hex Format
With this format,
8-bit binary data can be sent and received as ASCII text. The transmission
is blocked in records, and every record has its own checksum.
The record begins with a colon (:) and consists of a block length (2-character Hex), a 16-bit
address (4-character Hex), and a block type (2-character Hex). It is built by adding all binary
8-bit values and taking the complement, so adding all byte values (including length, address,
and type) should yield zero.
Example:
00000001FF
End record, type 01, length 00, address 00 00, checksum FF.
01002000805F
Data record consisting of one byte (value 80 Hex) for address 0020 (32 decimal).
For communication with the node, the following block types are defined:
Table 24 - Block Types
Option
Hex
Data block program memory (firmware)
00
End record
01
Data block configuration memory
10
DSTni-XPress DR User Guide
8-5