Hex Editor

In the Hardware menu, the Hex Editor menu item brings up the Hex Editor window. The Hex Editor may be used if you want to check whether a configuration was successful or not. The Hex Editor enables you to read and modify the content of the memory area. The Hex Editor is limited to the measurement data segments and the calibration memory segments. When the Hex Editor is opened for the first time during an XETK Configuration Tool session, a warning dialog 'Hex Editor - Do you really want to open the Hex Editor?' is shown for safety reasons.
 

Never use the Hex Editor in a moving vehicle on the road! The Hex Editor offers functions that can lead to unforeseen reactions of the ECU. Before using function of the Hex Editor, make sure that the affected system will remain in a safe state.

Left column:

The table's row head (left column) shows the start address of the first memory cell in that row. The address of a specific memory cell results from the sum of the addresses given in the row head and the column head.

The following control elements offer basic functions you can work with:

Start address field

(Edit field): Changes the start address of the memory area.

Memory type dropdown list

Selects which memory area is displayed in the Hex Editor. This does not affect which calibration data page (Working page, Reference Page, RAM) is presented to the ECU.  

  • Variables: Corresponds to the memory segment type 'Variables' in the Memory Layout Editor.
  • Working Page: Corresponds to the working copy of the calibration data page.
  • Reference Page: Corresponds to the reference copy of the calibration data page.
  • ETK Absolute: Device absolute addressing for ETK/XETK/FETK. With this memory page selection the device memory can be overwritten which can lead to a malfunction of the device. This setting is only available in extended mode and should only be used after clarification with ETAS.
  • ECU Absolute: Uses absolute addressing in the ECU, can be used to access memory-mapped registers etc.

ECU page switching is not supported for all (X)ETK devices. For devices not supporting page switching, it is device configuration dependant which page is available.
Example: the XETK-V2 can be setup in a way that there is no page switch and only the Reference Page is available.

Endianess dropdown list

Defines the endianess which is used to display the memory area content. The endianess is considered when the content of a memory cell is edited, too.

  • Little Endian: Little Endian byte ordering is used.
  • Big Endian: Big Endian byte ordering is used.
Word size dropdown list

Defines the amount of the memory which is displayed as one memory cell.    

  • Byte (8 bit)
  • Word (16 bit)
  • Long (32 bit)
Edit checkbox

The memory cells can be edited when the Edit checkbox is activated. For safety reasons the initial state of the Edit checkbox is disabled after opening the Hex Editor.

Freeze checkbox

The content of the memory area is frozen for better reading. The continuous update of memory area content is stopped and the last content is permanently displayed.

Size in bytes

Defines the number of bytes that shall be displayed at once in the HEX editor.

Scrolls to the previous page (i.e. the bytes that precede the currently displayed bytes)

Scrolls to the next page (i.e. the bytes that follow the currently displayed bytes)

 

The following shows the "Advanced functions" you can work with:

Fill memory

Fills a certain memory area with a constant value. The dialog 'Fill memory' opens. All values entered in this dialog have to be in hexadecimal format.

  • Start Address: Defines the start address of the memory area to be filled.
  • Fill Size: Defines the size of the memory area to be filled.
  • Fill Value: Defines the value which is written to the memory area to be filled. The possible input value is limited according to the current selection in the Word size dropdown list.

The Fill memory function respects the selection in the Memory type dropdown list, the Endianess dropdown list and the Word size dropdown list.
In case of ETK Absolute memory page selection the functionality is not available due to safety reasons for device absolute addressing.

Download file

Downloads the content of a hexfile to the memory. The dialog 'Download hexfile' opens. Herein, select the name and the place of your hexfile on your file system. Choose between two options:

  • Intel hex file (*.hex)
  • Motorola hex file (*.mot, *.s??)

The start address and the size of the hexfile data are used from the hexfile without modification. The destination page (Working page, Reference Page) is taken from the selection in the Memory type dropdown list. The selection 'RAM' has here the same meaning as the selection 'Working page'.
In case of ETK Absolute memory page selection the functionality is not available due to safety reasons for device absolute addressing.

Copy to backup flash

Copies the content of the source page (Working page, Reference Page) to the (X)ETK backup data flash. The dialog 'Copy Working page/Reference page to backup flash - Do you want to continue?' opens. Here, the source page is defined by the selection in the Memory type dropdown list. The selection 'RAM' has here the same meaning as the selection 'Reference page'.

Switch Device Page

Switches between the Working page and the Reference page of the ECU/(X)ETK.

ECU page switching is not supported for all (X)ETK devices. For devices not supporting page switching, this button is disabled.

Switch ECU Reset

Switches between the ECU states reset 'On' and 'Off'. Reset 'On' means to put the ECU into the reset state.

The Status bar shows status information concerning the above functions:
  • ECU Reset On/Off: Shows the reset status of the ECU.
  • Working page/Reference page: Shows which calibration data page is currently activated.

 

Execute a Search for hardware before opening the Hex Editor, otherwise the Hex Editor menu item is disabled.

The control elements affect the whole memory area within the Hex Editor.

If you have opened the Hex Editor you can not work with the main application at the same time.

See also

Search for Hardware

Switch between ECU Working and Reference Page

Set ECU Reset