-
Notifications
You must be signed in to change notification settings - Fork 115
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
first upload worked, second did not #11
Comments
Make sure you are using same USB port as previously. Also try re-installing the drivers, since you use Linux use these instructions: https://github.com/OLIMEX/ch340-dkms - check if this improves the behavior. I'd also recommend testing with another software tool, maybe some update broke the software. Try Arduino for ESP32: https://github.com/espressif/arduino-esp32 or ESP-IDF Finally, make sure to also check and report the issue to the platform.io community, maybe it is a well known problem. If the issue remains tell me if: Both the PoE and the EVB can't be programmed second time or just the PoE? |
Hi Dan, I then installed Arduino 1.8.12 and the ESP-boards too (following https://www.heise.de/ct/artikel/Arduino-IDE-installieren-und-fit-machen-fuer-ESP8266-und-ESP32-4130814.html ) with the same results. No uploading to ESP32-boards, but everything OK with a ESP8266. Since the probability that all 3 new ESP32-boards are defective is very low, I must have missed something basic :-(( I have also tried to use a lower upload speed of 115200 - same results. TIA, Karl |
I don't think it is three defective boards. It is something trivial, like Linux gave new COM port number for the devices, or some other peripheral used and blocked the COM port, or the driver associated changed and it stopped toggling reset, maybe wrong board configuration was selected. What is the chip in the ESP8266 that works? Is it CH340T? If not - the comparison in behavior is inconclusive, since it probably uses different driver. If the ESP8266 board has CH340T then it is less likely to be a driver issue but still not completely out of question. I think it is a popular problem so make sure to check for what others might have suggested online. Also share the test program that you used. I might run it on our boards to compare. |
Hi Dan, |
@karls0 Hello, Thanks for the update! Can you confirm all the three boards worked after this fix? Can you also tell me what are the hardware revisions of each of the three boards as printed on the board? The reason I need that information is to test here and maybe make some hardware changes. Thanks! |
Hi Dan, |
Hi Dan hth, Karl |
Thank you for the tests and the thorough reports! Pretty helpful. Future hardware revisions would have improved values on EN line but we are still deciding on what values exactly. Unfortunately, we can't replicate the "no upload scenario" here. That is why I have one final request - can you test also with 1uF if you have 1uF capacitor? |
Hi Dan, sorry for the delay. I did my tests with 1µF too and rearranged the table a bit. looks like 1µF is to small. 10M and a resistor between 4k7 and 10k seem to be best (for me). Did you think of a power-manager like TPS3839? Maybe this is a solution? Again, I hope my findings help. Please inform me of your solution. |
Hi again, |
Hi, |
Hardware:
Board: Olimex ESP32-PoE
Core Installation version: Core 4.2.1 Home 3.1.1
IDE name: platform.io
Flash Frequency: default
PSRAM enabled: don't know
Upload Speed: tried default, now at 115200
Computer OS: Linux Mint 19.3
Description:
I recently bought an Olimex ESP32-PoE and an Olimex ESP32-EVB and uploaded a test-sketch to both. No problem with this.
Next day I wanted to try another sketch, but the upload failed with
"A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header"
From my experience with ESP8266 I checked the supply, but I measure 5.1V at the board. The USB-cable is the same as yesterday, but nevertheless I tried another and it did not help.
I also tried different versions of pressing RST- and BUT-button - no help.
Since I could upload a sketchd yesterday, I really do not understand what could be wrong. Thank you for any tips to help me.
Regards, Karl
The text was updated successfully, but these errors were encountered: