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

Erase? #56

Open
beicnet opened this issue Jul 17, 2017 · 9 comments
Open

Erase? #56

beicnet opened this issue Jul 17, 2017 · 9 comments

Comments

@beicnet
Copy link

beicnet commented Jul 17, 2017

Using latest bin: esptool-0.4.11-win32.zip

But how I see, I can't erase my WeMos D1 mini

esptool.exe -cp COM7 -cb 115200 -cd nodemcu -ce
warning: espcomm_send_command: didn't receive command response
error: espcomm_erase_flash: FLASH_DOWNLOAD_BEGIN failed
error: Invalid argument or value after -ce (argument #8)

btw...but I can flash it without any issue.

@nissimzur
Copy link

nissimzur commented Jul 18, 2017 via email

@beicnet
Copy link
Author

beicnet commented Jul 18, 2017

@nissimzur Yes, I can, I flashed it a few times yesterday and today too, but can't erase, I thinks its related to timing.

@nissimzur
Copy link

nissimzur commented Jul 18, 2017 via email

@pieman64
Copy link

pieman64 commented Aug 5, 2017

I also found out that I can't erase but "flashing" is working of sorts.
The flash is accepted but the ESP doesn't seem to reboot into running mode. Will do further tests.
What I did find I was able to flash a general sketch to a "dead" ESP01 and then return to the Arduino IDE and now it's running with an OTA hostname of Lazarus. I have a few dead ESP07's and at least one dead WeMos so I will try to resurrect them too when I have time.

@beicnet
Copy link
Author

beicnet commented Aug 5, 2017

I figured out, that it will erase, but also will freeze the command prompt window for a while, is it a bug?

@pieman64
Copy link

Tried again today and erasing flash still doesn't work. Argument #8 error as per @beicnet
Anyone have a real fix?

@beicnet
Copy link
Author

beicnet commented Aug 15, 2017

@pieman64 Unfortunately, there is no explanation given for that issue yet.

@nissimzur
Copy link

The chip does not "know" if it flashes a bin file filled of 0xFFFF or a code.
So, if you can flash 0XFFFF ok or other data, it must flash good apps bin file.
If it does not run, you have a bug in your bin.
Call my SKype nissmi.test I will help

@beicnet
Copy link
Author

beicnet commented Aug 15, 2017

@nissimzur We are talking here about "erasing" chip with command line prompt

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

3 participants