From 10b9cfc96750ff362038b182ce5881b3277ae7df Mon Sep 17 00:00:00 2001 From: alexandra Date: Tue, 25 Feb 2025 10:21:40 +0100 Subject: [PATCH 1/3] Create Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md --- ...hes-to-boards-with-MicroPython-firmware.md | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md diff --git a/content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md b/content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md new file mode 100644 index 00000000..581fe815 --- /dev/null +++ b/content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md @@ -0,0 +1,46 @@ +--- +title: Upload Arduino sketches to boards with MicroPython firmware +--- + +Uploading Arduino sketches to boards running MicroPython is simple, and in many cases, you can do it without removing the existing firmware manually. + +## Boards with MicroPython support + +- Arduino GIGA R1 WiFi +- Arduino Nano 33 BLE +- Arduino Nano 33 BLE Rev2 +- Arduino Nano 33 BLE Sense +- Arduino Nano 33 BLE Sense Rev2 +- Arduino Nano ESP32 +- Arduino Nano RP2040 Connect +- Arduino Nicla Vision +- Arduino Opta Lite +- Arduino Opta RS485 +- Arduino Opta WiFi +- Arduino Portenta C33 +- Arduino Portenta H7 +- Arduino Portenta H7 Lite +- Arduino Portenta H7 Lite Connected + +## Instructions for Nano ESP32 + +1. Press the RST button two times, waiting 0.3 to 1 second between each press. + + > [!IMPORTANT] + > The timing between presses is different compared to bootloader mode on most other Arduino boards. If bootloader mode won’t activate, try adjusting your timing. + +2. Check the on-board LED near the RST button: + - **If the LED pulses slowly in green[^colors]:** The board is in bootloader mode. Go to the next step. + - **If the LED is off:** Repeat step 1 or try [Option 2: Use the Esptool programmer option in Arduino IDE](#esp32-download-mode). + +3. Select Arduino Nano ESP32 in Arduino IDE or the Cloud Editor. + +4. Upload BareMinimum, or any other Arduino sketch to restore the standard Arduino bootloader. + +## Instructions for the remaining boards + +1. Open any Arduino development tool like Arduino IDE + +2. Select your board. If it does not appear, set your board to bootloader mode by double-pressing the reset button. + +3. Upload BareMinimum, or any other Arduino sketch. From ca117a2dd3e2019bfc833e2626107b056f9804bf Mon Sep 17 00:00:00 2001 From: alexandra Date: Wed, 26 Feb 2025 10:00:35 +0100 Subject: [PATCH 2/3] Fix intro + title --- ...with-MicroPython-Firmware-to-upload-Arduino-sketches.md} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename content/Hardware Support/Generic/{Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md => Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md} (75%) diff --git a/content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md b/content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md similarity index 75% rename from content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md rename to content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md index 581fe815..6d334c6b 100644 --- a/content/Hardware Support/Generic/Upload-Arduino-sketches-to-boards-with-MicroPython-firmware.md +++ b/content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md @@ -1,8 +1,8 @@ --- -title: Upload Arduino sketches to boards with MicroPython firmware +title: Resetting boards with MicroPython Firmware to upload Arduino sketches --- -Uploading Arduino sketches to boards running MicroPython is simple, and in many cases, you can do it without removing the existing firmware manually. +Uploading an Arduino sketch to a board running MicroPython is straightforward. In fact, there is no need for a separate process to remove the MicroPython runtime. When you upload an Arduino sketch, it automatically overwrites the existing firmware, effectively restoring the board to standard Arduino functionality. ## Boards with MicroPython support @@ -41,6 +41,6 @@ Uploading Arduino sketches to boards running MicroPython is simple, and in many 1. Open any Arduino development tool like Arduino IDE -2. Select your board. If it does not appear, set your board to bootloader mode by double-pressing the reset button. +2. Select your board. If it doesn't appear, set your board to bootloader mode by double-pressing the reset button. 3. Upload BareMinimum, or any other Arduino sketch. From 371fc875847d9f490c0d38301db3107669589f3f Mon Sep 17 00:00:00 2001 From: seaxwi <71350948+seaxwi@users.noreply.github.com> Date: Fri, 4 Jul 2025 15:40:19 +0200 Subject: [PATCH 3/3] Some refinements --- ...hon-Firmware-to-upload-Arduino-sketches.md | 46 ------------------- ...a-sketch-to-a-board-running-MicroPython.md | 43 +++++++++++++++++ 2 files changed, 43 insertions(+), 46 deletions(-) delete mode 100644 content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md create mode 100644 content/Hardware Support/Generic/Upload-a-sketch-to-a-board-running-MicroPython.md diff --git a/content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md b/content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md deleted file mode 100644 index 6d334c6b..00000000 --- a/content/Hardware Support/Generic/Resetting-boards-with-MicroPython-Firmware-to-upload-Arduino-sketches.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: Resetting boards with MicroPython Firmware to upload Arduino sketches ---- - -Uploading an Arduino sketch to a board running MicroPython is straightforward. In fact, there is no need for a separate process to remove the MicroPython runtime. When you upload an Arduino sketch, it automatically overwrites the existing firmware, effectively restoring the board to standard Arduino functionality. - -## Boards with MicroPython support - -- Arduino GIGA R1 WiFi -- Arduino Nano 33 BLE -- Arduino Nano 33 BLE Rev2 -- Arduino Nano 33 BLE Sense -- Arduino Nano 33 BLE Sense Rev2 -- Arduino Nano ESP32 -- Arduino Nano RP2040 Connect -- Arduino Nicla Vision -- Arduino Opta Lite -- Arduino Opta RS485 -- Arduino Opta WiFi -- Arduino Portenta C33 -- Arduino Portenta H7 -- Arduino Portenta H7 Lite -- Arduino Portenta H7 Lite Connected - -## Instructions for Nano ESP32 - -1. Press the RST button two times, waiting 0.3 to 1 second between each press. - - > [!IMPORTANT] - > The timing between presses is different compared to bootloader mode on most other Arduino boards. If bootloader mode won’t activate, try adjusting your timing. - -2. Check the on-board LED near the RST button: - - **If the LED pulses slowly in green[^colors]:** The board is in bootloader mode. Go to the next step. - - **If the LED is off:** Repeat step 1 or try [Option 2: Use the Esptool programmer option in Arduino IDE](#esp32-download-mode). - -3. Select Arduino Nano ESP32 in Arduino IDE or the Cloud Editor. - -4. Upload BareMinimum, or any other Arduino sketch to restore the standard Arduino bootloader. - -## Instructions for the remaining boards - -1. Open any Arduino development tool like Arduino IDE - -2. Select your board. If it doesn't appear, set your board to bootloader mode by double-pressing the reset button. - -3. Upload BareMinimum, or any other Arduino sketch. diff --git a/content/Hardware Support/Generic/Upload-a-sketch-to-a-board-running-MicroPython.md b/content/Hardware Support/Generic/Upload-a-sketch-to-a-board-running-MicroPython.md new file mode 100644 index 00000000..1e05e6eb --- /dev/null +++ b/content/Hardware Support/Generic/Upload-a-sketch-to-a-board-running-MicroPython.md @@ -0,0 +1,43 @@ +--- +title: Upload a sketch to a board running MicroPython +--- + +Uploading a sketch to an Arduino board running MicroPython is straightforward. You don’t need to manually uninstall MicroPython—uploading a sketch automatically replaces the existing firmware and restores the board’s standard Arduino functionality. If you’d like to switch back to MicroPython, simply [reinstall the MicroPython firmware](https://support.arduino.cc/hc/en-us/articles/15156644171548-Upload-firmware-for-Arduino-Lab-for-Micropython). + +Boards with MicroPython support: + +- Arduino GIGA R1 WiFi +- Arduino Nano 33 BLE +- Arduino Nano 33 BLE Rev2 +- Arduino Nano 33 BLE Sense +- Arduino Nano 33 BLE Sense Rev2 +- Arduino Nano ESP32 +- Arduino Nano RP2040 Connect +- Arduino Nicla Vision +- Arduino Opta Lite +- Arduino Opta RS485 +- Arduino Opta WiFi +- Arduino Portenta C33 +- Arduino Portenta H7 +- Arduino Portenta H7 Lite +- Arduino Portenta H7 Lite Connected + +--- + +Follow these steps: + +1. If Arduino Lab for MicroPython is running: Disconnect from the board, or close the application. + +1. Open an Arduino development tool that support sketch uploads, such as Arduino IDE or the [Arduino Cloud Editor](https://app.arduino.cc/sketches/examples?nav=Examples&eid=01.Basics%2FBlink){.link-external}. + +1. Select your board. If it doesn't appear, set your board to **bootloader mode** by double-pressing the reset button. + + - The board is in bootloader mode when the LED pulses slowly in green[^colors]. + + - _If you're using Nano ESP32:_ If the bootloader mode won't activate, try adjusting your timing, waiting 0.3 to 1 second between each press. + +1. Upload the **Blink** example, or any other Arduino sketch, to restore the standard Arduino bootloader. + + - In Arduino IDE, select File > Example > 01.Basics > Blink. + +[^colors]: On some earlier versions of the Nano ESP32, the LED will be blue instead of green, and yellow instead of purple.