System block when set mttcan1 to FD mode on AGX ORIN, Jetpack 6.0dp

Hi,
I met a system block issue when set mttcan1 to FD mode on ORIN dev kit, Jetpack 6.0dp.
My steps is:

1. Power on the ORIN dev kit
2. Reboot the system by command:  sudo reboot
3. When system is on again,  configure mttcan1 to FD mode by:
sudo busybox devmem 0x0c303008 w 0xc458
sudo busybox devmem 0x0c303000 w 0xc400
sudo ip link set can1 up type can bitrate 500000 dbitrate 5000000 sjw 4 restart-ms 1000 berr-reporting on fd on loopback off

Then the system will block at a rate more than 50%. Please give some help.

Hi gdwang,

Do you load mttcan driver before using ip link command to configure can1?

$ sudo modprobe mttcan

Please share the full serial console log for further check.

and try to use the following command to configure can1 for CAN-FD packet.

$ sudo ip link set can0 up type can bitrate 500000 dbitrate 1000000 berr-reporting on fd on

Hi KevinFFF,
Sorry for my delay.
Today I use a script as below to set up can1:

# set can1 pinmux
sudo busybox devmem 0x0c303008 w 0xc458
sudo busybox devmem 0x0c303000 w 0xc400

sudo modprobe mttcan
sudo ip link set can1 up type can bitrate 500000 dbitrate 1000000 berr-reporting on fd on

and
can1_fd_config_block_0313.log (269.5 KB)
is my serial console log.

In the log file, At line 1404, I run the can config script for the 1st time, and it stucks for about 1 minute and then reboot itself. At line 2905, I run the script for the 2nd time, and it is ok this time, so I ‘sudo reboot’ the system. At line 4409, I run the script for the 3rd time, and it stucks again for about 1 minute and then reboot itself.

You can reproduce this issue on a Orin dev kit.

I can’t reproduce your stuck and shutdown issue on the AGX Orin devkit with JP6.0 DP.

Could you run your script with sudo?

Would you hit the shutdown issue if you run those command manually instead of running them through the script?

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.