|
1 | 1 | --- |
2 | | -title: Arduino UNO R4 WiFi Upload to ESP32 |
3 | | -description: Learn how to upload firmware to the ESP32-S3 on the UNO R4 WiFi |
| 2 | +title: UNO R4 WiFi Custom Firmware Upload to ESP32 (Advanced) |
| 3 | +description: 'Learn how to load custom firmware to the ESP32-S3 module on the UNO R4 WiFi, using the esptool.py command line interface.' |
4 | 4 | author: Hannes Siebeneicher |
5 | 5 | tags: [ESP32, esptool, Flash] |
6 | 6 | hardware: |
@@ -70,69 +70,4 @@ esptool.py --chip esp32s3 --port <your port> write_flash -z 0 <yourCustomFirmwar |
70 | 70 |
|
71 | 71 | ## Restore Default Firmware |
72 | 72 |
|
73 | | -Restoring the default firmware varies slightly depending on which operating system you are using. |
74 | | - |
75 | | -**Windows** |
76 | | - |
77 | | -- [Download the latest firmware](https://github.com/arduino/uno-r4-wifi-usb-bridge/releases/download/0.2.0/unor4wifi-update-windows.zip) and unzip it. |
78 | | - |
79 | | -- Unplug all the USB devices except for your **UNO R4 WiFi**. |
80 | | - |
81 | | -- Open the **update.bat** file - if a warning dialog appears, click on "More info" and then "Run anyway". |
82 | | - |
83 | | -- Follow the steps inside the terminal and select your board from the device list (if you still see more than one device after unplugging everything apart from the board, check under Windows' Device Manager) |
84 | | - |
85 | | -- Once done, unplug the board, connect it again and you should have the default firmware installed again. |
86 | | - |
87 | | -**MacOS** |
88 | | - |
89 | | -- [Download the latest firmware](https://github.com/arduino/uno-r4-wifi-usb-bridge/releases/download/0.2.0/unor4wifi-update-macos.zip) and unzip it. |
90 | | - |
91 | | -- Unplug all the USB devices except for your **UNO R4 WiFi**. |
92 | | - |
93 | | -- Right-click on the folder, select "New terminal at folder" (you might find it under "Services"), and launch the following commands: |
94 | | - |
95 | | -``` |
96 | | -chmod a+x update.command |
97 | | -``` |
98 | | - |
99 | | -``` |
100 | | -sudo xattr -d com.apple.quarantine bin/espflash |
101 | | -``` |
102 | | - |
103 | | -``` |
104 | | -sudo xattr -d com.apple.quarantine bin/unor4wifi-reboot-macos |
105 | | -``` |
106 | | - |
107 | | -- Launch this command in your terminal: |
108 | | - |
109 | | -``` |
110 | | -./update.command |
111 | | -``` |
112 | | - |
113 | | -- Follow the steps inside the terminal and select your board from the device list, it is listed as |
114 | | -/dev/tty.usbmodem141301 - USB JTAG_serial debug unit. |
115 | | - |
116 | | -- Once done, unplug the board, connect it again and you should have the default firmware installed again. |
117 | | - |
118 | | -**Linux** |
119 | | - |
120 | | -- [Download the latest firmware](https://github.com/arduino/uno-r4-wifi-usb-bridge/releases/download/0.2.0/unor4wifi-update-linux.zip) and unzip it. |
121 | | - |
122 | | -- Unplug all the USB devices except for your **UNO R4 WiFi**. |
123 | | - |
124 | | -- Right-click on the folder, select "Open in Terminal" and launch the following command: |
125 | | - |
126 | | -``` |
127 | | -sudo ./update.sh |
128 | | -``` |
129 | | - |
130 | | -- Follow the steps inside the terminal and answer yes to the first question, no to the second. |
131 | | - |
132 | | -- Once done, unplug the board, connect it again and you should have the default firmware installed again. |
133 | | - |
134 | | -Alternatively you can also repeat **Step 1** and **Step 2** using the ``.bin`` file found inside the ``.zip`` file using the esptool. |
135 | | - |
136 | | -## Conclusion |
137 | | - |
138 | | -These are the steps for uploading firmware to your ESP32-S3. This process is **not suitable for beginners** as it easily breaks your board. Unless the new firmware does not implement a new serial bridge, a lot of functionality is lost. But for those who know what they are doing, it opens up many new possibilities as you can rewrite the firmware on the ESP32 to fit your custom needs. |
| 73 | +To restore the default firmware on the ESP32 check out [Update the connectivity module firmware on UNO R4 WiFi](https://support.arduino.cc/hc/en-us/articles/9670986058780-Update-the-connectivity-module-firmware-on-UNO-R4-WiFi#espflash). |
0 commit comments