Re: [PATCH v2 1/1] can: ucan: add driver for Theobroma Systems UCAN devices

From: Jakob Unterwurzacher
Date: Wed Mar 14 2018 - 06:20:01 EST


On 14.03.18 11:04, Wolfgang Grandegger wrote:
ÂÂÂÂcontroller-problem{rx-error-warning,tx-error-warning,rx-error-passive,tx-error-passive}

Just,

controller-problem{rx-error-passive,tx-error-passive}

Ok.

(1b) cable gets connected:

Â(000.000883)Â can0Â 20000034ÂÂ [8]Â 00 3C 00 00 00 00 80 00ÂÂ ERRORFRAME
ÂÂÂÂcontroller-problem{rx-error-warning,tx-error-warning,rx-error-passive,tx-error-passive}

ÂÂÂÂtransceiver-status
ÂÂÂÂno-acknowledgement-on-tx
ÂÂÂÂerror-counter-tx-rx{{128}{0}}
Â(000.000996)Â can0Â 20000004ÂÂ [8]Â 00 0C 00 00 00 00 7F 00ÂÂ ERRORFRAME
ÂÂÂÂcontroller-problem{rx-error-warning,tx-error-warning}
ÂÂÂÂerror-counter-tx-rx{{127}{0}}

Back to error active is missing!? Have a look to:

https://elixir.bootlin.com/linux/latest/source/drivers/net/can/dev.c#L364

Should be sent out once the error counter drops further, will check.

Thanks,
Jakob