Wifi transmission gets stuck , undocumented error codes ROM
Posted: Thu Oct 22, 2015 12:52 am
When developing the embedded software on ESP8266, I regularly come into situations where the system stalls and the watchdog kicks in to reset the system.
I get error message : "mac 674" and the system freezes.
Is there a list of all possible error messages coming from this layer ? The "mac nnn" list.
The code is in a : "while(1) ;" loop. at lmacProcessTxSuccess +0x39
See disassembly :
40101904: a2a242 movi a4, 0x2a2
40101907: fa1e01 l32r a0, 40100180 <_UserExceptionVector_1+0x24>
4010190a: 0000c0 callx0 a0
4010190d: ffff06 j 4010190d <lmacProcessTxSuccess+0x39> ---> loop on this instruction.
The stack shows :
3FFFFD70:4010190D CODE lmacProcessTxSuccess +0x39
3FFFFD80:4010190D CODE lmacProcessTxSuccess +0x39
3FFFFDD0:40221E90 CODE ip_output +0x30
3FFFFDF0:40002514 CODE ets_printf +0x48
3FFFFE70:4010431C CODE wDev_ProcessFiq +0x2F0
3FFFFE90:4000050C CODE _xtos_set_exception_handler +0xB8
3FFFFEB0:40000F68 CODE ets_post +0x144
3FFFFEC0:40000F58 CODE ets_post +0x134
3FFFFF80:40102986 CODE ppProcessTxQ +0x66
3FFFFF90:402116B6 CODE ppPeocessRxPktHdr +0x14A
3FFFFFB0:40000E19 CODE ets_run +0x15
3FFFFFC0:40001100 CODE ets_isr_unmask +0x158
3FFFFFD0:40100276 CODE call_user_start_local +0xE
3FFFFFE0:4010000D CODE call_user_start +0x9
3FFFFFF0:4000044C CODE UartDev +0x263C
I get error message : "mac 674" and the system freezes.
Is there a list of all possible error messages coming from this layer ? The "mac nnn" list.
The code is in a : "while(1) ;" loop. at lmacProcessTxSuccess +0x39
See disassembly :
40101904: a2a242 movi a4, 0x2a2
40101907: fa1e01 l32r a0, 40100180 <_UserExceptionVector_1+0x24>
4010190a: 0000c0 callx0 a0
4010190d: ffff06 j 4010190d <lmacProcessTxSuccess+0x39> ---> loop on this instruction.
The stack shows :
3FFFFD70:4010190D CODE lmacProcessTxSuccess +0x39
3FFFFD80:4010190D CODE lmacProcessTxSuccess +0x39
3FFFFDD0:40221E90 CODE ip_output +0x30
3FFFFDF0:40002514 CODE ets_printf +0x48
3FFFFE70:4010431C CODE wDev_ProcessFiq +0x2F0
3FFFFE90:4000050C CODE _xtos_set_exception_handler +0xB8
3FFFFEB0:40000F68 CODE ets_post +0x144
3FFFFEC0:40000F58 CODE ets_post +0x134
3FFFFF80:40102986 CODE ppProcessTxQ +0x66
3FFFFF90:402116B6 CODE ppPeocessRxPktHdr +0x14A
3FFFFFB0:40000E19 CODE ets_run +0x15
3FFFFFC0:40001100 CODE ets_isr_unmask +0x158
3FFFFFD0:40100276 CODE call_user_start_local +0xE
3FFFFFE0:4010000D CODE call_user_start +0x9
3FFFFFF0:4000044C CODE UartDev +0x263C