Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ESP32] Read core dump from flash, for diagnostic crash logs #32192

Merged
merged 5 commits into from
Feb 20, 2024

Conversation

shubhamdp
Copy link
Contributor

Send actual core dump as diagnostic crash logs.

Fixes #31727

Tests

Crashed device once and read and decoded the core dump

Copy link

github-actions bot commented Feb 17, 2024

PR #32192: Size comparison from 2f2c4f1 to f4e8a06

Decreases (2 builds for efr32)
platform target config section 2f2c4f1 f4e8a06 change % change
efr32 lighting-app BRD4187C (read/write) 1107160 1107152 -8 -0.0
.text 908580 908572 -8 -0.0
window-app BRD4187C (read/write) 1153784 1153776 -8 -0.0
.text 983052 983044 -8 -0.0
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
platform target config section 2f2c4f1 f4e8a06 change % change
bl602 lighting-app bl602 (read/write) 1432722 1432722 0 0.0
.bss 85328 85328 0 0.0
.data 9496 9496 0 0.0
.rodata 157532 157532 0 0.0
.text 1099716 1099716 0 0.0
bl602+mfd (read/write) 1447378 1447378 0 0.0
.bss 85488 85488 0 0.0
.data 9472 9472 0 0.0
.rodata 156492 156492 0 0.0
.text 1115282 1115282 0 0.0
bl602+rpc (read/write) 1480346 1480346 0 0.0
.bss 93360 93360 0 0.0
.data 9872 9872 0 0.0
.rodata 165100 165100 0 0.0
.text 1131354 1131354 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1197655 1197655 0 0.0
.bss 11121 11121 0 0.0
.data 3680 3680 0 0.0
.rodata 106872 106872 0 0.0
.text 969116 969116 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1208711 1208711 0 0.0
.bss 11297 11297 0 0.0
.data 3656 3656 0 0.0
.rodata 105812 105812 0 0.0
.text 981126 981126 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1289363 1289363 0 0.0
.bss 19589 19589 0 0.0
.data 4224 4224 0 0.0
.rodata 122244 122244 0 0.0
.text 1044060 1044060 0 0.0
bl706-eth (read/write) 1015349 1015349 0 0.0
.bss 23680 23680 0 0.0
.data 3248 3248 0 0.0
.rodata 100216 100216 0 0.0
.text 760250 760250 0 0.0
bl706-wifi (read/write) 1249390 1249390 0 0.0
.bss 10565 10565 0 0.0
.data 3688 3688 0 0.0
.rodata 121216 121216 0 0.0
.text 991514 991514 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1167220 1167220 0 0.0
.bss 16316 16316 0 0.0
.data 5040 5040 0 0.0
.rodata 100876 100876 0 0.0
.text 962218 962218 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1178368 1178368 0 0.0
.bss 16492 16492 0 0.0
.data 5024 5024 0 0.0
.rodata 99816 99816 0 0.0
.text 974284 974284 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 770844 770844 0 0.0
(read/write) 168552 168552 0 0.0
.bss 90556 90556 0 0.0
.data 3560 3560 0 0.0
.rodata 81652 81652 0 0.0
.text 688924 688924 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 787644 787644 0 0.0
(read/write) 178792 178792 0 0.0
.bss 100796 100796 0 0.0
.data 3560 3560 0 0.0
.rodata 75940 75940 0 0.0
.text 711436 711436 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 776276 776276 0 0.0
(read/write) 173240 173240 0 0.0
.bss 95244 95244 0 0.0
.data 3560 3560 0 0.0
.rodata 102700 102700 0 0.0
.text 673308 673308 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 728484 728484 0 0.0
(read/write) 167520 167520 0 0.0
.bss 89288 89288 0 0.0
.data 3552 3552 0 0.0
.rodata 77372 77372 0 0.0
.text 650844 650844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 714116 714116 0 0.0
(read/write) 167728 167728 0 0.0
.bss 89512 89512 0 0.0
.data 3544 3544 0 0.0
.rodata 73212 73212 0 0.0
.text 640636 640636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581210 581210 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492564 492564 0 0.0
lock CC3235SF_LAUNCHXL (read only) 626506 626506 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517404 517404 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 566011 566011 0 0.0
.app_xip_area 455845 455845 0 0.0
.bss 65000 65000 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548979 548979 0 0.0
.app_xip_area 434053 434053 0 0.0
.bss 69752 69752 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 567699 567699 0 0.0
.app_xip_area 459037 459037 0 0.0
.bss 63536 63536 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 562235 562235 0 0.0
.app_xip_area 450293 450293 0 0.0
.bss 66736 66736 0 0.0
.data 784 784 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 929760 929760 0 0.0
.bss 197912 197912 0 0.0
.data 1388 1388 0 0.0
.text 730436 730436 0 0.0
BRD4187C (read/write) 1107160 1107152 -8 -0.0
.bss 195152 195152 0 0.0
.data 3408 3408 0 0.0
.text 908580 908572 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1120532 1120532 0 0.0
.bss 186764 186764 0 0.0
.data 2792 2792 0 0.0
.text 930956 930956 0 0.0
window-app BRD4187C (read/write) 1153784 1153776 -8 -0.0
.bss 167392 167392 0 0.0
.data 3320 3320 0 0.0
.text 983052 983044 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1207446 1207446 0 0.0
(read/write) 1748464 1748464 0 0.0
.dram0.bss 74272 74272 0 0.0
.dram0.data 13620 13620 0 0.0
.flash.rodata 251040 251040 0 0.0
.flash.text 1207446 1207446 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1249555 1249555 0 0.0
(read/write) 533944 533944 0 0.0
.dram0.bss 81176 81176 0 0.0
.dram0.data 35164 35164 0 0.0
.flash.rodata 281684 281684 0 0.0
.flash.text 1243391 1243391 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 610448 610448 0 0.0
(read/write) 79988 79988 0 0.0
.bss 67780 67780 0 0.0
.data 2224 2224 0 0.0
.text 609912 609912 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 745444 745444 0 0.0
.bss 79132 79132 0 0.0
.data 2816 2816 0 0.0
.text 624128 624128 0 0.0
light k32w0+release (read only) 602088 602088 0 0.0
(read/write) 79444 79444 0 0.0
.bss 67260 67260 0 0.0
.data 2200 2200 0 0.0
.text 601552 601552 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 787560 787560 0 0.0
.bss 80524 80524 0 0.0
.data 2032 2032 0 0.0
.text 665648 665648 0 0.0
lock k32w0+release (read only) 580856 580856 0 0.0
(read/write) 77432 77432 0 0.0
.bss 65300 65300 0 0.0
.data 2148 2148 0 0.0
.text 580320 580320 0 0.0
linux air-purifier-app debug (read only) 2632101 2632101 0 0.0
(read/write) 129544 129544 0 0.0
.bss 46960 46960 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 74392 74392 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 185104 185104 0 0.0
.text 2268917 2268917 0 0.0
all-clusters-app debug (read only) 5914785 5914785 0 0.0
(read/write) 480072 480072 0 0.0
.bss 134816 134816 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 333368 333368 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1376 1376 0 0.0
.rodata 348592 348592 0 0.0
.text 5132803 5132803 0 0.0
all-clusters-minimal-app debug (read only) 5207489 5207489 0 0.0
(read/write) 236936 236936 0 0.0
.bss 128096 128096 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 97384 97384 0 0.0
.dynamic 624 624 0 0.0
.got 5304 5304 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 288322 288322 0 0.0
.text 4683843 4683843 0 0.0
bridge-app debug (read only) 4604969 4604969 0 0.0
(read/write) 217808 217808 0 0.0
.bss 118624 118624 0 0.0
.data 6176 6176 0 0.0
.data.rel.ro 86288 86288 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4155155 4155155 0 0.0
chip-tool debug (read only) 11987169 11987169 0 0.0
(read/write) 521296 521296 0 0.0
.bss 94264 94264 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 414720 414720 0 0.0
.dynamic 624 624 0 0.0
.got 5776 5776 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 447705 447705 0 0.0
.text 10833699 10833699 0 0.0
chip-tool-ipv6only arm64 (read only) 11484768 11484768 0 0.0
(read/write) 592080 592080 0 0.0
.bss 103304 103304 0 0.0
.data 4488 4488 0 0.0
.data.rel.ro 454480 454480 0 0.0
.dynamic 512 512 0 0.0
.got 20376 20376 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 352988 352988 0 0.0
.text 10243708 10243708 0 0.0
lighting-app debug+rpc+ui (read only) 5527201 5527201 0 0.0
(read/write) 226576 226576 0 0.0
.bss 119560 119560 0 0.0
.data 4832 4832 0 0.0
.data.rel.ro 94672 94672 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 353780 353780 0 0.0
.text 4926435 4926435 0 0.0
lock-app debug (read only) 4673025 4673025 0 0.0
(read/write) 205432 205432 0 0.0
.bss 114048 114048 0 0.0
.data 4128 4128 0 0.0
.data.rel.ro 80536 80536 0 0.0
.dynamic 624 624 0 0.0
.got 5224 5224 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 254978 254978 0 0.0
.text 4205779 4205779 0 0.0
ota-provider-app debug (read only) 4305337 4305337 0 0.0
(read/write) 193960 193960 0 0.0
.bss 113856 113856 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 69856 69856 0 0.0
.dynamic 624 624 0 0.0
.got 4560 4560 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207618 207618 0 0.0
.text 3904259 3904259 0 0.0
ota-requestor-app debug (read only) 4431513 4431513 0 0.0
(read/write) 198336 198336 0 0.0
.bss 114752 114752 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 72960 72960 0 0.0
.dynamic 624 624 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 213794 213794 0 0.0
.text 4019683 4019683 0 0.0
shell debug (read only) 2867937 2867937 0 0.0
(read/write) 155936 155936 0 0.0
.bss 62576 62576 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86192 86192 0 0.0
.dynamic 592 592 0 0.0
.got 4080 4080 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 186208 186208 0 0.0
.text 2508610 2508610 0 0.0
thermostat-no-ble arm64 (read only) 4485688 4485688 0 0.0
(read/write) 247424 247424 0 0.0
.bss 122360 122360 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 103816 103816 0 0.0
.dynamic 512 512 0 0.0
.got 12232 12232 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 159356 159356 0 0.0
.text 3980668 3980668 0 0.0
tv-app debug (read only) 5680937 5680937 0 0.0
(read/write) 352176 352176 0 0.0
.bss 243856 243856 0 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94536 94536 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 288098 288098 0 0.0
.text 5150387 5150387 0 0.0
tv-casting-app debug (read only) 9868777 9868777 0 0.0
(read/write) 340808 340808 0 0.0
.bss 156624 156624 0 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174328 174328 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 382672 382672 0 0.0
.text 9019875 9019875 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2530760 2530760 0 0.0
.bss 220448 220448 0 0.0
.data 5200 5200 0 0.0
.text 1493444 1493444 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1098500 1098500 0 0.0
bss 130767 130767 0 0.0
rodata 111868 111868 0 0.0
text 808080 808080 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1218668 1218668 0 0.0
bss 122889 122889 0 0.0
rodata 141612 141612 0 0.0
text 803656 803656 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1048068 1048068 0 0.0
bss 129657 129657 0 0.0
rodata 99396 99396 0 0.0
text 771276 771276 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834504 834504 0 0.0
(read/write) 1792188 1792188 0 0.0
.bss 196180 196180 0 0.0
.data 2656 2656 0 0.0
.text 1584964 1584964 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837616 837616 0 0.0
(read/write) 1716164 1716164 0 0.0
.bss 193092 193092 0 0.0
.data 2632 2632 0 0.0
.text 1512052 1512052 0 0.0
light cy8ckit_062s2_43012 (read only) 844344 844344 0 0.0
(read/write) 1635492 1635492 0 0.0
.bss 186556 186556 0 0.0
.data 2440 2440 0 0.0
.text 1438108 1438108 0 0.0
lock cy8ckit_062s2_43012 (read only) 817184 817184 0 0.0
(read/write) 1665484 1665484 0 0.0
.bss 213716 213716 0 0.0
.data 2440 2440 0 0.0
.text 1440940 1440940 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1126056 1126056 0 0.0
.bss 102400 102400 0 0.0
.data 820 820 0 0.0
.text 638440 638440 0 0.0
lock-app qpg6105+debug (read/write) 1086048 1086048 0 0.0
.bss 97152 97152 0 0.0
.data 840 840 0 0.0
.text 598428 598428 0 0.0
stm32 light STM32WB5MM-DK (read/write) 598069 598069 0 0.0
.bss 128312 128312 0 0.0
.data 668 668 0 0.0
.rodata 78772 78772 0 0.0
.text 380592 380592 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 820882 820882 0 0.0
bss 49628 49628 0 0.0
text 614714 614714 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1087716 1087716 0 0.0
bss 101720 101720 0 0.0
text 790040 790040 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1046652 1046652 0 0.0
bss 110052 110052 0 0.0
text 762636 762636 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 907892 907892 0 0.0
bss 93084 93084 0 0.0
text 650594 650594 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822482 822482 0 0.0
bss 49676 49676 0 0.0
text 616376 616376 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 928000 928000 0 0.0
bss 77676 77676 0 0.0
text 696326 696326 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1070164 1070164 0 0.0
bss 100164 100164 0 0.0
text 775108 775108 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 900584 900584 0 0.0
bss 69140 69140 0 0.0
text 651784 651784 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 926236 926236 0 0.0
bss 92664 92664 0 0.0
text 668976 668976 0 0.0
pump-app tlsr9258a_retention (read only) 51774 51774 0 0.0
(read/write) 825114 825114 0 0.0
bss 49784 49784 0 0.0
text 619406 619406 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 788820 788820 0 0.0
bss 55984 55984 0 0.0
text 590154 590154 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676768 676768 0 0.0
bss 73640 73640 0 0.0
text 462284 462284 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 829510 829510 0 0.0
bss 51308 51308 0 0.0
text 622438 622438 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 847965 847965 0 0.0
bss 59460 59460 0 0.0
text 634048 634048 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 814408 814408 0 0.0
bss 56272 56272 0 0.0
text 609786 609786 0 0.0
window-covering tlsr9258a (read only) 51584 51584 0 0.0
(read/write) 832528 832528 0 0.0
bss 68048 68048 0 0.0
text 625060 625060 0 0.0

