News

14/02/2018 by Kvaser

Cannot recover from Error Passive by canResetBus

Symptom;
When CAN channel is is error passive, the channel is not recovered by canResetBus.
When i use older version of can lib sdk (v7.0.5950.0) it worked fine.

Environment;
Windows7 x64
USB Can ii HS/HS
can lib sdk v8.19.735.0.
can driver v8.21.240.0
firmware v3.7.115

How to reproduce;
1. disconnect 9pin dsub connector, so that tx always fail
2. tx any message -> the channel becomes error passive status
3. read the status, and check error passive status.
4. reset can bus by calling canResetBus()
5. repeat 2-4 several times, then status turnes to bus off status
6. when i can canResetBus() at bus off status, status does not change.

FYI, when i use older version of can lib sdk, canResetBus() could recover from error status.