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
+20-21Lines changed: 20 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,33 +4,32 @@
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
11
12
-
```sh
13
-
# in bao-demos/
14
-
make
15
-
```
12
+
You can download `rfp-cli` for linux [here](https://www.renesas.com/rfp).
13
+
Add it to your PATH.
16
14
17
-
The `bao.bin` and `baremetal.hex` is in `wrkdir/imgs/rh850-u2a16/baremetal`
15
+
```
16
+
rfp-cli --version
17
+
Renesas Flash Programmer CLI V1.11
18
+
Module Version: V3.18.00.000
19
+
```
18
20
21
+
## 3) Build a demo
22
+
For example to build the baremetal demo:
19
23
20
-
## 3) Flash bao.bin and baremetal.hex to board
24
+
```sh
25
+
export CROSS_COMPILE=v850-elf-
26
+
export DEMO=baremetal
27
+
export PLATFORM=rh850-u2a16
21
28
22
-
You can use a programming tool to program these two files onto the development board.
29
+
make
30
+
```
23
31
24
-
For example, on macOS, the steps are as follows:
32
+
## 4) Flash bao.bin and guests to board
25
33
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
-
```
34
+
You must use the `rfp-cli` tool to program the `bao.bin` and guest images.
35
+
Please take a look at the corresponding demo instructions for this platform.
0 commit comments