ebroecker / canmatrix

Converting Can (Controller Area Network) Database Formats .arxml .dbc .dbf .kcd ...
BSD 2-Clause "Simplified" License
933 stars 401 forks source link

convert ARXML to DBC: SG_ AND BO_ EMPTY #813

Open ying2029 opened 4 months ago

ying2029 commented 4 months ago

Python 3.12.4

first :convert dbc to arxml

the log shows below: '4 frames found'

PS C:\Users\xx> canconvert -vv C:\Users\30608\Downloads\dbc\test_frame_decoding.dbc
C:\Users\xx\Downloads\dbc\test_dbc.arxml INFO - convert - Importing C:\Users\30608\Downloads\dbc\test_frame_decoding.dbc ... INFO - convert - Import Done INFO - convert - Exporting C:\Users\30608\Downloads\dbc\test_dbc.arxml ... DEBUG - convert - INFO - convert - 4 Frames found INFO - convert - Export Done

second: convert the arxml to dbc

the log shows below: '0 Frames found' why ? the commandline I input is worng?

PS C:\Users\XX> canconvert -vv C:\Users\30608\Downloads\dbc\test_dbc.arxml C:\Users\30608\Downloads\dbc\test_dbc.dbc INFO - convert - Importing C:\Users\30608\Downloads\dbc\test_dbc.arxml ... DEBUG - arxml - Read arxml ... DEBUG - arxml - 0 frames in arxml... DEBUG - arxml - 4 can-frame-triggering in arxml... DEBUG - arxml - 4 SIGNAL-TO-PDU-MAPPINGS in arxml... DEBUG - arxml - 35 I-SIGNAL-TO-I-PDU-MAPPING in arxml... DEBUG - arxml - CONTAINER-I-PDU-HEADER-BYTE-ORDER not found (default big endian) DEBUG - arxml - Busname: CAN DEBUG - arxml - Baudrate: 0 INFO - convert - Import Done INFO - convert - Exporting C:\Users\30608\Downloads\dbc\test_dbc.dbc ... DEBUG - convert - CAN INFO - convert - 0 Frames found INFO - convert - Export Done