sudo nano /etc/network/interfaces.d/can0
auto can0
iface can0 can static
bitrate 500000
up ifconfig $IFACE txqueuelen 256
pre-up ip link set can0 type can bitrate 500000
pre-up ip link set can0 txqueuelen 256
and press Ctrl+X to save.
you can now reboot the pi with sudo reboot
Once the pi has rebooted you can run the ip -s link show can0
command to check your network status.
You should see a line like the below in the results. The key thing to note is that the network is UP for now.
-
I can see my
can0
network but when I connect my device to query the uuid there is no value returned.
In order to flash the U2C the boot
and reset
buttons need to be pressed and released after connecting he board (release boot
last.
You can then flash candlelight_fw