大家好,
我用Node Configuration Tool 生成lin_cfg.c和.h时报错:
Error: Lincfg.ldf line: 118 "RearECU1" - LIN protocol of node needs be a number.
Error: Lincfg.ldf line: 133 "FrontECU2" - LIN protocol of node needs be a number.
和demo中的ldf对比了一下,没有发现什么问题。附件是我的LDF和NPF文件,可否支持下,谢谢!
Original Attachment has been moved to: Single_Slave.npf.zip
Original Attachment has been moved to: Lincfg.ldf.zip
The protocol on the node in ldf may be a string, and S32DS can only recognize numbers, you need to change the character data into numbers should be able to, I hope to help you.
我的code warrior 菜单里面没有“LIN Node Configuration Files”,不知道哪里有问题?无法用 codewarrior 配置 LDF file and NPF file creation 。
- CodeWarrior for MCU
Version: 11.1
Build Id:181224
Hi,
I couldn't reproduce your problem. TO investigate your problem, please let me know:
1. your CW version: Start the IDE and click on Help | About CodeWarrior Development Studio. Send me the version and build id.
2. please illustrate how to reproduce your problem step by step.
Thanks,
Jennie
hello Jennie,
LDF我不是使用CW生成的,所以没办法复现,我误以为这些ldf都是通用的。后来我用cw生成ldf和npf时遇到了两个问题:
1、配置npf时发现必须先增加Network definition,否则先配置MCU型号等信息之后就无法增加Network definition了,点击新建的加号按钮没有反应。但是先增加Network definition之后,Network definition不能保存,点击OK没有反应。
2、ldf配置时没有配置诊断帧的选项。
CW version:10.6