diff --git a/bootloaders/PORTENTA_H33/README.md b/bootloaders/PORTENTA_H33/README.md new file mode 100644 index 000000000..69b73dcd1 --- /dev/null +++ b/bootloaders/PORTENTA_H33/README.md @@ -0,0 +1,28 @@ +:floppy_disk: `bootloaders/PORTENTA_C33` +==================================== +Compiled with +```bash +git clone https://github.com/arduino/arduino-renesas-bootloader +git clone https://github.com/hathach/tinyusb +cd tinyusb +# This step is temporary +patch -p1 < ../arduino-renesas-bootloader/0001-fix-arduino-bootloaders.patch +python tools/get_deps.py ra +cd .. +cd arduino-renesas-bootloader +TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.c33 +``` + +:rocket: `How to load bootloader` +==================================== + +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. +The board will enumerate as Renesas RA USB Boot + +Then flash the bootloader with [`rfp-cli`](https://www.renesas.com/us/en/software-tool/renesas-flash-programmer-programming-gui#download) +``` +rfp-cli -device ra -port $portname -p dfu_c33.hex +``` + +Otherwise, the same hex file can be loaded through the SWD port (using a Jlink for example) + diff --git a/bootloaders/PORTENTA_H33/README.txt b/bootloaders/PORTENTA_H33/README.txt deleted file mode 100644 index 6d68308d7..000000000 --- a/bootloaders/PORTENTA_H33/README.txt +++ /dev/null @@ -1,9 +0,0 @@ -Sources at git@github.com:bcmi-labs/tinyusb.git , commit 56f91375e2f27c9a13e53f75c63cb1f353f3cdb9 - -Add #define USE_HS_PORT_FOR_DFU in examples/device/dfu/tusb_config.h for High Speed port - -Compiled with - - cd examples/dfu && make BOARD=ek_ra6m5 - - diff --git a/bootloaders/UNO_R4/README.md b/bootloaders/UNO_R4/README.md index 733fc0b2f..4cdb9a9f0 100644 --- a/bootloaders/UNO_R4/README.md +++ b/bootloaders/UNO_R4/README.md @@ -1,17 +1,17 @@ :floppy_disk: `bootloaders/UNO_R4` ==================================== -Sources for Uno R4 WIFi at git@github.com:bcmi-labs/tinyusb.git , commit 185ae31ff15a1013a5a890455220a29bad1ed209 - -Compiled with -```bash -cd examples/device/dfu && make BOARD=santiago_composta -``` - -Sources for Uno R4 Minima at git@github.com:bcmi-labs/tinyusb.git , commit b80fa8f4027c5aa4d9af5720a82e9238d8f792bb - Compiled with ```bash -cd examples/device/dfu && make BOARD=santiago +git clone https://github.com/arduino/arduino-renesas-bootloader +git clone https://github.com/hathach/tinyusb +cd tinyusb +# This step is temporary +patch -p1 < ../arduino-renesas-bootloader/0001-fix-arduino-bootloaders.patch +python tools/get_deps.py ra +cd .. +cd arduino-renesas-bootloader +TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.minima +# TINYUSB_ROOT=$PWD/../tinyusb make -f Makefile.wifi ``` :rescue_worker_helmet: `How to update ESP32-S3 firmware`