Chat freely about the open source Javascript projects for ESP8266

User avatar
By kolban
#30656 @Erni,
Ive had no problems flashing my ESP8266s with the binaries at the same time. In these early days, we are still assuming that the folks who are playing with this code have some knowledge of ESP8266s and may want to use the flash tools of their own choices. Personally, I use "esptool_ck" for flashing ... however, the other week I tried to use "nodemcu_flasher" and found that there was a bug in it. If I asked it to load two flash binaries, it only did one and ignored the other. I raised this as an issue with the "nodemcu_flasher" team and they agreed, made a fix and published a new version ... which meant that I could now flash in one go with that tool. It might be that is what you heard about?
User avatar
By Erni
#30665 @kolban

You're right, I just tried to flash the binaries at the same time, no problems.
I don't remember where I read about it, it might be the Nodemcu flasher.
Sorry for the confusion

Btw I use this flasher https://docs.google.com/file/d/0B3dUKfqzZnlwVGc1YnFyUjgxelE/edit?pli=1
User avatar
By Markus Gritsch
#31447 Hi just uploaded the current release (5 hours old) and tried the LED flash example. It worked, but after the LED flashed for a few minutes, the board resetted with an Out of Memory ERROR:

ERROR: Out of Memory!
WARNING: Unable to create string as not enough memory
WARNING: Unable to create string as not enough memory
ERROR: Ctrl-C while processing interval - removing it.
Execution Interrupted during event processing.
WARNING: Truncating string as not enough memory
WARNING: Unable to create string as not enough memory
Execution Interrupted
ASSERT(jsvHasChildren(obj)) FAILED AT src/jsvar.c:2101
#1[r1,l2] Object {
#2[r1,l2] Name String [1 blocks] "" #3[r1,l2] Object {
#6[r1,l2] Name String [2 blocks] "" #8[r2,l1] Array(2) [ ]
#9[r1,l2] Name String [2 blocks] "" #11[r2,l1] Array(0) [ ]
#14[r1,l2] Name String [1 blocks] "" #12[r1,l2] String [2 blocks] "\x04\x00\x00\x00\x00ÿÿÿ"
#24[r1,l2] Name String [2 blocks] "" #48[r1,l1] Array(13) [ ]
}
#15[r1,l2] Name String [2 blocks] "" undefined
#28[r1,l2] Name String [3 blocks] "" #31[r2,l1] NativeFunction 0x4022e790 (9) {
#32[r1,l2] Name String [2 blocks] "" #34[r1,l1] Object {
#35[r1,l2] Name String [2 blocks] "" #31[r2,l2] ...

}
}
#347[r1,l2] Name String [2 blocks] "" #362[r1,l1] Pin 2
#352[r1,l2] Name String [1 blocks] "" #345[r2,l1] NativeFunction 0x402340e0 (9) {
#354[r1,l2] Name String [2 blocks] "" #356[r1,l1] Object {
#357[r1,l2] Name String [2 blocks] "" #345[r2,l2] ...

}
}
#360[r1,l2] Name String [2 blocks] "" #375[r1,l1] Bool false
}

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 29896, room 16
tail 8
chksum 0xf3
load 0x3ffe8000, len 2108, room 0
tail 12
chksum 0x71
ho 0 tail 12 room 4
load 0x3ffe8840, len 28936, room 12
tail 12
chksum 0x27
csum 0x27
nîsys=67773 rtc=48868987
don't use rtc mem data
User avatar
By kolban
#31458 Howdy Markus,
Most support for Espruino on ESP8266 is happening via live chat at:

https://gitter.im/espruino/Espruino

I'd invite you to drop in and say hi there. I'm running Blinky now and so far no memory crashes ... so I'd like to see if we can't see what might find ... we have a number of diagnostic tricks available.