Advertisement
Guest User

esp32 bluetooth init panic

a guest
Mar 8th, 2017
567
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.89 KB | None | 0 0
  1. working - without bt with HTTPS client with MQTTclient task
  2. 1> ------------------- Memory utilization report -------------------
  3. 1> Used DATA_FLASH: 279KB out of 8192KB (3%) [-31K]
  4. 1> Used INSTR_FLASH: 754KB out of 3264KB (23%) [-130K]
  5. 1> Used INSTR_RAM: 114KB out of 128KB (89%) [-124]
  6. 1> Used DATA_RAM: 98KB out of 320KB (30%) [-3248]
  7.  
  8. working - without MQTTclient task with HTTPS client with bt
  9. 1> ------------------- Memory utilization report -------------------
  10. 1> Used DATA_FLASH: 304KB out of 8192KB (3%)
  11. 1> Used INSTR_FLASH: 843KB out of 3264KB (25%)
  12. 1> Used INSTR_RAM: 114KB out of 128KB (89%)
  13. 1> Used DATA_RAM: 101KB out of 320KB (31%)
  14.  
  15. working - without HTTPS client with bt with MQTTclient task
  16. 1> ------------------- Memory utilization report -------------------
  17. 1> Used DATA_FLASH: 310KB out of 8192KB (3%) [-20]
  18. 1> Used INSTR_FLASH: 882KB out of 3264KB (27%) [-2916]
  19. 1> Used INSTR_RAM: 114KB out of 128KB (89%)
  20. 1> Used DATA_RAM: 101KB out of 320KB (31%) [-16]
  21.  
  22. bt init panic - with HTTPS client with bt with MQTTclient task
  23. 1> ------------------- Memory utilization report -------------------
  24. 1> Used DATA_FLASH: 310KB out of 8192KB (3%) [+6184]
  25. 1> Used INSTR_FLASH: 885KB out of 3264KB (27%) [+41K]
  26. 1> Used INSTR_RAM: 114KB out of 128KB (89%)
  27. 1> Used DATA_RAM: 101KB out of 320KB (31%) [+48]
  28.  
  29. Errors and warnings:
  30. E (2596) phy_init: load_cal_data_from_nvs_handle: failed to get cal_data(4354)
  31. W (2693) cpu_start: failed to load RF calibration data, falling back to full calibration
  32.  
  33. GDB Stub backtrace:
  34. (gdb) bt
  35. #0 0x40190840 in config_lc_lmppdu_funcs_reset ()
  36.  
  37. 0x40118977 is in bt_controller_task (C:/SysGCC/esp32/esp32-bsp/esp-idf/components/bt/bt.c:124).
  38. 119 };
  39. 120
  40. 121 static void bt_controller_task(void *pvParam)
  41. 122 {
  42. 123 btdm_osi_funcs_register(&osi_funcs);
  43. 124 btdm_controller_init();
  44. 125 }
  45. 126
  46. 127 void bt_controller_init()
  47. 128 {
  48. (gdb)
  49.  
  50. Debug Log 1:
  51. ets Jun 8 2016 00:22:57
  52.  
  53. rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  54. configsip: 0, SPIWP:0x00
  55. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  56. mode:DIO, clock div:2
  57. load:0x3ffc0008,len:0
  58. load:0x3ffc0008,len:1964
  59. load:0x40078000,len:3648
  60. ho 0 tail 12 room 4
  61. load:0x40080000,len:256
  62. entry 0x40080034
  63. I (1472) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
  64. I (1473) heap_alloc_caps: At 3FFD95FC len 00006A04 (26 KiB): DRAM
  65. I (1477) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAM
  66. I (1488) heap_alloc_caps: At 40078000 len 00008000 (32 KiB): IRAM
  67. I (1498) heap_alloc_caps: At 4009CBD8 len 00003428 (13 KiB): IRAM
  68. I (1508) cpu_start: Pro cpu up.
  69. I (1514) cpu_start: Single core mode
  70. I (1520) cpu_start: Pro cpu start user code
  71. D (1551) intr_alloc: Connected src 56 to int 2 (cpu 0)
  72. D (1554) BACServices: ID: 1
  73. D (1560) WiFiClientSecure: ID: 1
  74. D (1561) WiFiClientSecure: ID: 2
  75. D (1592) nvs: nvs_flash_init_custom start=336 count=64
  76. D (2505) phy_init: loading PHY init data from application binary
  77. D (2506) nvs: nvs_open phy 0
  78. D (2507) nvs: nvs_get cal_version 4
  79. D (2521) nvs: nvs_get_str_or_blob cal_mac
  80. D (2559) nvs: nvs_get_str_or_blob cal_data
  81. E (2596) phy_init: load_cal_data_from_nvs_handle: failed to get cal_data(4354)
  82. D (2668) nvs: nvs_close 1
  83. W (2693) cpu_start: failed to load RF calibration data, falling back to full calibration
  84. I (4408) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 2
  85. D (4408) nvs: nvs_open phy 1
  86. D (4409) nvs: nvs_set cal_version 4 258
  87. D (5481) nvs: nvs_set_blob cal_mac 6
  88. D (5485) nvs: nvs_set_blob cal_data 1904
  89. D (5531) nvs: nvs_close 2
  90. I (5532) cpu_start: Starting scheduler on PRO CPU.
  91. D (5533) OpenSSLAzDuino: btinit, Heap free: 107692
  92.  
  93. BTDM CONTROLLER VERSION: 010101
  94. btip start
  95. copy .data from 4000d890 to 3ffae6e0, len 00001830
  96. set .bss 0x0 from 3ffb8000 to 3ffbff70, len 00007f70
  97. BTDM ROM VERSION 0101
  98. BD_ADDR: 24:0A:C4:00:8D:8A
  99. Guru Meditation Error of type IllegalInstruction occurred on core 0 at pc=40190840. Setting bp and returning..
  100. Register dump:
  101. PC : 0x40190840 PS : 0x00060130 A0 : 0x800823ba A1 : 0x3ffdeb10
  102. A2 : 0x0000001b A3 : 0x0000001b A4 : 0x00000024 A5 : 0xffffffff
  103. A6 : 0x00000000 A7 : 0xffffffff A8 : 0x8017d6a8 A9 : 0x3ffdeaf0
  104. A10 : 0x00000000 A11 : 0x3ffdeaa2 A12 : 0x3ffdea4f A13 : 0x00000041
  105. A14 : 0x00000000 A15 : 0x3ffdea53 SAR : 0x00000005 EXCCAUSE: 0x00000000
  106. EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
  107.  
  108. Backtrace: 0x40190840:0x3ffdeb10 0x400823ba:0x3ffdeb30 0x400823fd:0x3ffdeb60 0x4008249d:0x3ffdeb80 0x40118977:0x3ffdeba0
  109. ets Jun 8 2016 00:22:57
  110.  
  111. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  112. ets Jun 8 2016 00:22:57
  113.  
  114. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  115. configsip: 0, SPIWP:0x00
  116. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  117. mode:DIO, clock div:2
  118. load:0x3ffc0008,len:0
  119. load:0x3ffc0008,len:1964
  120. load:0x40078000,len:3648
  121. ho 0 tail 12 room 4
  122. load:0x40080000,len:256
  123. entry 0x40080034
  124. E (1407) esp_image: invalid segment length 0xffffffff
  125. E (1407) boot: Failed to verify app image @ 0x10000 (8194)
  126. user code done
  127.  
  128. Debug Log 2:
  129. ets Jun 8 2016 00:22:57
  130.  
  131. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  132. ets Jun 8 2016 00:22:57
  133.  
  134. rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  135. configsip: 0, SPIWP:0x00
  136. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  137. mode:DIO, clock div:2
  138. load:0x3ffc0008,len:0
  139. load:0x3ffc0008,len:1964
  140. load:0x40078000,len:3648
  141. ho 0 tail 12 room 4
  142. load:0x40080000,len:256
  143. entry 0x40080034
  144. ets Jun 8 2016 00:22:57
  145.  
  146. rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  147. configsip: 0, SPIWP:0x00
  148. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  149. mode:DIO, clock div:2
  150. load:0x3ffc0008,len:0
  151. load:0x3ffc0008,len:1964
  152. load:0x40078000,len:3648
  153. ho 0 tail 12 room 4
  154. load:0x40080000,len:256
  155. entry 0x40080034
  156. I (1472) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
  157. I (1473) heap_alloc_caps: At 3FFD95FC len 00006A04 (26 KiB): DRAM
  158. I (1477) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAM
  159. I (1488) heap_alloc_caps: At 40078000 len 00008000 (32 KiB): IRAM
  160. I (1498) heap_alloc_caps: At 4009CBD8 len 00003428 (13 KiB): IRAM
  161. I (1508) cpu_start: Pro cpu up.
  162. I (1514) cpu_start: Single core mode
  163. I (1520) cpu_start: Pro cpu start user code
  164. D (1551) intr_alloc: Connected src 56 to int 2 (cpu 0)
  165. D (1553) BACServices: ID: 1
  166. D (1560) WiFiClientSecure: ID: 1
  167. D (1561) WiFiClientSecure: ID: 2
  168. D (1592) nvs: nvs_flash_init_custom start=336 count=64
  169. D (2601) phy_init: loading PHY init data from application binary
  170. D (2602) nvs: nvs_open phy 0
  171. D (2603) nvs: nvs_get cal_version 4
  172. D (2616) nvs: nvs_get_str_or_blob cal_mac
  173. D (2654) nvs: nvs_get_str_or_blob cal_data
  174. D (2701) nvs: nvs_close 1
  175. I (2963) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 0
  176. D (2963) nvs: nvs_open phy 1
  177. D (2965) nvs: nvs_set cal_version 4 258
  178. D (3085) nvs: nvs_set_blob cal_mac 6
  179. D (3089) nvs: nvs_set_blob cal_data 1904
  180. D (3138) nvs: nvs_close 2
  181. I (3138) cpu_start: Starting scheduler on PRO CPU.
  182. D (3148) OpenSSLAzDuino: btinit, Heap free: 107692
  183.  
  184. BTDM CONTROLLER VERSION: 010101
  185. btip start
  186. copy .data from 4000d890 to 3ffae6e0, len 00001830
  187. set .bss 0x0 from 3ffb8000 to 3ffbff70, len 00007f70
  188. BTDM ROM VERSION 0101
  189. BD_ADDR: 24:0A:C4:00:8D:8A
  190. NVDS MAGIC FAILED
  191. RF Init OK with coex
  192. E (3308) BT: Startup BTU
  193.  
  194. E (3328) BT: bta_dm_co_ble_load_local_keys: func not ported
  195.  
  196. D (3338) OpenSSLAzDuino: appmain,Heap free: 82064B,xPortGetFreeHeapSizeTagged32: 46104, Tagged8:0
  197.  
  198. tcpip_task_hdlxxx : 3ffec914, prio:18,stack:2048
  199. D (3338) nvs: nvs_open misc 1
  200. D (3338) nvs: nvs_get_str_or_blob log
  201. I (3348) wifi: frc2_timer_task_hdl:3ffee4a8, prio:22, stack:2048
  202. D (3348) nvs: nvs_open nvs.net80211 1
  203. D (3358) nvs: nvs_get opmode 1
  204. D (3358) nvs: nvs_get country 1
  205. D (3358) nvs: nvs_get_str_or_blob sta.ssid
  206. D (3368) nvs: nvs_get_str_or_blob sta.mac
  207. D (3368) nvs: nvs_get sta.authmode 1
  208. D (3368) nvs: nvs_get_str_or_blob sta.pswd
  209. D (3378) nvs: nvs_get_str_or_blob sta.pmk
  210. D (3378) nvs: nvs_get sta.chan 1
  211. D (3378) nvs: nvs_get auto.conn 1
  212. D (3388) nvs: nvs_get bssid.set 1
  213. D (3388) nvs: nvs_get_str_or_blob sta.bssid
  214. D (3398) nvs: nvs_get sta.phym 1
  215. D (3398) nvs: nvs_get sta.phybw 1
  216. D (3398) nvs: nvs_get_str_or_blob sta.apsw
  217. D (3408) nvs: nvs_get_str_or_blob sta.apinfo
  218. D (3408) nvs: nvs_get_str_or_blob ap.ssid
  219. D (3418) nvs: nvs_get_str_or_blob ap.mac
  220. D (3418) nvs: nvs_get_str_or_blob ap.passwd
  221. D (3418) nvs: nvs_get_str_or_blob ap.pmk
  222. D (3428) nvs: nvs_get ap.chan 1
  223. D (3428) nvs: nvs_get ap.authmode 1
  224. D (3428) nvs: nvs_get ap.hidden 1
  225. D (3438) nvs: nvs_get ap.max.conn 1
  226. D (3438) nvs: nvs_get bcn.interval 2
  227. D (3438) nvs: nvs_get ap.phym 1
  228. D (3448) nvs: nvs_get ap.phybw 1
  229. D (3448) nvs: nvs_get ap.sndchan 1
  230. D (3458) nvs: nvs_set_blob sta.mac 6
  231. D (3558) nvs: nvs_set_blob ap.mac 6
  232. Guru Meditation Error of type IllegalInstruction occurred on core 0 at pc=401901c0. Setting bp and returning..
  233. Register dump:
  234. PC : 0x401901c0 PS : 0x00060830 A0 : 0x80171396 A1 : 0x3ffdc9a0
  235. A2 : 0x3ffd5998 A3 : 0x00000064 A4 : 0x3ffc3880 A5 : 0x00000000
  236. A6 : 0x0000898d A7 : 0x00000000 A8 : 0x8016be7e A9 : 0x3ffdc980
  237. A10 : 0x3ffd5998 A11 : 0x00000000 A12 : 0x00000000 A13 : 0x00000000
  238. A14 : 0x3ffda254 A15 : 0x3ffda21c SAR : 0x00000000 EXCCAUSE: 0x00000000
  239. EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff
  240.  
  241. Backtrace: 0x401901c0:0x3ffdc9a0 0x40171396:0x3ffdc9c0 0x40171428:0x3ffdc9e0 0x4016b9f8:0x3ffdca00 0x4015f162:0x3ffdca20 0x4015f2eb:0x3ffdcad0 0x40119756:0x3ffdcb20
  242.  
  243. Entering gdb stub now.
  244. $T04#b8ets Jun 8 2016 00:22:57
  245.  
  246. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  247. ets Jun 8 2016 00:22:57
  248.  
  249. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  250. configsip: 0, SPIWP:0x00
  251. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  252. mode:DIO, clock div:2
  253. load:0x3ffc0008,len:0
  254. load:0x3ffc0008,len:1964
  255. load:0x40078000,len:3648
  256. ho 0 tail 12 room 4
  257. load:0x40080000,len:256
  258. entry 0x40080034
  259. E (1407) esp_image: invalid segment length 0xffffffff
  260. E (1407) boot: Failed to verify app image @ 0x10000 (8194)
  261. user code done
  262.  
  263. Debug Log 3:
  264. ets Jun 8 2016 00:22:57
  265.  
  266. rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  267. configsip: 0, SPIWP:0x00
  268. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  269. mode:DIO, clock div:2
  270. load:0x3ffc0008,len:0
  271. load:0x3ffc0008,len:1964
  272. load:0x40078000,len:3648
  273. ho 0 tail 12 room 4
  274. load:0x40080000,len:256
  275. entry 0x40080034
  276. I (1472) heap_alloc_caps: Initializing. RAM available for dynamic allocation:
  277. I (1473) heap_alloc_caps: At 3FFD95FC len 00006A04 (26 KiB): DRAM
  278. I (1477) heap_alloc_caps: At 3FFE8000 len 00018000 (96 KiB): D/IRAM
  279. I (1488) heap_alloc_caps: At 40078000 len 00008000 (32 KiB): IRAM
  280. I (1498) heap_alloc_caps: At 4009CBD8 len 00003428 (13 KiB): IRAM
  281. I (1508) cpu_start: Pro cpu up.
  282. I (1514) cpu_start: Single core mode
  283. I (1521) cpu_start: Pro cpu start user code
  284. D (1551) intr_alloc: Connected src 56 to int 2 (cpu 0)
  285. D (1554) BACServices: ID: 1
  286. D (1560) WiFiClientSecure: ID: 1
  287. D (1561) WiFiClientSecure: ID: 2
  288. D (1593) nvs: nvs_flash_init_custom start=336 count=64
  289. D (2600) phy_init: loading PHY init data from application binary
  290. D (2601) nvs: nvs_open phy 0
  291. D (2603) nvs: nvs_get cal_version 4
  292. D (2616) nvs: nvs_get_str_or_blob cal_mac
  293. D (2654) nvs: nvs_get_str_or_blob cal_data
  294. D (2700) nvs: nvs_close 1
  295. I (2974) phy: phy_version: 258, Nov 29 2016, 15:51:07, 0, 0
  296. D (2975) nvs: nvs_open phy 1
  297. D (2976) nvs: nvs_set cal_version 4 258
  298. D (4058) nvs: nvs_set_blob cal_mac 6
  299. D (4062) nvs: nvs_set_blob cal_data 1904
  300. D (4110) nvs: nvs_close 2
  301. I (4111) cpu_start: Starting scheduler on PRO CPU.
  302. D (4112) OpenSSLAzDuino: btinit, Heap free: 107556
  303.  
  304. BTDM CONTROLLER VERSION: 010101
  305. btip start
  306. copy .data from 4000d890 to 3ffae6e0, len 00001830
  307. set .bss 0x0 from 3ffb8000 to 3ffbff70, len 00007f70
  308. BTDM ROM VERSION 0101
  309. BD_ADDR: 24:0A:C4:00:8D:8A
  310. Guru Meditation Error of type IllegalInstruction occurred on core 0 at pc=40190890. Setting bp and returning..
  311. Register dump:
  312. PC : 0x40190890 PS : 0x00060130 A0 : 0x800823ba A1 : 0x3ffdeba0
  313. A2 : 0x0000001b A3 : 0x0000001b A4 : 0x00000024 A5 : 0xffffffff
  314. A6 : 0x00000000 A7 : 0xffffffff A8 : 0x8017d6f8 A9 : 0x3ffdeb80
  315. A10 : 0x00000000 A11 : 0x3ffdeb32 A12 : 0x3ffdeadf A13 : 0x00000041
  316. A14 : 0x00000000 A15 : 0x3ffdeae3 SAR : 0x00000005 EXCCAUSE: 0x00000000
  317. EXCVADDR: 0x00000000 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000
  318.  
  319. Backtrace: 0x40190890:0x3ffdeba0 0x400823ba:0x3ffdebc0 0x400823fd:0x3ffdebf0 0x4008249d:0x3ffdec10 0x40118977:0x3ffdec30
  320.  
  321. Entering gdb stub now.
  322. $T04#b8ets Jun 8 2016 00:22:57
  323.  
  324. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  325. ets Jun 8 2016 00:22:57
  326.  
  327. rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  328. configsip: 0, SPIWP:0x00
  329. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  330. mode:DIO, clock div:2
  331. load:0x3ffc0008,len:0
  332. load:0x3ffc0008,len:1964
  333. load:0x40078000,len:3648
  334. ho 0 tail 12 room 4
  335. load:0x40080000,len:256
  336. entry 0x40080034
  337. E (1407) esp_image: invalid segment length 0xffffffff
  338. E (1407) boot: Failed to verify app image @ 0x10000 (8194)
  339. user code done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement