MF4 to MF4 converter

The MF4 to MF4 converter performs finalization & sorting (for wider tool support). In addition, the converter supports demuxing of CANmod.router mux frames.

Some tools natively support unfinalized/unsorted MF4, while others require that the files are first finalized and sorted:

  • Vector CANalyzer supports only finalized & sorted MF4 files (from SP2). Alternatively use the MF4 to ASC converter.

  • MATLAB Vehicle Network Toolbox (VNT) supports unfinalized & unsorted MF4 files (from 2021b).

Note

The CANedge stores data in unfinalized and unsorted MF4 files[1].


Additional input arguments

The converter supports demuxing of CANmod.router frames (for more information see MUX-TP and the CANmod.router documentation).

The configuration of demuxing is provided using the muxtp input argument.

--muxtp-can<CHANNEL>=<MESSAGE_ID>#<S1>:<S2>:<S3>:<S4>
  • CHANNEL: Mux message channel in decimal format.

  • MESSAGE_ID: Mux message ID in hexadecimal format. Use 3 or 8 digits for standard or extended IDs respectively.

  • S1-S4: Virtual channel mappings in decimal format.

Warning

The output channels (S1-S4) cannot be the same as the input channel (CHANNEL).

Examples

  • Map mux messages from CAN2 with standard ID 0x010 to virtual channels 3, 4, 5, 6:

--muxtp-can2=010#3:4:5:6
  • Map mux messages from CAN2 with standard IDs 0x010 and 0x012 to virtual channels 3, 4, 5, 6 and 7, 8, 10, 11:

--muxtp-can2=010#3:4:5:6 --muxtp-can2=012#7:8:10:11
  • Map mux messages from CAN1 with extended ID 0x18FDA101 to virtual channels 10, 11, 12, 13:

--muxtp-can1=18FDA101#10:11:12:13

Changelog

# Changelog

All notable changes to this project will be documented in this file.

## [24.12.19]

### Added

- Support for message demuxing (CANmod.router muxed output - MUX-TP)

### Changed

- Updated MDF reader / writer based on "mdflib" by ihedvall
- "mdf2finalized" tool renamed to "mdf2mdf"
- MF4 file output suffix changed from "fin" to "out" (suffix added to avoid file collisions)

## [24.10.17]

### Changed

- Versioning schema from SemVer to CalVer
- Default verbosity level changed to 2

## [2.2.2]

### Added

- Support for compacted JSON password file

## [2.1.1]

### Added

- Support for updated MF4 compression and encryption format (introduced in CANedge fw 01.07.05)

## [2.0.10]

### Fixed

- Fix multiple memory leaks

## [2.0.9]

### Fixed

- Fix for serialization of strings

## [2.0.6]

### Fixed

- Fix for decrypting log files from devices starting with a "0"

## [2.0.1]

### Fixed

- Fix for missing data at end of finalized blocks

## [2.0.0]

### Changed

- Support for MF4 log files generated by CANedge firmware 01.07.XX

Download

Windows AMD64 / x86-64 (64-bit)

  • 24.12.19.zip (MD5: 4050fe5e68a440c613ab1362bbefb1f7)
  • 2.2.2.zip (MD5: 40e4df28a759da839b6a4f2a870abd01)
  • 2.1.1.zip (MD5: 53458ab99a30b963e356f7ff0b31406e)
  • 2.0.10.zip (MD5: 1963587b53697594290dff90f16ac13b)
  • 2.0.9.zip (MD5: 423153c9990757588a87910ab769273c)
  • 2.0.6.zip (MD5: 148dc200d748c4638ceb7fcf71d54e06)
  • 2.0.1.zip (MD5: 27b27adc4b4331a2f8b0a14fd5b05f42)
  • 2.0.0.zip (MD5: a5eeff8b348193f94063421221511aba)

Linux AMD64 / x86-64 (64-bit)

  • 24.12.19.zip (MD5: f50f30690da91e97f2fe0fefba1f81a5)
  • 2.2.2.zip (MD5: 317f229c82e6781183beba2214832a92)
  • 2.1.1.zip (MD5: 969d6e64ea5ec022234fe1d3b73a4340)
  • 2.0.10.zip (MD5: 0ee5f726f411466cd47d76a0646d9e0d)
  • 2.0.9.zip (MD5: 19b3dda4e692c0d4dbc55172ae6d8afd)
  • 2.0.6.zip (MD5: f0ef5402a3397022728d4bfc3f5e81f5)
  • 2.0.1.zip (MD5: 45be53f8252340d0bd640eff3222feb2)
  • 2.0.0.zip (MD5: 9dfd838861434be7c9afad8714482dce)

Linux ARM64 (64-bit)

  • 24.12.19.zip (MD5: d8a95b31e5eaaf6ecaaef2d501a4371f)
  • 2.2.2.zip (MD5: 155a08b53d01f59ebe9d3ac719c42c13)
  • 2.1.1.zip (MD5: 1583d05eeeb784df81831ba4d15d3ed7)
  • 2.0.10.zip (MD5: 2f71831d73f82a2d173be928c19db4fe)