@mfalkvidd
Thank you, i will try this and post results.
D_dude
@D_dude
Best posts made by D_dude
-
RE: ESP8266 WiFi gateway port for MySensors
Latest posts made by D_dude
-
RE: ESP8266 WiFi gateway port for MySensors
@Yveaux said:
@D_dude flush the serial output after each print.
The ESP will output the serial data in the background while your programm continues and then it crashes.Finally was able to get everything working.
Ordered a fresh nRF from Itead and started from scratch. everything worked fine first time. seems like the nRF from ebay was causing issues. -
RE: ESP8266 WiFi gateway port for MySensors
on some basic debugging, seems like my sketch is crashing in setupGateway.
infact even adding a print statement, it only prints first 3 chars.
My question is setupGateway takes output as an arg, which in turn is a function, should there be some parameters for this function?
also "Serial.print(serialBuffer);" does not print anything i added prints above and before and they don't show up either.va_end (args); Serial.print("A1"); Serial.print(serialBuffer); Serial.print("A2");
any suggestions?
-
RE: ESP8266 WiFi gateway port for MySensors
@mfalkvidd
tried erasing the flash using the method suggested but doesn't seem to be working for me. same result.
Thanks for the tip though. -
RE: ESP8266 WiFi gateway port for MySensors
@mfalkvidd
Thank you, i will try this and post results. -
RE: ESP8266 WiFi gateway port for MySensors
@Yveaux
thank you for your assistance. I will try adding some debug in the code on the weekend to see what exactly is not running and possibly causing crash. -
RE: ESP8266 WiFi gateway port for MySensors
@Yveaux
Thank you for the response.As for the cell phone charger, I'm using a tablet charger Specifically original HP stream 7 charger, and it is able to provide more that 1amp. I Will try to use other charger/power supply to see if that helps.
PS: I reloaded the gateway sketch and the error went back to boot mode (3,7) even with cap present.
-
RE: ESP8266 WiFi gateway port for MySensors
update,
the error changed to "rst cause:4, boot mode:(3,6)" once i added a capacitor. -
RE: ESP8266 WiFi gateway port for MySensors
Hi @Yveaux
could you please assist in the error.
ESP8266 MySensors Gateway Connecting to HoUsEoFcLoWnS scandone f 0, scandone .add 0 aid 5 pm open phy_2,type:2 0 0 cnt connected with HoUsEoFcLoWnS, channel 11 dhcp client start... .ip:192.168.0.23,mask:255.255.255.0,gw:192.168.0.1 .Connected! IP: 192.168.0.23 ets Jan 8 2013,rst cause:4, boot mode:(3,7) wdt reset load 0x4010f000, len 1264, room 16 tail 0 chksum 0x42 csum 0x42 ~ld
The gateway just keeps looping and connecting.
I'm using a NodeMCU with a NRF ( both from ebay),
Using the Regular library, and default sketch with SSID/pass updated.i tried checking the error "rst cause:4, boot mode:(3,7)" but wasn't able to find something.
I even tried to power it using a USB cellphone charger, but i was unable to telnet so that rules out the power issue
Thanks in advance