esptool-ck icon indicating copy to clipboard operation
esptool-ck copied to clipboard

Erase?

Open beicnet opened this issue 6 years ago • 9 comments

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.

beicnet avatar Jul 17 '17 22:07 beicnet

I believe you can’t flash it too, based on the log you send


Kind regards, Dr. Nissim Zur Wireless long range IoT Artificial Intelligence platforms Wi-Fi, Bluetooth Smart, Sub GHz Consultant & Lecturer, Research IoT Projects

Tel +972 544 500635 Israel Tel +972 3 5716699 Skype callto:nissim.test nissim.test Email mailto:[email protected] [email protected]

web http://www.telnt.com/ www.telnt.com

Zoom https://zoom.us/download https://zoom.us/download

Zoom ID https://zoom.us/j/3717699114 https://zoom.us/j/3717699114

From: beic [mailto:[email protected]] Sent: Tuesday, July 18, 2017 1:31 AM To: igrr/esptool-ck Cc: Subscribed Subject: [igrr/esptool-ck] Erase? (#56)

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.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/igrr/esptool-ck/issues/56 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADgOR3Ng6kqlA6xekJ8LmpusoiTh3Auvks5sO-CrgaJpZM4OannT . https://github.com/notifications/beacon/ADgORzuGnhyYp-LbfTYQuqn90oLC68uqks5sO-CrgaJpZM4OannT.gif

nissimzur avatar Jul 18 '17 07:07 nissimzur

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

beicnet avatar Jul 18 '17 09:07 beicnet

Just send a bin file that has 0xFFFF all over.

www.telnt.com

From: beic [mailto:[email protected]] Sent: Tuesday, July 18, 2017 12:19 PM To: igrr/esptool-ck Cc: Dr. Nissim Zur; Mention Subject: Re: [igrr/esptool-ck] Erase? (#56)

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/igrr/esptool-ck/issues/56#issuecomment-316007056 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADgOR06tKO7fT5FR2_rlTEUTbK434s11ks5sPHiFgaJpZM4OannT . https://github.com/notifications/beacon/ADgOR5uan3G09gE3uAoDoP-2Vk63kc2Bks5sPHiFgaJpZM4OannT.gif

nissimzur avatar Jul 18 '17 10:07 nissimzur

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.

pieman64 avatar Aug 05 '17 08:08 pieman64

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

beicnet avatar Aug 05 '17 10:08 beicnet

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

pieman64 avatar Aug 15 '17 10:08 pieman64

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

beicnet avatar Aug 15 '17 11:08 beicnet

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

nissimzur avatar Aug 15 '17 11:08 nissimzur

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

beicnet avatar Aug 15 '17 11:08 beicnet