The ZC.MuNiu supports the function of importing DBC files and generating communication modules. DBC (Database CAN) file is a standard format for describing CAN network signals, including signal identifiers, data types, lengths, units, and their relationships. This feature greatly improves the development efficiency of communication systems based on AUTOSAR architecture.
Users can directly import DBC files into the ZC.MuNiu. The tool is equipped with an efficient parsing engine that can quickly extract signals and message definitions, and convert them into AUTOSAR standard communication modules. These modules comply with the AUTOSAR specification, support the configuration of Basic Software (BSW) components, and ensure interoperability with AUTOSAR. In addition, the generated module allows users to make real-time adjustments to signal parameters in a visual interface, enhancing the flexibility of system configuration.
Most tools on the market can generate communication related modules by importing DBC (Database CAN) files, but these tools often cannot import all messages with complete link relationships. ZC.MuNiu is not only capable of generating communication related modules such as COM, PduR, Canif, CanSM, COMM, etc., but also can fully parse modules such as SecOC, DCM, CANNm, etc. from DBC, greatly expanding its functional coverage and improving development efficiency.
The module generated after importing the DBC file is shown in the figure:
ZC.MuNiu supports importing DBC files, and users need to select the node and configuration channel to import. After import, the tool will automatically configure some communication modules, and the remaining information needs to be manually completed by the user. The specific steps are as follows:
Ø Tool operation process
1 New construction project
1.1 Select File ->New ->Project from the menu on the main page of the ZC.MuNiu Configuration Tool
1.2 Select AUTOSAR ->AUTOSAR Project in the pop-up Project window and click Next
1.3 Name the project in this window and click Next, using the name NewProject as an example in the figure
1.4 Select the chip corresponding to the project in this window, click Finish, and the project creation is complete
1.5 After creating a new project, click the Basic Editor button in the bottom left corner to open the module basic configuration page
1.6 Then click the Input File button in the menu bar to enter the file import page
1.7 Select Import Communication Data on the file import page to import communication data files
1.8 Select Import DBC file in the Import Communication Data File window and click Next
1.9 On this page, enter the file browser and select the DBC file to import. After selecting it, click Next
1.10 Select the nodes and signals to import, then click Next
1.11 Add the message that needs to be imported to the corresponding channel, and click Next after adding it
1.12 Select the first option to create a configuration item when importing DBC for the first time, and select the second option when importing new messages into DBC for the second time. After selecting, click Finish to complete the import
1.13 After importing DBC, start Basic Editor again and you will see that the communication module data has been configured
2 Manual configuration items for imported modules after importing DBC files
2.1 CAN module:Manual configuration items as shown in the figure
2.2 CANIF module: manual configuration items as shown in the figure
2.3 CANSM module: manual configuration items as shown in the figure
2.4 For the PDUR module, it is necessary to manually modify the switches of each module in PduRBswModules according to the requirements
2.5 COMM module:For the COMM module, it is necessary to manually modify the configuration items in ComMChannel as shown in the figure and the switches in ComMGeneral
Successfully generated code in the end
ZC.MuNiu can configure communication in the quick configuration on the left side, such as basic communication, bus, message, signal, transmission layer, etc.
3.1 Users can quickly configure DBC imported messages:
3.2 Users can quickly configure DBC imported signals:
Click to download the product manual