ISOLAR软件生成报错处理(七)
错误1
Description Resource Path Location Type Target ARObject: <xxxx> Element 'xxxx' has a duplicate name within context '/xxxx/SwComponentTypes/xxxx' but is not defined by AUTOSAR as splittable. Splittable elements and packages with the same name are merged but all sub-elements within the namespace formed by the splittable element that are not themselves splittable must have unique names. (This error can also occur if an XML file is specified multiple times on the command line). - Line: 2517. [Infos] <xxxx> :</xxxx/SwComponentTypes/xxxx/xxxx> xxxx.arxml /xxxx Unknown B.WorX Logging Framework Marker
中文意思是在抽取文件当中有重复名称,但其实不是
真正的原因是:
1.在抽取生成的arxml文件里面有两个一模一样的,需要手动删除一个
2.不同的SWC,同样名字的端口,不允许mapping到不同的信号上。
3.需要断开一下接口,再原样链接回去。
错误2
Description Resource Path Location Type[CMD_ECUEXTR_ERROR ] : Given EcuInstance is not configured in any System with category "SYSTEM_EXTRACT/SYSTEM_DESCRIPTION".
这个是不用管的,反正不影响生成代码。
错误3
Description Resource Path Location Type Null pointer exception occured. Forwarding not executed.
不知道这是干啥的,但不影响生成。
错误4
工程交接出去的时候,发现某几条报文的配置信息被清了,从git重新拉下来也是这样。
发现原本在我本地的配置选项是蓝色的
查到原因是配置信息都在另一个arxml里面了,导入DBC的时候新增的,git里面又没上传
错误5
Description Resource Path Location Type DataConversion could not find the width of the SwBaseType '/AUTOSAR_Platform/BaseTypes/float32'. RTEGen was working on ''. - Line: unknown
因为接口在应用层是float32,在com层是uint8