1.先安装DavinciCFG DavinnciDeveloper USB_Redirector_Client 这三个软件
2.用USB_Redirector_Client连上达芬奇的两个软件Licens
3.打开CFG 和 Developer
4.Davinci License IP地址 :172.28.100.29
Davinci添加Rte信号
模块:
- 在已有模块里添加Rte信号
- 在新建模块里添加Rte信号
添加Rte信号类型:
- CAN信号
- SR接口
- CS接口
添加信号大致步骤:
- 1.Davinci developer添加信号
- 2.Davinci configurator添加配置生成
- 3.使用Beyond compare比对并copy部分代码
添加Can信号:
- Receiver类型的信号
- Sender类型的信号
添加Receive类型的can信号
- Receiver
- Enable API usage by address
- Handle never received
Init Value: numeric/Array/Record(signal group)
Alive timeout: - EP33: 2s
- MIFA: 参考vip_project\Davinci_tool\InputFiles\CVTC_MIFA_CANCMX_V2.4_I_ICU - 20210806.xlsx-第25列GenSigTimeoutTime,注意把毫秒转换为秒
添加Sender类型的can信号
- Sender
- Enable API usage by address
- Init value : numeric
添加SR接口
1. 创建SR接口
2. 在发送模块添加SR接口,命名为ppSR_XXX
- [x]Sender
- [x]Enable API usage by address
- [x]Init value: numeric
3.在接收模块添加SR接口,命名为rpSR_XXX
- [x]Receiver
- [x]Enable API usage by address
- [x]Init value: numeric(每个元素都要设置初始值)
添加CS接口
1. 创建CS接口
2. 在发送模块添加CS接口,命名为ppCS_XXX
- [x]Server
- [x]Enable API usage by address
- fx-new-runnable-添加CS接口里面的函数-添加Triggers
3.在接收模块添加SR接口,命名为rpCS_XXX
- [x]Client
- [x]Enable API usage by address
比较
- 添加完信号后需要通过Byond Compara 4比较Davinci_tool\Appl 与Davinci_code把左边新增的添加到右边文件