Bignum limitations on ESP8266 boards
Posted: Sun Apr 14, 2019 4:16 am
Hi,
On the ESP8266 MicroPython prompt when I type:
the board resets itself. This is the output I get on the terminal.
Trying to catch the OSError does not work (board gets reset):
Any help to root cause the problem is much appreciated.
BTW, can anyone confirm if bignums work on the PyBoard?
I am using the latest official firmware esp8266-20190125-v1.10.bin, connected over PuTTY
On the ESP8266 MicroPython prompt when I type:
Code: Select all
>>> 3 ** 5000
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 31016, room 16
tail 8
chksum 0x9d
load 0x3ffe8000, len 1096, room 0
tail 8
chksum 0x13
load 0x3ffe8450, len 824, room 0
tail 8
chksum 0xcd
csum 0xcd
▒▒▒▒o▒r▒▒g|▒
lldl`b▒|{▒$▒n▒▒o▒l`▒▒s▒l▒l
l`▒▒{▒d▒l▒
d`▒▒r▒l
▒▒▒
dl sd▒▒sl▒▒▒c▒▒c|lc▒▒c|▒▒ldc▒▒g▒n▒▒lg▒
▒▒l▒ld▒
▒▒l ▒n▒▒▒▒▒c
l$섇
▒▒▒▒c
d▒b{lsds▒g▒▒▒▒▒oܟ▒▒cpc▒▒▒▒▒▒OSError: [Errno 2] ENOENT
Code: Select all
>>> try:
... print (3**5000)
... except (OSError):
... print ("sorry")
...
BTW, can anyone confirm if bignums work on the PyBoard?
I am using the latest official firmware esp8266-20190125-v1.10.bin, connected over PuTTY