You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platforms/rh850-u2a16/README.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,33 +4,35 @@
4
4
5
5
You can download and compile the toolchain from the official GCC repository.
6
6
7
-
A toolchain that has been used and verified is [gcc 10.3.0](https://github.com/dkulacz/gcc-v850-elf-toolchain).
7
+
A toolchain that has been used and verified is [gcc 14.2.0](https://github.com/bao-project/gcc-v850-elf-toolchain/releases/download/v14.2.0/gcc-14.2.0-v850-elf.tar.gz).
8
8
9
9
10
-
## 2) Build bao.bin and baremetal.hex
10
+
## 2) Download and install rfp-cli
11
+
12
+
You can download `rfp-cli` for linux [here](https://www.renesas.com/rfp).
13
+
Add it to your PATH.
14
+
15
+
```
16
+
rfp-cli --version
17
+
Renesas Flash Programmer CLI V1.11
18
+
Module Version: V3.18.00.000
19
+
```
20
+
21
+
## 3) Build a demo
22
+
For example to build the baremetal demo:
11
23
12
24
```sh
13
-
# in bao-demos/
25
+
export CROSS_COMPILE=v850-elf-
26
+
export DEMO=baremetal
27
+
export PLATFORM=rh850-u2a16
28
+
14
29
make
15
30
```
16
31
17
32
The `bao.bin` and `baremetal.hex` is in `wrkdir/imgs/rh850-u2a16/baremetal`
18
33
19
34
20
-
## 3) Flash bao.bin and baremetal.hex to board
21
-
22
-
You can use a programming tool to program these two files onto the development board.
23
-
24
-
For example, on macOS, the steps are as follows:
35
+
## 4) Flash bao.bin and guests to board
25
36
26
-
```sh
27
-
./rfp-cli -d RH850/U2x -t e2 -if uart \
28
-
-auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF \
29
-
-auto -osc 20.0 \
30
-
-bin 0 bao.bin -p
31
-
32
-
./rfp-cli -device RH850/U2x -tool e2 -if uart \
33
-
-auth id FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF \
34
-
-osc 20.0 \
35
-
-file baremetal.hex -p
36
-
```
37
+
You must use the `rfp-cli` tool to program the `bao.bin` and guest images.
38
+
Please take a look at the corresponding demo instructions for this platform.
0 commit comments