-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDU container vs multiplexed: for ARXML #575
Comments
Hi @jazi007 , I think I know what you mean. The modelling in canmatrix is not really correct. But - as is - it works perfectly for some users who create .dbc from arxml. So if we change the modellig to we must keep in mind that most formats don't allow PDU containers and we need to simulate somehow. I am not deep in CONTAINER-I-PDU for now, but there are different "subtypes" of CONTAINER-I-PDU - right? |
As is. it allow user to have 1 PDU, so it's better than nothing ^^. but for me is not correct. (user will see one PDU decoded and will think he is decoding correctly the complete frame) And yes, the problem wit contained PDU approach is exactly this. we can't export it to other format. May be having it optional is a good compromise
I have no idea about CONTAINER-I-PDU subtypes. I know only the one I'm speaking about ^^ |
Thanks for the hints, I read AUTOSAR_SWS_IPDUMultiplexer once more and now agree, that my interpretation was wrong.
Current implementation is just a hack to support CONTAINER-PDUs somehow, so YES we can improve, any hints are welcome. |
here's a small rework: #576 Let me know what do you think. regarding the arxml snippet: the one I have are structured like: ARXMLContainerTest.arxml. |
Generally, the arxml format of CANFD is Frame :: Container-PDU- pdu :: I-signal-PDU :: Signal dbc = './AS/123abc.arxml' out: |
Hello,
In canmatrix CAN-FD contained PDU are considered as multiplexed CAN-Frame.
I think this is not "true" for CAN FD with dynamic multi-PDU-to-frame mapping
For example in arxml format CONTAINER-I-PDU it's not a multiplexed frame but a dynamic mutlti-pdu container
(as reference AUTOSAR_SWS_IPDUMultiplexer.pdf section 7.2/7.3)
I saw that you have defined a Pdu class but it's only used for flexray as stated in the class comment.
so is it expected that canmatrix consider PDU container for CAN as multiplexed ? do we need to rework this part and make use of Pdu class even for CAN ? and in this case what will happen for conversion to other formats that doesn't support the dynamic pdus ?
I can help doing the change from multiplexed to PDU if this ok for you
thanks
The text was updated successfully, but these errors were encountered: