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

Unsteady Autoreset-Fail on flash #444

Closed
cimba007 opened this issue Jun 18, 2015 · 4 comments
Closed

Unsteady Autoreset-Fail on flash #444

cimba007 opened this issue Jun 18, 2015 · 4 comments

Comments

@cimba007
Copy link

Hello,

I am using ESP03 as a generic board with esptool v0.4.5 with this params (
... esptool.exe -vv -cd ck -cb 512000 -cp COM3 -ca 0x00000 -cf ... esp8266_ssd1306_128x64_i2c.cpp.bin)

I am using one of these cheap ebay USB-Serial-Converteres, grabbing 5V USB-Power line and an LDO to 3.30V .
( e.g. http://www.ebay.de/itm/1Stk-USB-2-0-auf-TTL-UART-6Pin-Module-Serial-Converter-CP2102-STC-Neu-/111630933136?pt=LH_DefaultDomain_77&hash=item19fdb8dc90 )

Around 90% of the time just hitting upload and waiting for auto-reset to kick in is working fine.

But sometimes (mostly after starting arduino ide) I get these guys like 4-5 times in a row

warning: espcomm_send_command: wrong direction/command: 0x01 0x02, expected 0x01 0x03
warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed
warning: espcomm_send_command: wrong direction/command: 0x01 0x02, expected 0x01 0x04

I suspect (just guessing) a timing issue with the reset-commands. Is there any way to modifie them?

Is anyone else experiencing this rather random misbehaviour?

Greetings from Germany

*Edit: * Using this wiring: https://raw.githubusercontent.com/Links2004/Arduino/esp8266/docs/ESP_to_serial.png

@Testato
Copy link
Contributor

Testato commented Jun 19, 2015

Same here on a nodemcu board (esp12+ch340 usb)

@probonopd
Copy link
Contributor

Try my wiring from #480

@Links2004
Copy link
Collaborator

test to reduce the upload speed,
512000 is on the higher end, and only working by good and short wiring.

@Links2004
Copy link
Collaborator

please retry in last release,
If it still a problem feel free to reopen.

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

4 participants