Fatal exception (3) [nodemcu-firmware](mingw)

yssz
Posts: 3
Joined: Sun May 08, 2016 7:24 pm

Fatal exception (3) [nodemcu-firmware](mingw)

Postby yssz » Sun Sep 11, 2016 12:46 am

使用CHERTS的esp8266-devkit(mingw,gcc5.2.0)编译了nodemcu-firmware(commit 8e48483c825dea9c12b37a4db3d034fccbcba0bf),
刷进去后就一直重启。
为什么?
如何排除故障?

Code: Select all

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 27688, room 16
tail 8
chksum 0x15
load 0x3ffe8000, len 2192, room 0
tail 0
chksum 0x4d
load 0x3ffe8890, len 8, room 8
tail 0
chksum 0x56
csum 0x56
Fatal exception (3):
epc1=0x4023eaf1, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40260f74, depc=0x00000000
Fatal exception (3):
epc1=0x4023eaf1, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40260f74, depc=0x00000000
Fatal exception (3):
epc1=0x4023eaf1, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40260f74, depc=0x00000000
Fatal exception (3):
epc1=0x4023eaf1, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40260f74, depc=0x00000000
Fatal exception (3):
epc1=0x4023eaf1, epc2=0x00000000, epc3=0x00000000, excvaddr=0x40260f74, depc=0x00000000

Fatal exception (3) 是什么?
esp8266_reset_causes_and_common_fatal_exception_causes_cn.pdf
并未提及。

Code: Select all

4023eadc <user_rf_cal_sector_set>:
 * Parameters   : none
 * Returns      : rf cal sector
*******************************************************************************/
uint32
user_rf_cal_sector_set(void)
{
4023eadc:   f0c112           addi   a1, a1, -16
4023eadf:   3109         s32i.n   a0, a1, 12
    enum flash_size_map size_map = system_get_flash_size_map();
4023eae1:   d28285           call0   4021130c <system_get_flash_size_map>
4023eae4:   023d         mov.n   a3, a2
4023eae6:   020c         movi.n   a2, 0
4023eae8:   0873f6           bgeui   a3, 7, 4023eaf4 <user_rf_cal_sector_set+0x18>
4023eaeb:   fffb21           l32r   a2, 4023ead8 <user_rf_pre_init+0x10>
4023eaee:   903320           addx2   a3, a3, a2
4023eaf1:   001322           l16ui   a2, a3, 0
            rf_cal_sec = 0;
            break;
    }

    return rf_cal_sec;
}
4023eaf4:   3108         l32i.n   a0, a1, 12
4023eaf6:   10c112           addi   a1, a1, 16
4023eaf9:   f00d         ret.n
4023eafb:   ff             .byte 0xff
4023eafc:   23e9d4           excw
4023eaff:   c20040           excw
4023eb02:   080001           l32r   a0, 40200b04 <_lit4_end+0xf9edc>
4023eb05:   23ea         add.n   a2, a3, a14
4023eb07:   fd2140           excw

4023eb08 <user_init>:
    rtctime_late_startup ();

Who is online

Users browsing this forum: No registered users and 3 guests