Guru Meditation Error: Core 1 panic'ed (StoreProhibited). Exception was unhandled.re 1 register dump:
PC : 0x400897e8 PS : 0x00060130 A0 : 0x800db65b A1 : 0x3ffcb240
A2 : 0x00000148 A3 : 0x3ffcb2bc A4 : 0x00000003 A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000000 A9 : 0x00000148
A10 : 0x00000030 A11 : 0x00000000 A12 : 0x00000001 A13 : 0x3ffc4544
A14 : 0x00000000 A15 : 0x3ffd809c SAR : 0x00000017 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000148 LBEG : 0x40089d19 LEND : 0x40089d29 LCOUNT : 0xffffffff
Backtrace: 0x400897e5:0x3ffcb240 0x400db658:0x3ffcb260 0x400db762:0x3ffcb280 0x400d2f9e:0x3ffcb2a0 0x400d327b:0x3ffcb2f0 0x400d5129:0x3ffcb390 0x400dcb75:0x3ffcb3b0
arduino 沒有直觀的調(diào)試工具,但一起發(fā)布的esp32庫(kù)帶有簡(jiǎn)單調(diào)試工具,可以定位源碼
第一步。找到直接電腦上安裝的目錄,找到工具位置
C:UsersAdministrator>cd C:UsersAdministratorAppDataLocalArduino15packagesesp32toolsriscv32-esp-elf-gccesp-2021r2-patch5-8.4.0bin
第二步:C:UsersAdministratorAppDataLocalArduino15packagesesp32toolsxtensa-esp32s3-elf-gccesp-2021r2-patch5-8.4.0bin>xtensa-esp32s3-elf-addr2line -pfiaC -e D:temparduinosketches6ED08B49E4940DB8904DF69A9D157172GPS_SIM.ino.elf
0x400897e8
輸入完整后回車,就回給出源碼中的位置。命令格式是 xtensa-esp32s3-elf-addr2line -pfiaC -e build/PROJECT.elf ADDRESS
Backtrace 里的地址就是,也可以是PC的,反正多試幾個(gè)地址。
審核編輯 黃宇
-
調(diào)試
+關(guān)注
關(guān)注
7文章
589瀏覽量
34083 -
源碼
+關(guān)注
關(guān)注
8文章
653瀏覽量
29517 -
ESP32
+關(guān)注
關(guān)注
18文章
980瀏覽量
17569
發(fā)布評(píng)論請(qǐng)先 登錄
相關(guān)推薦
樂鑫ESP32調(diào)試Wi-Fi常用調(diào)試API
![樂鑫<b class='flag-5'>ESP32</b><b class='flag-5'>調(diào)試</b>Wi-Fi常用<b class='flag-5'>調(diào)試</b>API](https://file.elecfans.com/web2/M00/45/DA/poYBAGKPGziABtawAAAYlXODTds073.jpg)
ESP32 JLink調(diào)試報(bào)錯(cuò)如何解決?
使用藍(lán)牙5加密狗,ESP32在與PC配對(duì)后直接崩潰了怎么解決?
ESP32模組的主要特性
在Zephyr v2.6.0下如何搭建esp32的編譯調(diào)試環(huán)境?
esp32和arduino的區(qū)別,esp32能否替代arduino
淺談Zephyr ESP32 wifi如何使用
嵌入式Linux應(yīng)用崩潰調(diào)試-難以追蹤的棧信息
![嵌入式Linux應(yīng)用<b class='flag-5'>崩潰</b><b class='flag-5'>調(diào)試</b>-難以追蹤的棧<b class='flag-5'>信息</b>](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
ESP32 開發(fā)之旅① 走進(jìn)ESP32的世界 安裝開發(fā)環(huán)境
![<b class='flag-5'>ESP32</b> 開發(fā)之旅① 走進(jìn)<b class='flag-5'>ESP32</b>的世界 安裝開發(fā)環(huán)境](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
ESP32 AUDIO OV2640攝像頭 音頻調(diào)試日記
![<b class='flag-5'>ESP32</b> AUDIO OV2640攝像頭 音頻<b class='flag-5'>調(diào)試</b>日記](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
使用ESP32實(shí)現(xiàn)UDP通信的方法
ESP32 PWM驅(qū)動(dòng)電機(jī)
![<b class='flag-5'>ESP32</b> PWM驅(qū)動(dòng)電機(jī)](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
ESP32 UWB室內(nèi)定位測(cè)試開源項(xiàng)目
![<b class='flag-5'>ESP32</b> UWB室內(nèi)<b class='flag-5'>定位</b>測(cè)試開源項(xiàng)目](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
ESP32到ESP32通過Internet進(jìn)行通信
![<b class='flag-5'>ESP32</b><b class='flag-5'>到</b><b class='flag-5'>ESP32</b>通過Internet進(jìn)行通信](https://file.elecfans.com/web1/M00/D9/4E/pIYBAF_1ac2Ac0EEAABDkS1IP1s689.png)
【AI技術(shù)支持】ESP32無(wú)線Wi-Fi常用調(diào)試API
![【AI技術(shù)支持】<b class='flag-5'>ESP32</b>無(wú)線Wi-Fi常用<b class='flag-5'>調(diào)試</b>API](https://file.elecfans.com/web2/M00/45/DA/poYBAGKPGziABtawAAAYlXODTds073.jpg)
評(píng)論