Open europrimus opened 5 years ago
Same here.
I get the same message - any help available; I'm not able to use the tool mpy-fuse msg: forcefully breaking the boot.py mpy-fuse --port /dev/ttyUSB0 --baud 115000 --debug --reset /home/nuc8/tmp/esp8266
I had the same issue, after reading the init code it seems that replcontrol.py in def initialize(self)
lacks start = time.time()
before said log - due to which it sends an immediate reset after reset.
After fixing that I was able to load the file correctly. One line change def initialize(self)
below:
def initialize(self):
# break, break, raw mode, reboot
self.io.writebytes(b"\x03\x03\x01\x04")
start = time.time()
while True:
resp = self.io.readall()
if resp.endswith(b"\r\n>"):
break
elif time.time() - start > 3:
start = time.time()
if self.debug:
self.log("Forcefully breaking the boot.py")
self.io.writebytes(b"\x03\x03\x01\x04")
time.sleep(self.delay / 1000.0)
self.io.flushinput()
I can PR it, though I do not know if it's maintained :)
Yeah, kinda sorta still maintained, I just haven't done anything with it in ages. Not all the changes were on PyPI yet so I just updated the package to 0.1.13 which maybe will fix your problem. I think I was always installing from github anyway.
with a pip intall --user, i try several command:
I always have the message Forcefully breaking the boot.py display in infinite loop
my board is an ESP8266wifi D1 mini
i use micropython esp8266-20180511-v1.9.4.bin
is some one have an idea of what append ?