beautypg.com

5 firmware update – DekTec DTM-3200 IP-ASI Converter User Manual

Page 24

background image

DTM-3200 – OEM Ethernet TSoIP Converter

User Manual

24

The 0.0.0.0 IP address behavior mentioned before still applies, but the 'DHCP enable' setting

can now be used to turn on and turn off the DHCP client.

- When 1 is written to 'DHCP enabled', the IP address is set to 0.0.0.0 and (after a reboot)

the DHCP client will start looking for a DHCP server to acquire an IP address.

- When 0 is written to 'DHCP enabled', the DTM-3200 retrieves the most recently manually

entered IP-address (fixed IP) and uses this address as its fixed IP-address (after a reboot).

When a fixed IP-address has never been entered before, writing 0 to 'DHCP enabled' will

cause the DTM-3200 to use a hardcoded factory default address (192.168.144.120 /

255.255.255.0) as its fixed IP address (after a reboot). Naturally this default IP address,

selected by writing 0 to 'DHCP enabled', can be overridden by entering an IP address

manually.

The DTM-3200 must be rebooted before a new IP-address assignment takes effect. Rebooting the

device is initiated by writing 1 to the ‘Reboot’ setting, or by a power cycle.

4.4.5 Firmware update

To upgrade the DTM-3200, the new firmware has to be uploaded in “file parts”. The firmware-

update settings are used to upload the firmware file and control the programming process.

Manageable Items - Category 0x80 – Firmware update

Nr

Variable

Description

Access

Type

0x01 Part number

Sequence number of most recently

uploaded file part

RO

int16

0x02 File part

Data in file part; return message

contains the file-part sequence number

R/W

1..1024

bytes

0x03 Update device

1 = Start device update and reboot

WO

int8

0x04 Abort

1 = Remove uploaded file

WO

int8

0x05 Progress

Programming progress (%)

RO

int8

0x06 Error

Error code (0 = no error, 1 = error)

RO

int8

0x07 Number of parts

Number of parts to upload the entire

firmware file

R/W

int16

0x08 Part size

Number of bytes per file part

R/W

int16

0x09 Remaining

Number of bytes in the final file part

R/W

int16

This category requires an index to be sent with each command. For the “File part” setting, index

should be the file part number. For the other settings, index is not used.
For communication through I

2

C the parts may contain at most 250 data-bytes; For communication

through RS-XXX the parts may contain at most 1024 data bytes.
For firmware version 1.3 and lower, each data byte was sent as 2 ASCII characters (1 character per

nibble, using 0..9 and A..F), so 1024 data bytes were sent as 2048 ASCII characters.
To improve the firmware update speed this was changed into a different encoding.