Skip to Content

FAQ ​

How to configure UDS message length to 8 bytes? ​

Answer

You can enable padding by going to UDS Tester -> Tp Base -> Padding Enable. You can also set your own Padding Value, which defaults to 0x00. 1

ZLG 打开设备提示 Set baud rate failed? ​

Answer

这是一个已知问题,请将EcuBus-Pro安装在非C盘的其他磁盘分区上即可解决。

When using a sequencer to send UDS services over LIN with ID 0x3C and NAD 0x55, why not send a LIN message with ID 0x3D afterward for the slave to respond? ​

Answer

This is due to the implementation of the lin schedule table. You should start any schedule table first. 2 Then you can send the LIN message with ID 0x3D. 3

How to calculate the CRC value of a message? ​

Answer

You can calculate CRC values using the built-in CRC API in scripts. The API supports various CRC algorithms including CRC8, CRC16, and CRC32 with configurable parameters.

How to implement loop counting for periodic messages? ​

Answer

If you has database and want update signal value periodically:

  1. First you need config the message as periodic.
  2. Then you neen use OnCan API to listen the message send/receive.
  3. Use setSignal API to update signal value.
ts
import { setSignal } from 'ECB'
let val = 0

Util.OnCan(0x142, (data) => {
   setSignal('Model3CAN.VCLEFT_liftgateLatchRequest', val++ % 5)
})

demo

Without database:

  1. Just use output API to output the frame with any value you want.
ts
import { output,CanMessage,CAN_ID_TYPE} from 'ECB'
setInterval(() => {
  const canMsg:CanMessage = {
      id: 0x111,
      data: Buffer.from([0,1,2,3,4,5,6,7]),
      dir: 'OUT',
      msgType:{
        idType: CAN_ID_TYPE.STANDARD,
        remote: false,
        brs: false,
        canfd: false,
      }
    }
   output(canMsg)
}, 1000)

Can I use a custom sub-function for preset 0x27 (SecurityAccess) commands? (for example 0x35 / 0x36) ​

Answer

Yes. When configuring a preset 0x27 service, set the sub-function to custom and enter the target value, such as 0x35 (request seed) and 0x36 (send key).

For security access, make sure the request-seed and send-key sub-functions are paired correctly (typically odd/even pairs) and match your ECU implementation.

Reference: Issue #335 comment