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 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
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.