ebroecker / canmatrix

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

start bit not correct when byte order is motorola #821

Open mzotw opened 6 days ago

mzotw commented 6 days ago

image

As pic above, 3 signals are defined with motorola format.

checksum starts from bit 8, length 16,

crashTyp starts from bit 123, length 5,

but canmatrix parses as below image image

both start bits are incorrect

mzotw commented 6 days ago

This happens only if byte order is motorola. With Intel format everything works ok.