Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPLOAD SKETCH ERROR WITH UNO+WiFi R3 ATmega328P+ESP8266 CH340 #9098

Open
2blew opened this issue Mar 1, 2024 · 1 comment
Open

UPLOAD SKETCH ERROR WITH UNO+WiFi R3 ATmega328P+ESP8266 CH340 #9098

2blew opened this issue Mar 1, 2024 · 1 comment

Comments

@2blew
Copy link

2blew commented Mar 1, 2024

Hello, I've been working on a project with an ESP8266 module and the Arduino IDE, but I've hit a roadblock. Whenever I try to upload a sketch, I'm faced with a series of errors that I can't seem to resolve. The errors are as follows:
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Sure, if you're looking to post a question on a forum to seek assistance with the errors you're encountering, here's a draft you might consider using:

Subject: Help Needed: espcomm_open failed and espcomm_upload_mem failed Errors with ESP8266 on Arduino IDE

Body:

Hello everyone,

I've been working on a project with an ESP8266 module and the Arduino IDE, but I've hit a roadblock. Whenever I try to upload a sketch, I'm faced with a series of errors that I can't seem to resolve. The errors are as follows:

go
Copy code
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

These appear after the IDE fails to upload the sketch. Here's what I've already tried:

Ensuring that the ESP8266 is correctly connected to the USB port.
Checking that the correct port is selected in the Arduino IDE (Tools > Port).
Updating the drivers for the USB-to-Serial chip that my module uses.
Trying different USB cables and ports on my computer.
Ensuring that no other software is using the COM port.
Following the typical bootloading sequence for the ESP8266 (holding down BOOT/FLASH when powering up or resetting).

I'm using Arduino IDE last version, and 1.8 and my operating system is Windows 11.

I would greatly appreciate any insights or suggestions the community might have.

@nopnop2002
Copy link

nopnop2002 commented Jul 16, 2024

Your information is too small.
Please fill in according to the issue template.

### Basic Infos

- [ ] This issue complies with the [issue POLICY doc](https://github.com/esp8266/Arduino/blob/master/POLICY.md).
- [ ] I have read the documentation at [readthedocs](https://arduino-esp8266.readthedocs.io/en/latest) and the issue is not addressed there.
- [ ] I have tested that the issue is present in current master branch (aka latest git).
- [ ] I have searched the issue tracker for a similar issue.
- [ ] If there is a stack dump, I have decoded it.
- [ ] I have filled out all fields below.

#### Platform

- Hardware:					[ESP-12|ESP-01|ESP-07|ESP8285 device|other]
- Core Version:			[latest git hash or date]
- Development Env:		[Arduino IDE|Platformio|Make|other]
- Operating System:		[Windows|Ubuntu|MacOS]

### Settings in IDE

- Module:  			[Generic ESP8266 Module|Wemos D1 mini r2|Nodemcu|other]
- Flash Mode:			[qio|dio|other]
- Flash Size: 		[4MB/1MB]
- lwip Variant:   [v1.4|v2 Lower Memory|Higher Bandwidth]
- Reset Method:		[ck|nodemcu]
- Flash Frequency:	[40Mhz]
- CPU Frequency:		[80Mhz|160MHz]
- Upload Using:		[OTA|SERIAL]
- Upload Speed:   [115200|other] (serial upload only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants