Open jshiweb opened 7 years ago
I have the exact same issue. Tried with Huzzah breakout board as well as a generic ESP8266-12E board. It also happens when using the simplesample_mqtt sample from the azure-iot-arduino-protocol-mqtt library. Both boards have been working fine with io.adafruit.com and flash other sketches without issues. I've tried various power options (18650s, 1s RC Lipos, switching supplies etc.) as these modules are notorious for instability during high current spikes but nothing helped.
Edit - Looks like the exception is thrown by this function call:
IoTHubClient_LL_CreateFromConnectionString(connectionString, MQTT_Protocol)
I used the device connection string as copied from portal, wrapped in double quotes. The placeholder syntax is a little ambiguous so I even tried it with the copied string wrapped in square brackets, and in turn inside double-quotes. No luck.
Any luck with this in the meantime ?
This happened while using Adafruit's "HUZZAH ESP8266 Breakout" board. I eventually gave up and ordered their "Feather HUZZAH with ESP8266 WiFi" which worked first time. The major difference between the boards is that you need a separate Serial-USB adapter with the breakout board, but this is included with the Feather board. If anybody can explain why this sample only works with the Feather board I would be very grateful.
I have the same problem with a "Feather HUZZAH with ESP8266"
Same issue with the Sparkfun ESP8266 Thing Dev.
I turned of logging. Commented out Serial.setDebugOutput(true) in initSerial(). Then it worked for me.
I am getting the follow error when trying to connect to the IoT Hub `------------------------------------ Fatal exception 3(LoadStoreErrorCause): epc1=0x4000bf64, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40252329, depc=0x00000000
Exception (3): epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x40252329 depc=0x00000000
ctx: cont sp: 3fff3930 end: 3fff3c80 offset: 01a0
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset `