MF4 to TRC converter (Peak)
The MF4 to TRC converter converts raw MF4 files to TRC (version 1.1 or 2.1) files supported by PEAK PCAN Explorer and other PEAK tools.
Note
The TRC output does not support LIN-bus frames
Additional input arguments
In addition to the standard input arguments (see Command line interface), the MF4 to TRC Converter takes the following argument:
-f, --trace-format={version1,version2} Which trace version to output, defaults to 2.1
Example output
An input MF4 log file containing CAN-bus frames generates an output file as demonstrated by the example below (shows both version 1 (V1) and version 2 (V2)).
;$FILEVERSION=1.1
;$STARTTIME=44908.4306377315
1) 0.0 Rx 03FF 1 AA
2) 100.0 Rx 03FF 2 AA AA
3) 200.0 Rx 03FF 3 AA AA AA
4) 300.0 Rx 03FF 4 AA AA AA AA
5) 400.0 Rx 03FF 5 AA AA AA AA AA
6) 500.0 Rx 03FF 6 AA AA AA AA AA AA
7) 600.0 Rx 03FF 7 AA AA AA AA AA AA AA
8) 700.0 Rx 03FF 8 AA AA AA AA AA AA AA AA
;$FILEVERSION=2.1
;$STARTTIME=44908.4306377315
;$COLUMNS=N,O,T,B,I,d,L,D
1 0.000 DT 1 03FF Rx 1 AA
2 100.000 DT 1 03FF Rx 2 AA AA
3 200.000 DT 1 03FF Rx 3 AA AA AA
4 300.000 DT 1 03FF Rx 4 AA AA AA AA
5 400.000 DT 1 03FF Rx 5 AA AA AA AA AA
6 500.000 DT 1 03FF Rx 6 AA AA AA AA AA AA
7 600.000 DT 1 03FF Rx 7 AA AA AA AA AA AA AA
8 700.000 DT 1 03FF Rx 8 AA AA AA AA AA AA AA AA
Changelog
# Changelog
All notable changes to this project will be documented in this file.
## [24.12.19]
### Added
- Support for mdf2mdf output format from version 24.12.19
### Changed
- Updated MDF reader / writer based on "mdflib" by ihedvall
## [24.10.17]
### Changed
- Versioning schema from SemVer to CalVer
- Default verbosity level changed to 2
### Fixed
- Fix timestamps when using output format 1, was microseconds instead of milliseconds
## [2.2.2]
### Added
- Support for compacted JSON password file
### Fixed
- Conformity with output format improved
- Support for remote frames, error state indicator and bitrate switch
## [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
- Fix format error in version 1
- Fix date off by one day
- Start message counter at 1 instead of 0
## [2.0.6]
### Fixed
- Fix for decrypting log files from devices starting with a "0"
## [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:
69174a4384c844045fec282e2bf5306b
) - 24.10.17.zip (MD5:
119f9337b4784ace2ab63e967499a842
) - 2.2.2.zip (MD5:
21babb74d202b94ab983d649d2ce6a8c
) - 2.1.1.zip (MD5:
ae883767ae7205d3158115ec326d4416
) - 2.0.10.zip (MD5:
2a3445e784bfa6394d4b3ee56fca508b
) - 2.0.6.zip (MD5:
9107606e8e4638e4dd172c16cfaedce4
) - 2.0.1.zip (MD5:
e5afebf8ced341d05ce93de0867a2bdd
) - 2.0.0.zip (MD5:
3bb7d62de8d6d8d6b4b64fbcaae0916c
)
Linux AMD64 / x86-64 (64-bit)
- 24.12.19.zip (MD5:
73aa5b560e0e13c6820cd0d40581a3aa
) - 24.10.17.zip (MD5:
2a99507137439254b5b7b1757fa38927
) - 2.2.2.zip (MD5:
1b15b46002edd34d4bc90b4921178047
) - 2.1.1.zip (MD5:
6a174f0fdf7c1ce0dc1b5e2fb9c8d799
) - 2.0.10.zip (MD5:
26a770ca7dc24b9415fc011f72cbad1a
) - 2.0.6.zip (MD5:
e5ee8d15fdf58db841276a9315398467
) - 2.0.0.zip (MD5:
47352cd771df609edf09ee4d62350042
)
Linux ARM64 (64-bit)
- 24.12.19.zip (MD5:
f975605fa05bf167d2aadca14171f421
) - 24.10.17.zip (MD5:
5bf34d7f7e9a67eb1f6ddf9f17a13ab5
) - 2.2.2.zip (MD5:
a0fad2c2cf3a52dbabb6ba3c859f4918
) - 2.1.1.zip (MD5:
12f3849e89ee19b5ac5172025c267e68
) - 2.0.10.zip (MD5:
582a064615425e17f3b56bdd91b50e8c
)