MacroHong Technologies | Optimization Begins with Data: How to Efficiently Store Bus Data in Baby-LIN Devices?

Recording automotive bus data is important for monitoring communication between automotive electronic control units (ECUs) and diagnosing network faults. By recording bus data during testing, theNot only can you monitor whether a product is functioning as intended, but you can also track the cause behind a particular error or malfunction.This is crucial to ensure the quality and performance of automotive products. In this article, we will explain how Macronix Baby-LIN series products realize efficient bus data recording and storage.

宏虹Baby-LIN系列產品
Honghong Baby-LIN Series

Honghong Baby-LIN series products (Learn more about our productsAs a professional LIN bus product, it is favored by the market for its high performance and reliability. It supports various LIN network configurations and can record and analyze a large amount of bus data to help engineers.Quickly pinpoint problems and optimize system performance.Currently, Honghong Baby-LIN series products are widely used in monitoring, analyzing and diagnosing vehicle network communications, and are indispensable professional tools for automobile manufacturers and suppliers in the R&D and production processes.

MAXTRON Baby-LIN devices offer two efficient methods of bus data logging, both of which provide flexible options to accommodate different logging needs and environments.

Connecting the Macrohon Baby-LIN device to a PC, you can use Simple Menu to record the bus data. Open the Simple MenuJournal Viewer.You can record the complete bus communication of Macrohon Baby-LIN devices and save it to a local file on your computer.

log

After opening the log file view, the user can add aLoggerto access the logging configuration interface. Here, you can either load a pre-existing log configuration or create a completely new one to meet specific needs.

log

Depending on the specific requirements of the individual, the user is able toCustomize settings for logging of bus communications.In the next step, the user can decide what data needs to be tracked and recorded, and how this data should be saved.

Simple Menu
Free control software for Honghong Baby-LIN devices, which can load SDF files configured through SessionConf to realize control of LIN or CAN devices. Users can follow a preset schedule and logic to perform operations, monitor and record messages, and send specific commands.

*For more information, please feel free toConsultation with Honghong Staff

Some models of Macrohon Baby-LIN devices are equipped with microSD card support, allowing users to record bus data directly to the SD card. These data are stored in the form of files.Located in the ”\Loggs” folder named ”Product Name”.The filename will contain the date, time, and channel information that initiated the logging, ensuring traceability of the logging.

Loggs
Configuring the use of Hong Kong's Baby-LIN device logging function

During data recording, if the device is equipped with an LD3-SD card, its LED will flash in a certain pattern (on for 1 second, off for 1 second) to provide users with real-time indication of the recording status. In addition, the recording function is configured and activated according to the current working mode of the Macrohon Baby-LIN device.

MAXTRON Baby-LIN devices offer two main data logging formats to meet different analytical needs and compatibility.

The format uses a proprietary binary data format for storing data that can be stored inFaster speeds and smaller gearsRecording. Files in this format can be recorded using the“LogViewer”View log data and export signal data, which can also be converted to other formats. To access signal values, LogViewer needs the SDF file on which the communication is based, so you can filter and display the data by selecting the signal and time grids, which can also be exported as CSV files.

LogViewer

This format isUser Readablein ASCII format, which can be processed by certain third-party products. It consists ofA title, recorded frame data and notesThe structure is as follows:

ASCII碼

Use the first frame to explain the meaning of each line of the frame:
2.2788508: timestamp representing the time since the device was powered up
Li: Bus Identification
11: Frame ID
Tx: direction of the frame
1: Frame length
00: All data bytes of the frame
checksum=ff: checksum of the frame
CSM=classic: frame verification type

In the complex environment of automotive networks, accurate recording and storage of bus data is critical to ensure communication reliability and troubleshooting. By providing a flexible recording method, either via Simple Menu or microSD card, Honghong's Baby-LIN series can effectively capture and store critical communication data. This data not only helps to monitor the performance of the product to ensure that it operates as expected, but also provides in-depth analysis when problems occur, helping technicians to quickly locate and resolve them.