I am being depressed after weeks of endeavor to fix the annoying wdt reset from the SDK, function of lmacProcessTxSuccess, traced to the assembly codes as below:
4010xxxx: fe5221 l32r a2, 4010xxxx <lmacIsIdle+0x18>
4010xxxx: fe5331 l32r a3, 4010xxxx <lmacIsIdle+0x1c>
4010xxxx: aca242 movi a4, 0x2ac
4010xxxx: eeec01 l32r a0, 40100180 # this is print
4010xxxx: 0000c0 callx0 a0
4010WXYZ: ffff06 j 4010WXYZ <lmacProcessTxSuccess+0x60>
In above portion of codes, it prints via serial something like "mac xxx" (xxx is a number indicate lines in the sdk source possibly, in this portion of codes, or this version of SDK, xxx=684, i.e. 0x2ac), and the enter a endless loop: "4010WXYZ: ffff06 j 4010WXYZ <lmacProcessTxSuccess+0x60>" which triggers the wdt reset.
We tried nearly all kinds of SDK by Espressif. Although the generated codes might have different address of layout, but we encountered the same wdt reset, always triggered from <lmacProcessTxSuccess+0x60>.
<lmacProcessTxSuccess> is called by <wDev_ProcessFiq> which seems to be the timer handler of the esp8266 system.
Who could help me out of the annoying trouble? Although it comes out in a random manner, but DOES come not less frequently.