ISOLAR软件生成报错处理(六)
错误1
真实的错误报不出来,需要重启软件才能显示具体是什么错误。
错误2
Description Resource Path Location Type ComSignal [xxxx] : If the bit size of the signal is zero then " ComSignalInitValue" cannot be configured xxxx.arxml xxxxBSW/ecu_config/bsw/gen Unknown B.WorX Logging Framework Marker
看起来是初始值问题,其实是大小端问题,LIN信号都需要改成小端的。
错误3
提示其实是说SWC里面的接口有问题,但我们的配置是没问题的,是ISOLAR软件的bug,需要将会SWC里面的接口全部删除了再重新添加回来。
错误4
Description Resource Path Location Type Target ARObject: <DATA-ELEMENT-IREF> Interface mismatch in Data Element Instance reference. The referenced port prototype 'vVHMG_FW' is categorized by interface '/COM_Interface/SR_Interface_Uint16' whereas the referenced data element prototype, 'double', is contained within interface '/COM_Interface/SR_Interface_double'. - Line: 9906. [Infos] <DATA-ELEMENT-IREF> : </System_EcuExtract/xxxx> xxxx.arxml /xxxx_BSW Unknown B.WorX Logging Framework Marker
因为有两个SWC接收接口mapping到同一个COM层信号了,但数据类型又不一致,导致生成不了。
错误5
生成RTE报错Description Resource Path Location Type Unable to determine necessary data consistency for assignment of 'data' to 'Rte_Rx_001262' by SWCI '<undefined>'. Ensure that all RTE events within the SWC instance are mapped to tasks. If required the TaskRef within the mapping can be omitted to indicate direct runnable invocation. - Line: unknown MCU2113_BSW Unknown B.WorX Logging Framework Marker
信号mapping有问题,把发送的信号给到接收端口,接收的信号给到发送的端口。