Skip to main content

Common Issues and Troubleshooting

This page summarizes frequently occurring issues and checks when using the library, including migration scenarios.

Build-time Issues​

Compile error due to MPXOpen argument mismatch​

  • Symptom:
    • Argument count error at MPXOpen call
  • Check:
    • In ADL2L, MPXOpen takes 3 arguments: Devices, Num, Count
  • Action:
    • Add Num (array length)
    • Ensure old ADL1L two-argument calls are removed
  • Symptom:
    • Unresolved symbols such as MPXSetCANParam
  • Check:
    • Verify CAN APIs are renamed to MPXCAN...
  • Action:
    • MPXSetCANParam -> MPXCANSetParam
    • MPXGetLogEx -> MPXCANGetLogEx
    • MPXSetSlot -> MPXCANSetSlot, etc.

Runtime Issues​

Logs are not acquired​

  • Symptom:
    • Log count does not increase after monitoring starts
  • Check:
    • MPXGetLog / MPXCANGetLogEx / MPXLINGetLogEx is called periodically
  • Action:
    • Implement a periodic retrieval loop

E_STATUS is returned​

  • Symptom:
    • E_STATUS from MPXMonitorStart etc.
  • Check:
    • MPXCANSetParam or MPXLINSetParam is called beforehand
    • Call order follows the basic flow
  • Action:

Multi-device synchronization is unstable​

  • Symptom:
    • Start/stop timing does not align in multi-device setup
  • Check:
    • Start order: slave -> master
    • Stop order: master -> slave
  • Action:

References​