I tried rolling back to last known working git revision and it still does not import files.
I had two WeMos D1 minis running v1.8.1 and v1.8.9 and after upgrading to v1.8.52 (and downgrading and upgrading) they all get the same error.
Seems to be software related.
Code: Select all
Traceback (most recent call last):
File "_boot", line 1
SyntaxError: invalid syntax
could not open file 'boot.py' for reading
could not open file 'main.py' for reading
Updated to the latest esp-open-sdk, including submodules
Built on a case sensitive HFS filesystem (mounted .dmg) in Standalone=Y mode
make receives error:
> Installing pass-2 core C compiler
> no member named 'ptrdiff_t' in the global namespace
Applied comment fix: https://github.com/pfalcon/esp-open-sdk ... -217081166
Running make again completes successfully.
xtensa-lx106 bin dir added to $PATH
esp-open-sdk is using ESP8266_NONOS_SDK_V1.5.2_16_01_29.zip
Update micropython to latest version, including submodules
Code: Select all
make clean
make axtls
make
esptool.py --port /dev/tty.wchusbserial1420 erase_flash
esptool.py --baud 230400 --port /dev/tty.wchusbserial1420 write_flash -fm dio -fs 32m -ff 40m --verify 0x00000 build/firmware-combined.bin
(sometimes verify fails and another write_flash fixes it)
Code: Select all
Verifying 0x774bc (488636) bytes @ 0x00000000 in flash against build/firmware-combined.bin...
A fatal error occurred: Invalid end of packet (sflash read)
Hardware reset button pressed.
Code: Select all
screen /dev/tty.wchusbserial1420 115200
(some characters)
don't use rtc mem data
(some characters)
Traceback (most recent call last):
File "_boot", line 1
SyntaxError: invalid syntax
could not open file 'boot.py' for reading
could not open file 'main.py' for reading
#4 ets_task(401002fc, 3, 3fff5180, 4)
MicroPython v1.8-9-gdf2b1a4 on 2016-05-12; ESP module with ESP8266
Type "help()" for more information.
Code: Select all
PYB: soft reboot
Traceback (most recent call last):
File "_boot", line 1
SyntaxError: invalid syntax
could not open file 'boot.py' for reading
could not open file 'main.py' for reading
#4 ets_task(401002fc, 3, 3fff6190, 4)
MicroPython v1.8-52-gbc04dc2 on 2016-05-12; ESP module with ESP8266
Any clues?