Copy link

github-actions bot commented Feb 18, 2024

PR #32192: Size comparison from 2f2c4f1 to 508ea6c

Decreases (2 builds for efr32)
platform target config section 2f2c4f1 508ea6c change % change
efr32 lighting-app BRD4187C (read/write) 1107160 1107152 -8 -0.0
.text 908580 908572 -8 -0.0
window-app BRD4187C (read/write) 1153784 1153776 -8 -0.0
.text 983052 983044 -8 -0.0
Full report (73 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, stm32, telink)
platform target config section 2f2c4f1 508ea6c change % change
bl602 lighting-app bl602 (read/write) 1432722 1432722 0 0.0
.bss 85328 85328 0 0.0
.data 9496 9496 0 0.0
.rodata 157532 157532 0 0.0
.text 1099716 1099716 0 0.0
bl602+mfd (read/write) 1447378 1447378 0 0.0
.bss 85488 85488 0 0.0
.data 9472 9472 0 0.0
.rodata 156492 156492 0 0.0
.text 1115282 1115282 0 0.0
bl602+rpc (read/write) 1480346 1480346 0 0.0
.bss 93360 93360 0 0.0
.data 9872 9872 0 0.0
.rodata 165100 165100 0 0.0
.text 1131354 1131354 0 0.0
bl702 lighting-app bl702 (read only) 3478 3478 0 0.0
(read/write) 1197655 1197655 0 0.0
.bss 11121 11121 0 0.0
.data 3680 3680 0 0.0
.rodata 106872 106872 0 0.0
.text 969116 969116 0 0.0
bl702+mfd (read only) 3478 3478 0 0.0
(read/write) 1208711 1208711 0 0.0
.bss 11297 11297 0 0.0
.data 3656 3656 0 0.0
.rodata 105812 105812 0 0.0
.text 981126 981126 0 0.0
bl702+rpc (read only) 3478 3478 0 0.0
(read/write) 1289363 1289363 0 0.0
.bss 19589 19589 0 0.0
.data 4224 4224 0 0.0
.rodata 122244 122244 0 0.0
.text 1044060 1044060 0 0.0
bl706-eth (read/write) 1015349 1015349 0 0.0
.bss 23680 23680 0 0.0
.data 3248 3248 0 0.0
.rodata 100216 100216 0 0.0
.text 760250 760250 0 0.0
bl706-wifi (read/write) 1249390 1249390 0 0.0
.bss 10565 10565 0 0.0
.data 3688 3688 0 0.0
.rodata 121216 121216 0 0.0
.text 991514 991514 0 0.0
bl702l lighting-app bl702l (read only) 512 512 0 0.0
(read/write) 1167220 1167220 0 0.0
.bss 16316 16316 0 0.0
.data 5040 5040 0 0.0
.rodata 100876 100876 0 0.0
.text 962218 962218 0 0.0
bl702l+mfd (read only) 512 512 0 0.0
(read/write) 1178368 1178368 0 0.0
.bss 16492 16492 0 0.0
.data 5024 5024 0 0.0
.rodata 99816 99816 0 0.0
.text 974284 974284 0 0.0
cc13x4_26x4 lighting-app LP_EM_CC1354P10_6 (read only) 770844 770844 0 0.0
(read/write) 168552 168552 0 0.0
.bss 90556 90556 0 0.0
.data 3560 3560 0 0.0
.rodata 81652 81652 0 0.0
.text 688924 688924 0 0.0
lock-ftd LP_EM_CC1354P10_6 (read only) 787644 787644 0 0.0
(read/write) 178792 178792 0 0.0
.bss 100796 100796 0 0.0
.data 3560 3560 0 0.0
.rodata 75940 75940 0 0.0
.text 711436 711436 0 0.0
lock-mtd LP_EM_CC1354P10_6 (read only) 776276 776276 0 0.0
(read/write) 173240 173240 0 0.0
.bss 95244 95244 0 0.0
.data 3560 3560 0 0.0
.rodata 102700 102700 0 0.0
.text 673308 673308 0 0.0
pump-app LP_EM_CC1354P10_6 (read only) 728484 728484 0 0.0
(read/write) 167520 167520 0 0.0
.bss 89288 89288 0 0.0
.data 3552 3552 0 0.0
.rodata 77372 77372 0 0.0
.text 650844 650844 0 0.0
pump-controller-app LP_EM_CC1354P10_6 (read only) 714116 714116 0 0.0
(read/write) 167728 167728 0 0.0
.bss 89512 89512 0 0.0
.data 3544 3544 0 0.0
.rodata 73212 73212 0 0.0
.text 640636 640636 0 0.0
cc32xx air-purifier CC3235SF_LAUNCHXL (read only) 581210 581210 0 0.0
(read/write) 207968 207968 0 0.0
.bss 201204 201204 0 0.0
.data 1640 1640 0 0.0
.rodata 86522 86522 0 0.0
.text 492564 492564 0 0.0
lock CC3235SF_LAUNCHXL (read only) 626506 626506 0 0.0
(read/write) 208312 208312 0 0.0
.bss 201696 201696 0 0.0
.data 1496 1496 0 0.0
.rodata 106978 106978 0 0.0
.text 517404 517404 0 0.0
cyw30739 light cyw930739m2evb_01 (read/write) 566011 566011 0 0.0
.app_xip_area 455845 455845 0 0.0
.bss 65000 65000 0 0.0
.data 744 744 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
lock cyw930739m2evb_01 (read/write) 548979 548979 0 0.0
.app_xip_area 434053 434053 0 0.0
.bss 69752 69752 0 0.0
.data 752 752 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
ota-requestor cyw930739m2evb_01 (read/write) 567699 567699 0 0.0
.app_xip_area 459037 459037 0 0.0
.bss 63536 63536 0 0.0
.data 704 704 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
switch cyw930739m2evb_01 (read/write) 562235 562235 0 0.0
.app_xip_area 450293 450293 0 0.0
.bss 66736 66736 0 0.0
.data 784 784 0 0.0
.rodata 0 0 0 0.0
.text 112 112 0 0.0
efr32 lighting-app BRD4161A+rs9116 (read/write) 929760 929760 0 0.0
.bss 197912 197912 0 0.0
.data 1388 1388 0 0.0
.text 730436 730436 0 0.0
BRD4187C (read/write) 1107160 1107152 -8 -0.0
.bss 195152 195152 0 0.0
.data 3408 3408 0 0.0
.text 908580 908572 -8 -0.0
lock-app BRD4161A+wf200 (read/write) 1120532 1120532 0 0.0
.bss 186764 186764 0 0.0
.data 2792 2792 0 0.0
.text 930956 930956 0 0.0
window-app BRD4187C (read/write) 1153784 1153776 -8 -0.0
.bss 167392 167392 0 0.0
.data 3320 3320 0 0.0
.text 983052 983044 -8 -0.0
esp32 all-clusters-app c3devkit (read only) 1207446 1207446 0 0.0
(read/write) 1748464 1748464 0 0.0
.dram0.bss 74272 74272 0 0.0
.dram0.data 13620 13620 0 0.0
.flash.rodata 251040 251040 0 0.0
.flash.text 1207446 1207446 0 0.0
.iram0.text 75530 75530 0 0.0
m5stack (read only) 1249555 1249555 0 0.0
(read/write) 533944 533944 0 0.0
.dram0.bss 81176 81176 0 0.0
.dram0.data 35164 35164 0 0.0
.flash.rodata 281684 281684 0 0.0
.flash.text 1243391 1243391 0 0.0
.iram0.text 125403 125403 0 0.0
k32w contact k32w0+release (read only) 610448 610448 0 0.0
(read/write) 79988 79988 0 0.0
.bss 67780 67780 0 0.0
.data 2224 2224 0 0.0
.text 609912 609912 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 745444 745444 0 0.0
.bss 79132 79132 0 0.0
.data 2816 2816 0 0.0
.text 624128 624128 0 0.0
light k32w0+release (read only) 602088 602088 0 0.0
(read/write) 79444 79444 0 0.0
.bss 67260 67260 0 0.0
.data 2200 2200 0 0.0
.text 601552 601552 0 0.0
k32w1+release (read only) 1024 1024 0 0.0
(read/write) 787560 787560 0 0.0
.bss 80524 80524 0 0.0
.data 2032 2032 0 0.0
.text 665648 665648 0 0.0
lock k32w0+release (read only) 580856 580856 0 0.0
(read/write) 77432 77432 0 0.0
.bss 65300 65300 0 0.0
.data 2148 2148 0 0.0
.text 580320 580320 0 0.0
linux air-purifier-app debug (read only) 2632101 2632101 0 0.0
(read/write) 129544 129544 0 0.0
.bss 46960 46960 0 0.0
.data 2240 2240 0 0.0
.data.rel.ro 74392 74392 0 0.0
.dynamic 608 608 0 0.0
.got 4568 4568 0 0.0
.init 27 27 0 0.0
.init_array 752 752 0 0.0
.rodata 185104 185104 0 0.0
.text 2268917 2268917 0 0.0
all-clusters-app debug (read only) 5914785 5914785 0 0.0
(read/write) 480072 480072 0 0.0
.bss 134816 134816 0 0.0
.data 4464 4464 0 0.0
.data.rel.ro 333368 333368 0 0.0
.dynamic 624 624 0 0.0
.got 5384 5384 0 0.0
.init 27 27 0 0.0
.init_array 1376 1376 0 0.0
.rodata 348592 348592 0 0.0
.text 5132803 5132803 0 0.0
all-clusters-minimal-app debug (read only) 5207489 5207489 0 0.0
(read/write) 236936 236936 0 0.0
.bss 128096 128096 0 0.0
.data 4368 4368 0 0.0
.data.rel.ro 97384 97384 0 0.0
.dynamic 624 624 0 0.0
.got 5304 5304 0 0.0
.init 27 27 0 0.0
.init_array 1120 1120 0 0.0
.rodata 288322 288322 0 0.0
.text 4683843 4683843 0 0.0
bridge-app debug (read only) 4604969 4604969 0 0.0
(read/write) 217808 217808 0 0.0
.bss 118624 118624 0 0.0
.data 6176 6176 0 0.0
.data.rel.ro 86288 86288 0 0.0
.dynamic 624 624 0 0.0
.got 5272 5272 0 0.0
.init 27 27 0 0.0
.init_array 808 808 0 0.0
.rodata 228930 228930 0 0.0
.text 4155155 4155155 0 0.0
chip-tool debug (read only) 11987169 11987169 0 0.0
(read/write) 521296 521296 0 0.0
.bss 94264 94264 0 0.0
.data 5090 5090 0 0.0
.data.rel.ro 414720 414720 0 0.0
.dynamic 624 624 0 0.0
.got 5776 5776 0 0.0
.init 27 27 0 0.0
.init_array 784 784 0 0.0
.rodata 447705 447705 0 0.0
.text 10833699 10833699 0 0.0
chip-tool-ipv6only arm64 (read only) 11484768 11484768 0 0.0
(read/write) 592080 592080 0 0.0
.bss 103304 103304 0 0.0
.data 4488 4488 0 0.0
.data.rel.ro 454480 454480 0 0.0
.dynamic 512 512 0 0.0
.got 20376 20376 0 0.0
.init 24 24 0 0.0
.init_array 248 248 0 0.0
.rodata 352988 352988 0 0.0
.text 10243708 10243708 0 0.0
lighting-app debug+rpc+ui (read only) 5527201 5527201 0 0.0
(read/write) 226576 226576 0 0.0
.bss 119560 119560 0 0.0
.data 4832 4832 0 0.0
.data.rel.ro 94672 94672 0 0.0
.dynamic 672 672 0 0.0
.got 5888 5888 0 0.0
.init 27 27 0 0.0
.init_array 928 928 0 0.0
.rodata 353780 353780 0 0.0
.text 4926435 4926435 0 0.0
lock-app debug (read only) 4673025 4673025 0 0.0
(read/write) 205432 205432 0 0.0
.bss 114048 114048 0 0.0
.data 4128 4128 0 0.0
.data.rel.ro 80536 80536 0 0.0
.dynamic 624 624 0 0.0
.got 5224 5224 0 0.0
.init 27 27 0 0.0
.init_array 848 848 0 0.0
.rodata 254978 254978 0 0.0
.text 4205779 4205779 0 0.0
ota-provider-app debug (read only) 4305337 4305337 0 0.0
(read/write) 193960 193960 0 0.0
.bss 113856 113856 0 0.0
.data 4336 4336 0 0.0
.data.rel.ro 69856 69856 0 0.0
.dynamic 624 624 0 0.0
.got 4560 4560 0 0.0
.init 27 27 0 0.0
.init_array 704 704 0 0.0
.rodata 207618 207618 0 0.0
.text 3904259 3904259 0 0.0
ota-requestor-app debug (read only) 4431513 4431513 0 0.0
(read/write) 198336 198336 0 0.0
.bss 114752 114752 0 0.0
.data 4736 4736 0 0.0
.data.rel.ro 72960 72960 0 0.0
.dynamic 624 624 0 0.0
.got 4496 4496 0 0.0
.init 27 27 0 0.0
.init_array 760 760 0 0.0
.rodata 213794 213794 0 0.0
.text 4019683 4019683 0 0.0
shell debug (read only) 2867937 2867937 0 0.0
(read/write) 155936 155936 0 0.0
.bss 62576 62576 0 0.0
.data 1392 1392 0 0.0
.data.rel.ro 86192 86192 0 0.0
.dynamic 592 592 0 0.0
.got 4080 4080 0 0.0
.init 27 27 0 0.0
.init_array 1064 1064 0 0.0
.rodata 186208 186208 0 0.0
.text 2508610 2508610 0 0.0
thermostat-no-ble arm64 (read only) 4485688 4485688 0 0.0
(read/write) 247424 247424 0 0.0
.bss 122360 122360 0 0.0
.data 3360 3360 0 0.0
.data.rel.ro 103816 103816 0 0.0
.dynamic 512 512 0 0.0
.got 12232 12232 0 0.0
.init 24 24 0 0.0
.init_array 416 416 0 0.0
.rodata 159356 159356 0 0.0
.text 3980668 3980668 0 0.0
tv-app debug (read only) 5680937 5680937 0 0.0
(read/write) 352176 352176 0 0.0
.bss 243856 243856 0 0.0
.data 6496 6496 0 0.0
.data.rel.ro 94536 94536 0 0.0
.dynamic 624 624 0 0.0
.got 5512 5512 0 0.0
.init 27 27 0 0.0
.init_array 1144 1144 0 0.0
.rodata 288098 288098 0 0.0
.text 5150387 5150387 0 0.0
tv-casting-app debug (read only) 9868777 9868777 0 0.0
(read/write) 340808 340808 0 0.0
.bss 156624 156624 0 0.0
.data 2944 2944 0 0.0
.data.rel.ro 174328 174328 0 0.0
.dynamic 624 624 0 0.0
.got 5088 5088 0 0.0
.init 27 27 0 0.0
.init_array 1168 1168 0 0.0
.rodata 382672 382672 0 0.0
.text 9019875 9019875 0 0.0
mbed lock-app-release cy8cproto_062_4343w (read only) 6224 6224 0 0.0
(read/write) 2530760 2530760 0 0.0
.bss 220448 220448 0 0.0
.data 5200 5200 0 0.0
.text 1493444 1493444 0 0.0
nrfconnect all-clusters-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1098500 1098500 0 0.0
bss 130767 130767 0 0.0
rodata 111868 111868 0 0.0
text 808080 808080 0 0.0
nrf7002dk_nrf5340_cpuapp (read only) 4 4 0 0.0
(read/write) 1218668 1218668 0 0.0
bss 122889 122889 0 0.0
rodata 141612 141612 0 0.0
text 803656 803656 0 0.0
all-clusters-minimal-app nrf52840dk_nrf52840 (read only) 4 4 0 0.0
(read/write) 1048068 1048068 0 0.0
bss 129657 129657 0 0.0
rodata 99396 99396 0 0.0
text 771276 771276 0 0.0
psoc6 all-clusters cy8ckit_062s2_43012 (read only) 834504 834504 0 0.0
(read/write) 1792188 1792188 0 0.0
.bss 196180 196180 0 0.0
.data 2656 2656 0 0.0
.text 1584964 1584964 0 0.0
all-clusters-minimal cy8ckit_062s2_43012 (read only) 837616 837616 0 0.0
(read/write) 1716164 1716164 0 0.0
.bss 193092 193092 0 0.0
.data 2632 2632 0 0.0
.text 1512052 1512052 0 0.0
light cy8ckit_062s2_43012 (read only) 844344 844344 0 0.0
(read/write) 1635492 1635492 0 0.0
.bss 186556 186556 0 0.0
.data 2440 2440 0 0.0
.text 1438108 1438108 0 0.0
lock cy8ckit_062s2_43012 (read only) 817184 817184 0 0.0
(read/write) 1665484 1665484 0 0.0
.bss 213716 213716 0 0.0
.data 2440 2440 0 0.0
.text 1440940 1440940 0 0.0
qpg lighting-app qpg6105+debug (read/write) 1126056 1126056 0 0.0
.bss 102400 102400 0 0.0
.data 820 820 0 0.0
.text 638440 638440 0 0.0
lock-app qpg6105+debug (read/write) 1086048 1086048 0 0.0
.bss 97152 97152 0 0.0
.data 840 840 0 0.0
.text 598428 598428 0 0.0
stm32 light STM32WB5MM-DK (read/write) 598069 598069 0 0.0
.bss 128312 128312 0 0.0
.data 668 668 0 0.0
.rodata 78772 78772 0 0.0
.text 380592 380592 0 0.0
telink air-quality-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 820882 820882 0 0.0
bss 49628 49628 0 0.0
text 614714 614714 0 0.0
all-clusters-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 1087716 1087716 0 0.0
bss 101720 101720 0 0.0
text 790040 790040 0 0.0
all-clusters-minimal-app tlsr9528a (read only) 47960 47960 0 0.0
(read/write) 1046652 1046652 0 0.0
bss 110052 110052 0 0.0
text 762636 762636 0 0.0
bridge-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 907892 907892 0 0.0
bss 93084 93084 0 0.0
text 650594 650594 0 0.0
contact-sensor-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 822482 822482 0 0.0
bss 49676 49676 0 0.0
text 616376 616376 0 0.0
light-switch-app-ota-shell-factory-data tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 928000 928000 0 0.0
bss 77676 77676 0 0.0
text 696326 696326 0 0.0
lighting-app-ota-rpc-factory-data-4mb tlsr9518adk80d (read only) 29122 29122 0 0.0
(read/write) 1070164 1070164 0 0.0
bss 100164 100164 0 0.0
text 775108 775108 0 0.0
lock-app-dfu tlsr9528a (read only) 51584 51584 0 0.0
(read/write) 900584 900584 0 0.0
bss 69140 69140 0 0.0
text 651784 651784 0 0.0
ota-requestor-app tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 926236 926236 0 0.0
bss 92664 92664 0 0.0
text 668976 668976 0 0.0
pump-app tlsr9258a_retention (read only) 51774 51774 0 0.0
(read/write) 825114 825114 0 0.0
bss 49784 49784 0 0.0
text 619406 619406 0 0.0
pump-controller-app tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 788820 788820 0 0.0
bss 55984 55984 0 0.0
text 590154 590154 0 0.0
shell tlsr9518adk80d (read only) 29042 29042 0 0.0
(read/write) 676768 676768 0 0.0
bss 73640 73640 0 0.0
text 462284 462284 0 0.0
smoke_co_alarm-app tlsr9528a_retention (read only) 51774 51774 0 0.0
(read/write) 829510 829510 0 0.0
bss 51308 51308 0 0.0
text 622438 622438 0 0.0
temperature-measurement-app-mars-ota tlsr9518adk80d (read only) 32220 32220 0 0.0
(read/write) 847965 847965 0 0.0
bss 59460 59460 0 0.0
text 634048 634048 0 0.0
thermostat tlsr9518adk80d (read only) 31872 31872 0 0.0
(read/write) 814408 814408 0 0.0
bss 56272 56272 0 0.0
text 609786 609786 0 0.0
window-covering tlsr9258a (read only) 51584 51584 0 0.0
(read/write) 832528 832528 0 0.0
bss 68048 68048 0 0.0
text 625060 625060 0 0.0

