Comments (2)
Are you setting the baud rate in your code? During a post-reset execute, the default baud rate is the same as the uploading baud rate (so 9600 in your case). But after a hard reset it's the default 76800bps again, until you set it in your code.
Other than that and checking the pin connections are correct, running from a hard reset should be the same as running immediately after an upload.
If you connect your ESP-01 and set the baud rate to 76800 then you should see some bootloader messages before your firmware runs (or fails to run), as well.
from esptool.
Closing as it's been a year with no response, but feel free to reopen if you still think there's an issue here.
from esptool.
Related Issues (20)
- Unsupported Command Errors when attempting to use esptools to flash esp8266 chip using a Windows PC (ESPTOOL-840) HOT 6
- Can't reboot device using USB Serial JTAG when in DOWNLOAD_MODE (ESPTOOL-842) HOT 25
- esptool: error: unrecognized arguments: --force --encrypt (ESPTOOL-843) HOT 5
- Esptool tool always fail at the connecting stage but AT+GMR command returns chip data (ESPTOOL-844) HOT 7
- Can't Flash ESP32-S2 on Mac (ESPTOOL-846) HOT 3
- Intelhex check can prevent flashing of binary file. (ESPTOOL-855) HOT 1
- A fatal error occurred: Invalid head of packet (0x6F) (ESPTOOL-858) HOT 8
- Important fatal errors should print to stderr (ESPTOOL-863) HOT 1
- espefuse.py show struct.error: unpack requires a buffer of 20 bytes (IDFGH-12938) (ESPTOOL-867) HOT 3
- Invalid head of packet (0x45): Possible serial noise or corruption...ESP32-C3-MINI (ESPTOOL-872) HOT 20
- intelhex.HexRecordError: Hex file contains invalid record, when not using hex-files (ESPTOOL-875) HOT 2
- Add ability to specify serial port VID+PID (ESPTOOL-877)
- Cannot run esptool.py on macOS Sonoma, No module named 'serial'... (ESPTOOL-880) HOT 1
- Sign/notarize macOS executable (ESPTOOL-881)
- Don't use self-hosted builders (ESPTOOL-882) HOT 2
- Unable to install on airgapped machine with new python and pip installation (ESPTOOL-884) HOT 3
- ELFSection check missing in bin_image (ESPTOOL-888) HOT 1
- SystemExit Raised Instead of Warning in _check_if_can_reset Method when chip is placed into download mode using GPIO0 (ESPTOOL-893)
- esptools cannot connect to ESP32-C3-WROOM-02 "no serial data received" (ESPTOOL-900) HOT 3
- flash write fails with ambiguous Error 1 (ESPTOOL-901) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esptool.