Page 1 of 1

2 Bricked Wemos D1 Mini & Node MCU

Posted: 10 Sep 2018, 17:55
by 1968neil
Hope someone has an answer as seem to have some issues here and i have no idea what the problem is ?

in serial monitor i get this :

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld

Any help appreciated :)
Regards
Neil

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 10 Sep 2018, 17:58
by grovkillen
Sounds like a flash gone wrong. Have you tried a blank bin file prior to a real flash?

https://www.dropbox.com/s/g8i2gr26t09l9 ... s.zip?dl=1

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 10 Sep 2018, 20:01
by 1968neil
You Sir are a Genius, Thank you so so much,

All working and happy now.

I also discovered my cause, i was trying to use the wrong I2C pins as they are available and the drop down lets you select them.
However i have discovered that doing so corrupts the esp.....

I have tried this since i cleared the eprom with your blank file and it does the very same.

Would make sense to grey out the pins not available for I2C ?

Thanks again, very much appreciated.
Kind Regards
Neil

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 10 Sep 2018, 20:10
by grovkillen
Yes that sounds like not good practice so please add that as an issue on GitHub and we'll sort it out. We should always use the pins set on hardware for i2c. Maybe we need to make that clear in i2c plugins. Right @TD-er?

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 10 Sep 2018, 21:25
by TD-er
I don't know what will happen to the performance when pins other than the default are used for I2C.
But I guess adding some label strongly suggesting the default wouldn't hurt.

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 11 Sep 2018, 03:00
by kenkoknz
Hi,
@grovekillen, Re the blank bin file, is the file the same for 1mbyte and 4mbyte? ie can you used it for both esp01 and nodemcus?
Thanks,
Ken

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 11 Sep 2018, 06:12
by grovkillen
It's two provided. You can use the 4MB one for the ESP01 too but the bigger will take longer to flash as it'll still send bits over the serial even when the flash memory is full.

Re: 2 Bricked Wemos D1 Mini & Node MCU

Posted: 11 Sep 2018, 21:42
by TD-er
kenkoknz wrote: 11 Sep 2018, 03:00 Hi,
@grovekillen, Re the blank bin file, is the file the same for 1mbyte and 4mbyte? ie can you used it for both esp01 and nodemcus?
Thanks,
Ken
The files have the same content (all 0xFF), but just differ in size.
I have added the 1M, 2M and 4M version to the dist directory, which will be merged when I add another fix. (see PR: https://github.com/letscontrolit/ESPEasy/pull/1732 )