Hi mahmoud,
You can use watch -n 0.1 cansend …
You said CAN freezes, please tell me what is the output or logs you see during freeze. Also which BSP version you are using on Xavier?
I figured out when the problem happens but i don’t know the solution, the CAN on the kit freezes when i try to send a can message to the vehicle CAN Bus which is flooded with lots of messages.
However, if i send it to a different device; it works as the bus isn’t flooded with messages.
This happens to the kit only and not related to the vehicle bus, if i try to send a message on the bus from a different device, it works.
Hi,
You can use cangen command with -g option to provide gap in milli-seconds.
Use cangen --help for more info.
For freezing issue, there should be some error log msg if sending from Xavier. If you are not able to find anything, provide me the output of:
ip -d -s link show can0 (if you are using can1 then replace it by can1).