@yunhanw-google yunhanw-google merged commit 165da46 into project-chip:master Feb 20, 2024
61 checks passed
@dhrishi
Copy link
Contributor

dhrishi commented Feb 20, 2024

@woody-apple @andy31415 Can you please cherry-pick this platform specific change to 1.3-sve branch?

@cjandhyala cjandhyala added the sve label Feb 20, 2024
case IntentEnum::kCrashLogs: {
#if defined(CONFIG_ESP_COREDUMP_ENABLE_TO_FLASH) && defined(CONFIG_ESP_COREDUMP_DATA_FORMAT_ELF)
CrashLogContext * logContext = context->Crash.logContext;
size_t dataSize = logContext->crashSize - logContext->readOffset;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This requires care to ensure readOffset always < crashSize otherwise integer overflow can allow indeterminate read.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bhmanda-silabs pushed a commit to bhmanda-silabs/connectedhomeip that referenced this pull request Feb 22, 2024
…-chip#32192)

* [ESP32] Read core dump from flash, for diagnostic crash logs

* Restyled by clang-format

* Restyled by prettier-markdown

* add espcoredump to .wordlist

* Add some null checks and init the struct members

---------

Co-authored-by: Restyled.io <[email protected]>
@shubhamdp shubhamdp deleted the esp32_crash_diag branch February 26, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ESP32] Report the actual crash logs or core dump from flash for diagnostic logs
6 participants