Skip to content

Commit b9af82f

Browse files
authored
Merge pull request #114 from arduino/update_bootloader_documentation
bootloaders: change instruction to match OSS release
2 parents c81d76f + e60033f commit b9af82f

File tree

3 files changed

+38
-19
lines changed

3 files changed

+38
-19
lines changed

bootloaders/PORTENTA_H33/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
:floppy_disk: `bootloaders/PORTENTA_C33`
2+
====================================
3+
Compiled with
4+
```bash
5+
git clone https://github.com/arduino/arduino-renesas-bootloader
6+
git clone https://github.com/hathach/tinyusb
7+
cd tinyusb
8+
# This step is temporary
9+
patch -p1 < ../arduino-renesas-bootloader/0001-fix-arduino-bootloaders.patch
10+
python tools/get_deps.py ra
11+
cd ..
12+
cd arduino-renesas-bootloader
13+
TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.c33
14+
```
15+
16+
:rocket: `How to load bootloader`
17+
====================================
18+
19+
Using any Portenta carrier **with USB A connector**, toggle the BOOT dip-switch, connect to the PC using a very uncommon USB-A to USB-A cable and reset the board.
20+
The board will enumerate as Renesas RA USB Boot
21+
22+
Then flash the bootloader with [`rfp-cli`](https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui#download)
23+
```
24+
rfp-cli -device ra -port $portname -p dfu_c33.hex
25+
```
26+
27+
Otherwise, the same hex file can be loaded through the SWD port (using a Jlink for example)
28+

bootloaders/PORTENTA_H33/README.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

bootloaders/UNO_R4/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
:floppy_disk: `bootloaders/UNO_R4`
22
====================================
3-
Sources for Uno R4 WIFi at [email protected]:bcmi-labs/tinyusb.git , commit 185ae31ff15a1013a5a890455220a29bad1ed209
4-
5-
Compiled with
6-
```bash
7-
cd examples/device/dfu && make BOARD=santiago_composta
8-
```
9-
10-
Sources for Uno R4 Minima at [email protected]:bcmi-labs/tinyusb.git , commit b80fa8f4027c5aa4d9af5720a82e9238d8f792bb
11-
123
Compiled with
134
```bash
14-
cd examples/device/dfu && make BOARD=santiago
5+
git clone https://github.com/arduino/arduino-renesas-bootloader
6+
git clone https://github.com/hathach/tinyusb
7+
cd tinyusb
8+
# This step is temporary
9+
patch -p1 < ../arduino-renesas-bootloader/0001-fix-arduino-bootloaders.patch
10+
python tools/get_deps.py ra
11+
cd ..
12+
cd arduino-renesas-bootloader
13+
TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima
14+
# TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.wifi
1515
```
1616

1717
:rescue_worker_helmet: `How to update ESP32-S3 firmware`

0 commit comments

Comments
 (0)