Detailed tutorial on how to use the Hex file editor in TSMaster.

Sharing | Hex File Editor Tutorial in TSMaster

The Hex file editor of TSMaster software provides a file processing function, a feature that makes it easier for users of TSMaster software to work with Hex, bin, mot, s19 and tsbinary type files.

This article focuses on how to use the Hex file editor in TSMaster, which can split existing Hex, bin, mot, s19 and tsbinary files by address; and merge Hex, bin, mot, s19 and tsbinary files. Merge can be realized by merging data blocks of the same file, and also can be realized by merging across files. In this article, we use Hex type files as an example.

Keywords in this article: hex, bin, mot, s19, tsbinary, file editor, file split, file merge

Table of Contents for this article

1、How to load Hex, bin, mot, s19 and tsbinary files

In TSMaster click on Application Module, select Widgets and click on Hex File Editor. As shown in Figure 1:
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 1
In the Hex File Editor window, click the File button and click Load File to load the Hex file. This is shown in Figure 2:
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 2
After the Hex file is loaded, the upper half of the Hex file editor window displays the data block, start address, stop address, data length, checksum and mapping address of the Hex file, and the lower half displays the contents of the data block. This is shown in Figure 3:
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 3

2. Segmentation of documents

Hex file editor can split the loaded Hex, bin, mot, s19 and tsbinary type files. There are four data blocks in the currently loaded Hex file, as shown in Figure 4: Select data block 0, click the Edit button, select Save As Address Range, the Set Address Range window will pop up, set the start address of the split Hex file to 0x000000A3 and the end address to 0x000001F3, click OK. Set the start address of the split Hex file to 0x000000A3 and the end address to 0x000001F3, click OK.

Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 4

Select a directory to save the split Hex file after setting the start address and end address. After successful saving, load the split Hex file. As shown in Figure 5, the start address of the split Hex file is 0x000000A3, and the stop address is 0x000001F3, which is the same as the address set during the splitting process.

Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 5

Hex file editor splits the Hex file to keep the content of the data block unchanged, as shown in Figure 6, comparing the Hex file after splitting with the Hex file before splitting, you can find that the content of the data block in the same address area is the same.

Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 6

3. Consolidation of documents

The Hex file editor can also merge loaded files of type Hex, bin, mot, s19 and tsbinary.

There are two ways to merge:

  1. Extract different data blocks within the same file to generate a new file;
  2. Cross-file merging.

3.1 Generation of new documents
Load a Hex file with multiple data blocks, check the data blocks to be extracted, click the right mouse button on the blank space and select Merge Selected Blocks To New File. As shown in Figure 7:

Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 7
After successful saving, load the merged Hex file. As shown in Figure 8, the start and end addresses of the new Hex file are the same as those of the pre-merged Hex file, and the number of data blocks remains the same.
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 8

3.2 Cross-document merging
Load two different Hex files, select the blocks you want to merge, click the right mouse button on the blank space and select Merge Selected Blocks To New File. As shown in Figure 9:

Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 9
After a successful save, the merged Hex file is loaded. As shown in Figure 10, the start and end addresses of the new Hex file are the same as those of the pre-merged Hex file, and the number of data blocks remains the same.
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 10

4. File saving type

For loaded files, whether Hex, bin, mot, s19 or tsbinary, you can choose the type of file you want to save when saving. As shown in Figure 11: Click the Edit button, select Save As, and in the Save As window, you can select to save as Hex, bin, mot, s19 or tsbinary.
Detailed tutorial on how to use the Hex file editor in TSMaster.
Figure 11

发表回复

en_USEnglish
×
×

产品入口: 产品添加到购物车

Download location

Please click the download button below to start experiencing the powerful TSMaster features. Thank you for your support!

Beta version updated weekly, full version updated monthly
Installation environment
  • 1
    Windows 7 SP1 or higher, supports Win10, and WIn11.

    Operating System

  • 2
    8GB

    random access memory (RAM)

  • 3
    At least 550MB of free space

    disk space

  • 4
    Dual-core (2-core) or higher

    CPU

Please ensure that your computer meets at least these requirements in order to install and run the TSMaster software successfully. If your computer does not meet these requirements, it may cause performance problems or not run the software properly. You may want to consider upgrading your hardware if you need smoother running features.
XML 地图