Firmware Upgrade - Data Encoding; Firmware Upload - Example - DekTec DTM-3237B User Manual

Compact dvb-s2x receiver module with dvb-asi output
Table of Contents

Advertisement

DTM-3237B – DVB-S2X Receiver with DVB-ASI Output
User Manual
The entire firmware upgrade process is implemented in DtmHandler. Please refer to DtmCmd
(appendix C) for an example of how to implement the firmware upgrade using DtmHandler.

4.6.2 Firmware Upgrade - Data Encoding

To improve the firmware upgrade speed, the following encoding is used for the data part of the
"Programming data" setting (category 0x85, setting 0x03) when using the LVTTL serial control port
and USB interface.
For each 7 bits of data one 8-bit ASCII character is sent, where the MSB of the ASCII character is set
to 1 (extended ASCII range). The translation is illustrated in Figure 4.

4.6.3 Firmware Upload - Example

In the example below the DTM-3237B is upgraded with new firmware over USB. The size of the
firmware file is 486400 bytes. Over USB, each packet can hold a maximum of 250 data bytes, so the
number of 'file parts' will 1946. The first 1945 file parts will contain 250 data bytes and the last part
will contain 150 data bytes. The table below shows the actions required to perform this firmware
upgrade.
Action
Switch mode to 1
Close USB interface
Wait 3s
Reconnect USB i/f
Read mode
Erase
File part*
File part
: :
File part
Figure 4. ASCII encoding for firmware upgrade data
Setting
R/W
0x85, 0x01
W
0x85, 0x01
R
0x85, 0x02
W
0x85, 0x03
W
0x85, 0x03
W
0x85, 0x03
W
0x85, 0x03
W
Idx
0
Switch to firmware-upgrade mode
USB only
USB only
0
Verify that mode is firmware-upgrade
mode (1)
0
The DTM-3237B needs ±3.5 seconds
processing time to erase the firmware
1
2
: :
1946
31
Comment

Advertisement

Table of Contents
loading

Related Products for DekTec DTM-3237B

Table of Contents