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

Uploading the sketch OTA unfortunately hangs #1357

Open
3 tasks done
kittaakos opened this issue Aug 26, 2022 · 4 comments
Open
3 tasks done

Uploading the sketch OTA unfortunately hangs #1357

kittaakos opened this issue Aug 26, 2022 · 4 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@kittaakos
Copy link
Contributor

Describe the problem

Originally reported by @MarkSDS here:

Uploading the sketch OTA unfortunately hangs with these messages:

Sketch uses 792510 bytes (60%) of program storage space. Maximum is 1310720 bytes. Global variables use 42556 bytes (12%) of dynamic memory, leaving 285124 bytes for local variables. Maximum is 327680 bytes. Sending invitation to 192.168.2.26 Uploading............. followed by A LOT of dots thereafter. No clue as for the reason for this hanging.

To reproduce

@kittaakos will update this

Expected behavior

Can upload the OTA sketch.

Arduino IDE version

Version: 2.0.0-rc9.2.nightly-20220826 Date: 2022-08-26T03:53:51.674Z CLI Version: git-snapshot [42cd9e17]

Operating system

N/A

Operating system version

N/A

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@kittaakos kittaakos added the type: imperfection Perceived defect in any part of project label Aug 26, 2022
@kittaakos kittaakos self-assigned this Aug 26, 2022
@per1234
Copy link
Contributor

per1234 commented Aug 29, 2022

@MarkSDS which version of the ESP32 boards platform are you using?

You can see it in the Arduino IDE Boards Manager, like this:

image

@MarkSDS
Copy link

MarkSDS commented Aug 29, 2022

I checked, and I was on 1.0.6:
2022-08-29 21_36_15-Greenshot (2)

Updated towards 2.0.4 (!), thank you.
2022-08-29 21_43_20-Greenshot (2)

Problem appereance altered somewhat, but the result now (one try done) is No Response:
2022-08-29 22_01_30-Greenshot (2)

I came across this post because earlier tonight the module wasn't responsive while on USB neither. That part was solved by unattaching it from the breadboard-to-be.

I'll investigate further tomorrow and post my findings here.
Thank you for any guidance.

@MarkSDS
Copy link

MarkSDS commented Aug 29, 2022

Update:
I tried to remove any Serial.print() in the OTA sketch. I can imagine it might be hard to write to Serialover the air.
I added some sys.stderr.write() in espota.py in an attempt to see what's going on, but the Arduino IDE does not use that saved python script while uploading, obviously: the terminal doesn't change it's behaviour.
Randomly pushing or holding RST or PWR had no succes.

@MarkSDS
Copy link

MarkSDS commented Sep 1, 2022

Tried the online IDE.
The connection via WiFi is available, though not stable at all. I can select various boards, e.g. the DOIT ESP32 Devkit V1 as well as the auto-detected ESP32-c4dd57767370.

Whenever OTA upload starts, board is recognised as a Yún and compiling #include <ESPmDNS.h> throws a fatal error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

4 participants