Skip to content

Commit e4d7e56

Browse files
authored
Merge pull request #2650 from arduino/canchebagur/nano-r4-user-manual-update-bootloader-2
[PXCT-1474] - Nano R4 Update Tutorial (Bootloader)
2 parents 3de222a + b25f36f commit e4d7e56

File tree

3 files changed

+38
-8
lines changed

3 files changed

+38
-8
lines changed

content/hardware/03.nano/boards/nano-r4/tutorials/01.user-manual/content.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2333,6 +2333,16 @@ The Nano R4's bootloader offers the following technical specifications:
23332333

23342334
### Bootloader File Location
23352335

2336+
The bootloader file (`dfu_nano.hex`) can be obtained in two ways:
2337+
2338+
**Option 1: Direct Download (recommended)**:
2339+
2340+
Download directly from the Arduino GitHub repository:
2341+
2342+
- [Download dfu_nano.hex](https://github.com/arduino/ArduinoCore-renesas/blob/main/bootloaders/NANOR4/dfu_nano.hex)
2343+
2344+
**Option 2: From Arduino IDE Installation**:
2345+
23362346
The bootloader file (`dfu_nano.hex`) is automatically installed with the Arduino UNO R4 Boards core. You can find it in the following locations:
23372347

23382348
**Windows:**
@@ -2376,8 +2386,7 @@ For detailed step-by-step instructions on recovering and reflashing the bootload
23762386
- Verifying successful bootloader restoration
23772387
- Troubleshooting common issues
23782388

2379-
***__Important note__: Bootloader recovery is a low-level operation that should only be performed when necessary. __Always ensure you have a stable power supply and follow the tutorial instructions carefully to avoid damaging your board__. If you're unsure whether you need bootloader recovery, try standard troubleshooting steps first or contact [Arduino Support](https://www.arduino.cc/en/contact-us/) for assistance.***
2380-
2389+
***__Important note__: Bootloader recovery should only be performed when necessary. Ensure stable power supply and follow the tutorial instructions carefully. The process requires only the Renesas Flash Programmer tool and the bootloader file.***
23812390

23822391
### Maintaining Bootloader Health
23832392

885 KB
Loading

content/hardware/03.nano/boards/nano-r4/tutorials/03.bootloader-flashing/content.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,12 @@ This tutorial will guide you through the complete process of flashing the bootlo
4242

4343
### Software Requirements
4444

45-
- [Arduino IDE 2.0+](https://www.arduino.cc/en/software/) or [Arduino Web Editor](https://create.arduino.cc/editor)
45+
- [Arduino IDE](https://www.arduino.cc/en/software/) or [Arduino Cloud Editor](https://create.arduino.cc/editor)
4646
- [Arduino UNO R4 Boards core](https://github.com/arduino/ArduinoCore-renesas) (latest version)
4747
- [Renesas Flash Programmer tool](https://www.renesas.com/en/software-tool/renesas-flash-programmer-programming-gui) (latest version)
48+
- The bootloader file (`dfu_nano.hex`, see next section for download options)
4849

49-
***__Important note__: Make sure you have installed the `Arduino UNO R4 Boards` core version 1.0 or higher before proceeding. The bootloader file is included in this core installation.***
50+
***__Important note__: The Arduino IDE is NOT required for the bootloader flashing process itself, only for testing the board afterward.***
5051

5152
## Understanding Bootloader Recovery
5253

@@ -60,9 +61,19 @@ The Nano R4 includes a special hardware feature that enables bootloader recovery
6061

6162
## Preparing for Bootloader Flashing
6263

63-
Before beginning the bootloader flashing process, you need to locate and prepare the necessary bootloader file that comes with the Arduino UNO R4 Boards core installation.
64+
### Obtaining the Bootloader File
6465

65-
### Locating the Bootloader File
66+
**Option 1: Direct Download (recommended)**
67+
68+
Download the bootloader file directly from the Arduino Renesas Core GitHub repository:
69+
70+
- [Download dfu_nano.hex](https://github.com/arduino/ArduinoCore-renesas/blob/main/bootloaders/NANOR4/dfu_nano.hex)
71+
72+
Click the "**Download raw file**" button and save it to a known location on your computer, as you will need it later in the Renesas Flash Programmer.
73+
74+
![Bootloader file on the Arduino Renesas Core GitHub repository](assets/bootloader-raw-file.png)
75+
76+
**Option 2: From Arduino IDE Installation (if already installed)**
6677

6778
The bootloader file (`dfu_nano.hex`) is automatically installed when you add the `Arduino UNO R4 Boards` core through the Arduino IDE's Boards Manager. To find this file on your system:
6879

@@ -156,9 +167,9 @@ After flashing the bootloader, it is important to verify that your Nano R4 board
156167

157168
**Testing with the Blink Sketch**
158169

159-
Open the Arduino IDE 2 and ensure the Arduino UNO R4 Boards core is installed via **Tools > Board > Boards Manager**. Select your board by navigating to **Tools > Board > Arduino UNO R4 Boards > Arduino Nano R4**. Select the correct port under **Tools > Port**. Your Nano R4 should now appear as "**Arduino Nano R4**".
170+
Open the Arduino IDE and ensure the **Arduino UNO R4 Boards** core is installed via **Tools > Board > Boards Manager**. Select your board by navigating to **Tools > Board > Arduino UNO R4 Boards > Arduino Nano R4**. Select the correct port under **Tools > Port**. Your Nano R4 should now appear as "**Arduino Nano R4**".
160171

161-
Load the following Blink example sketch to test the bootloader:
172+
Load the following `Blink` example sketch to test the bootloader:
162173

163174
```arduino
164175
/**
@@ -207,6 +218,16 @@ If the upload succeeds and the orange LED starts blinking, your bootloader has b
207218

208219
![Blink sketch](assets/orange-led.gif)
209220

221+
## Quick Verification
222+
223+
After flashing, your board should:
224+
225+
- ✅ Show up as "**Arduino Nano R4**" in your computer's device manager
226+
- ✅ Have only the green PWR LED lit when idle
227+
- ✅ Successfully upload and run the `Blink` sketch (if testing with Arduino IDE)
228+
229+
If any of these checks fail, see the Troubleshooting section below.
230+
210231
## Troubleshooting Common Issues
211232

212233
If you encounter problems during the bootloader flashing process, here are common issues and solutions:

0 commit comments

Comments
 (0)