本帖最后由 nicholasldf 于 2020-2-18 17:09 编辑
需求: 开发一个PC软件小工具,,用于控制USB转CAN工具,完成与电路板单片机的CAN协议通信。
主要功能比较简单,有以下几项:
客户信息设置和下载;
客户配置设置和下载;
传感器设置和下载;
单片机固件升级功能;
特殊需求:要求深圳本地合作方,以便上门调试,,我们公司在西丽大学城地铁站附近。
QQ:379673688
PC tools requirement
1. PC tools design GUI to setfollowing: A. Customer configuration. B. PGNs C. Customer info. D. Sensor configuration.
2. PC tools create a config scriptthat able to download of configuration.
3. PC tools with USB2CAN that ableto load the following: A. Customer configuration. B. PGNs. C. Customer info. D. Sensor configuration.
Example: J1939_PGN_CustomerConfigLoading This is to setthe PGN info for sensors and diagnostic. Byte 0:Customer PGN (temperature), default FF (means not used). This is only one byte. Byte 1:Customer PGN (Switch), default FF (means not used). This is only one byte. Byte 2:Customer PGN (Diagnostic), default FF (means not used). This is only one byte. Byte 3:Customer PGN (Pressure Port0), default FF (means not used). Byte 4:Customer PGN (Pressure Port1) Byte 5:Customer PGN (Pressure Port2) Byte 6:Customer PGN (Pressure Port2) If this PGN isnot called, the messages will be broadcast based on the default PGN.
Example: J1939_PGN_SensorConfigLoading Items totransfer - PortID(0,1,2,3) - PortType(0=Pressure, 1=Temperature, 2=Switch) - SensorCharacteristic(0=normal, 1=ratio/metric) - SensorTable(20values) - Voltage | | - 1.2567 | | - 1.5678 | | - 1.7564 | | - 2.0000 | |
SensorConfig
SensorTable
4. PC tools with USB2CAN that ableto Firmware upgrade. Reference <Client_FW_Update_Protocol.pdf>.
|