updated readme
This commit is contained in:
24
README.md
24
README.md
@ -211,11 +211,27 @@ systemctl status example
|
|||||||
````
|
````
|
||||||
More detailed information about the used q7s commands can be found in the Q7S user manual.
|
More detailed information about the used q7s commands can be found in the Q7S user manual.
|
||||||
|
|
||||||
|
### Bringing up CAN
|
||||||
|
|
||||||
### Update file in rootfs
|
|
||||||
````
|
````
|
||||||
writeprotect 0 0 0 # qspi0 nom unlock (see also Q7S user manual)
|
ip link set can0 down
|
||||||
|
ip link set can0 type can loopback off
|
||||||
|
ip link set can0 up type can bitrate 1000000
|
||||||
|
````
|
||||||
|
Following command sends 8 bytes to device with id 99 (for petalinux)
|
||||||
|
````
|
||||||
|
cansend can0 -i99 99 88 77 11 33 11 22 99
|
||||||
|
````
|
||||||
|
For Q7S use this:
|
||||||
|
````
|
||||||
|
cansend can0 5A1#11.22.33.44.55.66.77.88
|
||||||
|
````
|
||||||
|
Turn loopback mode on:
|
||||||
|
````
|
||||||
|
ip link set can0 type can bitrate 1000000 loopback on
|
||||||
|
````
|
||||||
|
Reading data from CAN:
|
||||||
|
````
|
||||||
|
candump can0
|
||||||
````
|
````
|
||||||
|
|
||||||
## Setting up UNIX environment for real-time functionalities
|
## Setting up UNIX environment for real-time functionalities
|
||||||
|
2
fsfw
2
fsfw
Submodule fsfw updated: ca34250e8d...113397c6c6
2
tmtc
2
tmtc
Submodule tmtc updated: 2f1c3d5eb9...3fc71f9094
Reference in New Issue
Block a user