I've successfully used a couple of my .py files to build frozen modules, built the firmware, and programmed a 1M Sonoff R3 8266. After incorporating new magic into my code I re-built the firmware and loaded into the Sonoff (erased first, power cycle, etc.). Now I appear to not have a filesystem or boot.py on the device. rshell connects fine but there are zero files shown via 'ls -la' and I get an error if I try to copy anything to it. I can REPL in but it initially starts in edit mode (I think?) with the '>' prompt. I can get to the >>> prompt by ^b to exiting edit mode, and then help('modules') and see the frozen modules including my new ones. uos.listdir('/') shows nothing. Right after a reboot (^d in REPL) it reports "could not find module _boot.py". I've been researching the best I can but I'm out of ideas. I must have messed up the build somehow? I'm using/used these https://github.com/micropython/micropyt ... ts/esp8266
I also erased and flash an out-of-box new device with the same result. Thanks for any ideas!
Code: Select all
rshell -p /dev/ttyUSB0 -b 115200
Using buffer-size of 32
Connecting to /dev/ttyUSB0 (buffer-size 32)...
Trying to connect to REPL connected
Testing if ubinascii.unhexlify exists ... Y
Retrieving root directories ...
Setting time ... Jun 24, 2020 17:12:14
Evaluating board_name ... pyboard
Retrieving time epoch ... Jan 01, 2000
Welcome to rshell. Use Control-D (or the exit command) to exit rshell.
cp junk /pyboard/junk
timed out or error in transfer to remote: b'F'