I am currently trying to build a connected e-ink display based on the ESP12 and the design found on http://spritesmods.com/?art=einkdisplay. I've managed to show bitmaps from the file system on the screen, but when I connect to a server, it doesn't work due to a "No heap available, failed to malloc 1592" error. I looked this up and found http://bbs.espressif.com/viewtopic.php?t=570, but the fix does not work in this case. Is there any known bug that would cause this? I get the error even with the original code from spritesmods, so it appears to me as if this might be an issue somewhere with the SDK. Below, I have included the output I get when running from a reset (not a power up).
Code: Select all
mode : sta(5c:cf:7f:f8:45:d1)
add if0
scandone
reconnect
scandone
add 0
aid 1
pm open phy_2,type:2 0 0
cnt
connected with Jerre, channel 1
dhcp client start...
ip:192.168.43.189,mask:255.255.255.0,gw:192.168.43.1
httpclient: found ip. Connecting to host meuk.spritesserver.nl port 80 path /espbm.php
Connected.
httpclient: GET /espbm.php HTTP/1.0
Host: meuk.spritesserver.nl
Connection: close
x-battery-mv: 3617
x-mac: 5c:cf:7f:f8:45:d1
No heap available, failed to malloc 1592
No heap available, failed to malloc 1592
No heap available, failed to malloc 1592
No heap available, failed to malloc 1592
No heap available, failed to malloc 1592
No heap available, failed to malloc 1592
Wdt. This takes too long. Go to sleep.
del if0
usl
sul 3 0
rm mismatch
pm close 7 0 0/17964040
No heap available, failed to malloc 440
deep sleep 60s
Kind regards,
Jeroen