FireBeetle 2 ESP32-E cannot use OTA

userHead David.Read 2024-06-26 04:21:38 61 Views3 Replies

Using Arduino IDE 2.3.2, FireBeetle 2 ESP32-E cannot upload over OTA.

 

I'm not sure of the best place to report this, but here goes.

 

It invokes the wrong tool and uses esptool instead of espota.

This is due to a missing line in boards.txt. (usually found at C:\Users\{user}\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\boards.txt)

The missing line is:

dfrobot_firebeetle2_esp32e.upload.tool.network=esp_ota

 

Hope this helps.

 

 

 

 

2024-07-11 17:25:54

It seems like you've identified a potential issue with the Arduino IDE setup for uploading sketches over-the-air (OTA) to the FireBeetle ESP32-E board. Your observation about the missing line in the `boards.txt` file makes sense and provides a helpful clue for resolving the problem. Here’s how you can proceed:

### Reporting the Issue

To report this issue and potentially get it addressed in future updates or versions of the Arduino IDE, you can follow these steps:

1. **Arduino GitHub Repository**: Arduino's development and issues are tracked on GitHub. You can visit the [Arduino GitHub repository](https://github.com/arduino/Arduino) and create a new issue there.

2. **Provide Details**: In your issue report, mention:
  - The specific board: FireBeetle 2 ESP32-E.
  - The issue: Incorrect tool being invoked (using `esptool` instead of `espota`) for OTA uploads. https://www.heisener.com/
  - The missing line in `boards.txt`: `dfrobot_firebeetle2_esp32e.upload.tool.network=esp_ota`.
  - Mention that adding this line resolves the problem.

### Steps for Others Facing the Issue

In the meantime, for others who encounter the same issue and find this solution helpful, here’s what they can do:

1. **Locate `boards.txt`**: Find the `boards.txt` file on your system. It's typically located at:
  - Windows: `C:\Users\{user}\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2\boards.txt`
  - Adjust the path if your installation directory or version is different.

2. **Edit `boards.txt`**:
  - Open `boards.txt` in a text editor.
  - Add the missing line: `dfrobot_firebeetle2_esp32e.upload.tool.network=esp_ota`
  - Save the file.

3. **Restart Arduino IDE**: Close and reopen the Arduino IDE to apply the changes.

### Verify and Use OTA Uploads

After making these changes, verify if OTA uploads now work correctly for your FireBeetle ESP32-E board using the Arduino IDE. You should now see the correct tool (`espota`) being used instead of `esptool`.

### Conclusion

Reporting issues and providing solutions like this not only helps the community but also contributes to improving the overall Arduino experience. By following these steps, you can both resolve your immediate problem and potentially help others who might face similar issues with OTA uploads on their ESP32 boards.

userHeadPic JAMES.JACK
2024-07-04 19:18:43

You can report this issue on the Arduino GitHub repository for the ESP32 platform.

userHeadPic lia.ifat
2024-07-01 17:46:28

It sounds like you've identified an issue with uploading sketches over-the-air (OTA) using the Arduino IDE 2.3.2 with the FireBeetle 2 ESP32-E (DFRobot FireBeetle ESP32-E). The problem lies in the configuration of the boards.txt file for the ESP32 platform, specifically missing a line that directs the Arduino IDE to use the correct upload tool (`esp_ota`) for OTA updates.

### Solution Steps

To resolve the issue and enable OTA uploading for your FireBeetle 2 ESP32-E board, follow these steps:

1. **Locate boards.txt File**:
  - Navigate to the directory where the ESP32 boards package is installed. Typically, it is located at:
    ```
    C:\Users\{user}\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.0.2
    ```
  - Inside this directory, locate the `boards.txt` file.

2. **Edit boards.txt File**:
  - Open `boards.txt` using a text editor (e.g., Notepad++).

3. **Add the Missing Line**:
  - Add the following line to the `dfrobot_firebeetle2_esp32e` section in `boards.txt`:
    ```
    dfrobot_firebeetle2_esp32e.upload.tool.network=esp_ota
    ```
  - Ensure this line is added under the section where other `upload.tool` lines are defined.

4. **Save and Close**:
  - Save the changes to `boards.txt` after adding the line.

5. **Restart Arduino IDE**:
  - Close and reopen the Arduino IDE to ensure it picks up the modified `boards.txt` configuration.

6. **Upload Sketch Over-the-Air (OTA)**:
  - Now, attempt to upload a sketch over-the-air using the Arduino IDE. The IDE should now correctly use the `esp_ota` tool for OTA updates on your FireBeetle 2 ESP32-E board.  https://www.zouser.com/

### Additional Considerations

- **Verification**: Double-check that the added line (`dfrobot_firebeetle2_esp32e.upload.tool.network=esp_ota`) is correctly formatted and placed within the appropriate section of `boards.txt`.
 
- **IDE Compatibility**: Ensure that Arduino IDE 2.3.2 is compatible with the modifications made to `boards.txt`. Sometimes, IDE updates or changes in board definitions may affect how OTA uploading is handled.

- **Documentation and Support**: If issues persist or if you encounter further problems, consult the ESP32 platform documentation or community forums for additional troubleshooting steps or updates related to OTA uploading.

By adding the missing line to `boards.txt`, you should be able to resolve the issue where the Arduino IDE was invoking the wrong upload tool (`esptool` instead of `espota`) for OTA updates on your FireBeetle 2 ESP32-E board.

userHeadPic JAMES.JACK