File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1
1
# PRUTOOL
2
+
3
+ The PRUTOOL can control the PRUs via the command line.
4
+
5
+ ## How to use it
6
+
7
+ - Halt PRU0 ` prutool h 0 `
8
+ - Halt PRU1 ` prutool h 1 `
9
+
10
+ - Start PRU0 ` prutool s 0 `
11
+ - Start PRU1 ` prutool s 1 `
12
+
13
+ - Load file in PRU0 IRAM ` prutool i 0 iramfilename `
14
+ - Load file in PRU1 IRAM ` prutool i 1 iramfilename `
15
+
16
+ - Load file in PRU0 DRAM ` prutool d 0 dramfilename `
17
+ - Load file in PRU1 DRAM ` prutool d 1 dramfilename `
18
+
19
+ - Load file in PRU0 IRAM and DRAM ` prutool l 0 iramfilename dramfilename `
20
+ - Load file in PRU1 IRAM and DRAM ` prutool l 1 iramfilename dramfilename `
21
+
22
+ ## Example
23
+
24
+ Make sure you have installed the TI PRU Code Generation Tools. To install the tools use ` sudo apt-get install ti-pru-cgt-installer `
25
+
26
+ - Change to the example folder ` cd example `
27
+ - Compile and build nessecary file ` make `
28
+ - Change back to prutool folder ` cd .. `
29
+ - Create prutool once ` make `
30
+ - Halt PRU1 ` prutool h 1 `
31
+ - Load IRAM and DRAM into PRU1 ` prutool l 1 example/text.bin example/data.bin `
32
+ - Start program in PRU1 ` prutool s 1 `
You can’t perform that action at this time.
0 commit comments