Closed mahanteshdh closed 6 years ago
You are using version 0.5? Your ARXML contains canFD-Frames right? Please try dev-0.6-Branch. It's a known issue of 0.5, that canfd is not supported (frames with more than 8 bytes are buggy in 0.5)
Yes my arxml contains CAN FD frames. I installed dev-0.6 branch and i see below issue :
OK, I fixed the error, but I guess it still doesn't do what it should do?
I adopted your changes. Thank you! Now i am able to generate .dbc and .xls from my arxml. but Min and Max value for signals seems to be incorrect and also message periodicity/cycle time is not extracted. Attached screen shot for reference Min and Max value for a signal in arxml is -4096 and 4095 respectively but dbc and xls show 0 to 8191.
the warning above "no datatype found" leads to missing min/max values.
I'm not sure how to fix this. The problem is, that the datatype for the signal is not found. Probably the datatype is references at another place in the arxml. But I have no idea where this could be. Currently I search for the datatype in SYSTEM-SIGNAL which is reverenced by SIGNAL or I-SIGNAL.
You are not able so send me a sample (maybe email - not here)?
Best Regards
If i open signal information in Autosar explorer tool from Vector, I can see datatype info and other info highlighted in red in attached screenshot. only cylce time/ periodicity found in PDU in other screen below : I do not have sample arxml, but I will try to strip out information from original and create sample.
Thank you!
Maybe you could look in the arxml and search for a xml-tag "DATA-TYPE-REF" and what's the parent tag named.
I don't have DATA-TYPE-REF xml-tag in my arxml.
OK, You are right. In AR4 there is no data-type-ref -- there are "BASE-TYPE-REF", a "COMPU-METHOD-REF" and a "DATA-CONSTR-REF". Currently canmatrix does not read these infos from AR4-Files.
give me some Time to get this working. How important is this for your needs? Do you have a timelimit?
I can wait, Appreciate your help!
@mahanteshdh : maybe you could test again? could be better now...
I tested the new update, and found same issue with Min,Max, resolution and offset. Time period is also not extracted to XLS.
Sorry for responding late.
I see Min and Max value issue for signed values not for unsigned value.
OK, thanx for the info. I'm quite busy these days. May take some time since I'll have a closer look...
sign extraction is currently not supported. in ARXML I have to determin the base datatype and map them to "signed" or "unsigned".
@mahanteshdh Do you have issues with the current implementation. Should I have another look on the code or can I close this issue?
please reopen, if still a problem
Hi I am using tool to convert arxml to xls, got this error, I am using following arxml version:
http://autosar.org/schema/r4.0 AUTOSAR_4-1-1.xsd" xmlns="http://autosar.org/schema/r4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Attached error screen:
Is there size limitation?