Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memoryerror using generic esp8266 micropython binary? #50

Open
dony71 opened this issue Sep 30, 2021 · 0 comments
Open

memoryerror using generic esp8266 micropython binary? #50

dony71 opened this issue Sep 30, 2021 · 0 comments

Comments

@dony71
Copy link

dony71 commented Sep 30, 2021

I download generic esp8266 1M micropython binary from
https://micropython.org/download/esp8266/
and after that copy all files under src directory from this git
But after esp8266 reboot, repl shows memory error and reboot
Anything special so that I cannot use generic micropython binary?

load 0x40100000, len 30720, room 16
tail 0
chksum 0x68
load 0x3ffe8000, len 1012, room 8
tail 12
chksum 0x1c
ho 0 tail 12 room 4
load 0x3ffe8400, len 1080, room 12
tail 12
chksum 0x78
csum 0x78
▒▒▒▒8▒n▒▒r▒▒▒n▒b
▒l▒▒l`▒Ē▒▒▒▒b▒r▒n▒#▒8▒▒
r▒▒▒▒▒8▒▒▒
▒
r▒▒▒▒▒8▒▒▒
▒
r▒▒▒▒I8▒
▒▒▒
▒lrr▒9l▒Ğ▒▒
▒▒b▒▒b▒$bĒ▒▒b|▒▒ƌ▒
▒l8~▒n▒n▒▒boot.py
2 boot.py wait...
1 boot.py wait...
sys.path=['.', '', '/lib', '/']
boot.py END
2 main.py wait...
1 main.py wait...
Setup WiFi interfaces
Still connected: ('192.168.100.88', '255.255.255.0', '192.168.100.1', '10.2.1.225')
start "soft" OTA
Wait 15 sec for soft-OTA connection on port 8267
2 Reset because: soft-OTA unknown error
1 Reset because: soft-OTA unknown error

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

load 0x40100000, len 30720, room 16
tail 0
chksum 0x68
load 0x3ffe8000, len 1012, room 8
tail 12
chksum 0x1c
ho 0 tail 12 room 4
load 0x3ffe8400, len 1080, room 12
tail 12
chksum 0x78
csum 0x78
▒▒▒▒8▒n▒▒>r▒▒▒n▒b
▒l▒▒l`▒Ē▒▒▒▒b▒r▒n▒#▒8▒▒
r▒▒▒▒▒8▒▒▒
▒
r▒▒▒▒I8▒▒▒
▒
r▒▒▒▒▒8▒
▒▒▒
▒lrr▒▒l▒Ğ▒▒
▒▒b▒▒b▒$bĒ▒▒b|▒▒ƌ▒
▒l8~▒n▒n▒▒boot.py
2 boot.py wait...
1 boot.py wait...
sys.path=['.', '', '/lib', '/']
boot.py END
2 main.py wait...
1 main.py wait...
Setup WiFi interfaces
Still connected: ('192.168.100.88', '255.255.255.0', '192.168.100.1', '10.2.1.225')
start webserver
restore py config _config_dim_level
Import error: no module named '_config_dim_level'
Web server started...
Still connected: ('192.168.100.88', '255.255.255.0', '192.168.100.1', '10.2.1.225')
Synchronize time from 'pool.ntp.org' ...
restore py config _config_timezone
Import error: no module named '_config_timezone'
old UTC.....: 2021-09-30T01:12:52+00:00
Error syncing time: [Errno 110] ETIMEDOUT, retry in 0 sec.
restore py config _config_timezone
Import error: no module named '_config_timezone'
new UTC.....: 2021-09-30T01:12:09+00:00
set from..: (2021, 9, 30, 3, 1, 12, 9, 486)
restore py config _config_timezone
Import error: no module named '_config_timezone'
set to....: (2021, 9, 30, 3, 1, 12, 9, 486)
restore py config _config_timezone
Import error: no module named '_config_timezone'
new local...: 2021-09-30T01:12:09+00:00
Update power timer: 686279560
Task exception wasn't retrieved
future: <Task> coro= <generator object 'periodical_tasks' at 3fff2ec0>
Traceback (most recent call last):
  File "uasyncio/core.py", line 1, in run_until_complete
  File "./webswitch.py", line 142, in periodical_tasks
  File "./tasks.py", line 19, in periodical_tasks
  File "./power_timer.py", line 52, in update_power_timer
MemoryError: memory a
Watchdog reset reason: Watchdog feed timeout
Reset reason: 'Watchdog feed timeout'
Reset device: 'Watchdog feed timeout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant