Hi,
I have an IotaWatt and I have been trying to modify the code to increase the sampling rate from 5 samples/sec to 1 sample/sec. After maybe the 12 reflashing of the firmware, the unit now just resets perpetually.
Things I have tried:
- reflash with original GIT hub firmware
- pull battery to reset rtc
- tried a powered USB hub (I checked the forums for this, really?! a power problem causes a WDT reset? In desperation I tried it anyway.
- tried to format SDCard but it is locked.
Anyone know how to recover this? Is this not a firmware issue and is it really a hardware issue? See below for the serial ouput from the device.
Serial Initialized
No clock yet: SPI started.
No clock yet: SD initialized.
No clock yet: Real Time Clock not initialized.
No clock yet: Version: 02_02_27
No clock yet: Reset reason: Software Watchdog
No clock yet: Trace: 130,131,132,133,134,135,136,137,138,139,11,90,12,13,14,15,30,16,17,18,11,90,91,92,12,13,14,15,25893,11074,9413,1974
No clock yet: ESP8266 ChipID:1852989
No clock yet: device name: IotaWatt, version: 3
No clock yet: Local time zone: -5
No clock yet: MDNS responder started
No clock yet: You can now connect to http://IotaWatt.local
No clock yet: HTTP server started
No clock yet: dataLog: service started.
Soft WDT reset
ctx: cont
sp: 3fff3d60 end: 3fff4070 offset: 01b0
stack>>>
3fff3f10: 3fff72b4 00000100 3fff5d34 4020fe2c
3fff3f20: 00000100 00000000 00009146 402107ec
3fff3f30: 3fff0b80 00000008 3fff5d34 5a3c0771
3fff3f40: 5a48186d 3fff72b4 3fff2ac0 4020f004
3fff3f50: 3fff4a08 00000000 3fff3fb0 40213f41
3fff3f60: 3fff4a08 3fff2ac0 3fff72b4 40213ffa
3fff3f70: 5a481870 0000410c 00000000 40214515
3fff3f80: 3ffeacf8 00000000 000003e8 00000000
3fff3f90: 5a48186d 3fff72b4 3fff2ac0 40214184
3fff3fa0: 0000410c 00000000 00000000 00000000
3fff3fb0: 00000005 00000000 00000000 40100688
3fff3fc0: 00000548 00000000 3fff2cc8 3fff72b4
3fff3fd0: 00000548 3fff2ac0 3fff2cc8 40215f5f
3fff3fe0: 00000000 00000000 00000000 40202064
3fff3ff0: 00000001 3fff2f60 3fff3050 3fff2f60
3fff4000: 3fff27bc 3ffe8550 40202eb8 3fff3050
3fff4010: 00000000 00000000 83aa7e80 3ffe8550
3fff4020: 3fff27b8 3fff2f60 3fff6634 4021522f
3fff4030: 0000000f 00000000 feefeffe feefeffe
3fff4040: 00000000 00000000 00000001 3fff3040
3fff4050: 3fffdad0 00000000 3fff3039 40202f04
3fff4060: feefeffe feefeffe 3fff3050 402042a4
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v00000000
~ld
** Restart **
Serial Initialized
No clock yet: SPI started.
No clock yet: SD initialized.
No clock yet: Real Time Clock not initialized.
No clock yet: Version: 02_02_27
No clock yet: Reset reason: Software Watchdog
No clock yet: Trace: 130,131,132,133,134,135,136,137,138,139,11,90,12,13,14,15,30,16,17,18,11,90,91,92,12,13,14,15,25893,11074,9413,1974
No clock yet: ESP8266 ChipID:1852989
No clock yet: device name: IotaWatt, version: 3
No clock yet: Local time zone: -5
No clock yet: MDNS responder started
No clock yet: You can now connect to http://IotaWatt.local
No clock yet: HTTP server started