Can't get core dump from flash - Invalid core dump CRC d59a4f1e, should be ffffffff

yurik75
Posts: 2
Joined: Thu Jan 16, 2020 8:50 am

Can't get core dump from flash - Invalid core dump CRC d59a4f1e, should be ffffffff

Postby yurik75 » Thu Jan 16, 2020 9:18 am

Hi!

I have ESP32D0WDQ6 on my custom board. IDF v.3.3.1. Host computer with Windows 10.

I modified hello_world example for making abort in task watchdog
and trying to get core dump from flash.

In menuconfig i set options for writing core dump to flash and for abort when
task watchdog timer triggers. I use custom partition table with coredump at 0x110000
(it is default address in espcoredump.py).

In main() i started task with watchdog and then delay for 10000 ms.

Task watchdog triggers, abort() called, dump writed to flash.

When i use espcoredump i see error "Invalid core dump CRC d59a4f1e, should be ffffffff"

hello_world_main.c :
  1. #include <stdio.h>
  2. #include "freertos/FreeRTOS.h"
  3. #include "freertos/task.h"
  4. #include "esp_system.h"
  5. #include "esp_task_wdt.h"
  6.  
  7. void myRoutine(void *arg)
  8. {
  9.     printf("myRoutine start\n");
  10.     esp_task_wdt_add(NULL);
  11.     vTaskDelay(10000);
  12. }
  13.  
  14. void app_main()
  15. {
  16.     printf("Hello world!\n");
  17.    
  18.     esp_task_wdt_add(NULL);
  19.  
  20.     xTaskCreatePinnedToCore(myRoutine,   // функция потока
  21.               "myRoutine",     // текстовая метка
  22.               10000,           // размер стека в СЛОВАХ (2 байта)
  23.               NULL,          // входной аргумент
  24.               1,             // приоритет
  25.               NULL, 0);   // handle
  26.  
  27.     while(true)
  28.     {
  29.         vTaskDelay(100);
  30.         esp_task_wdt_reset();      
  31.     }
  32. }
mypartitions.csv :
  1. # Name,   Type, SubType, Offset,  Size, Flags
  2. nvs,      data, nvs,    0x9000,     0x5000,
  3. otadata,  data, ota,    0xe000,     0x2000,
  4. app0,     app,  ota_0,  0x10000,    0x100000,
  5. coredump, data, coredump,0x110000,  0x40000,

sdkconfig:
  1. #
  2. # Automatically generated file. DO NOT EDIT.
  3. # Espressif IoT Development Framework (ESP-IDF) Project Configuration
  4. #
  5. CONFIG_IDF_TARGET="esp32"
  6. CONFIG_IDF_FIRMWARE_CHIP_ID=0x0000
  7.  
  8. #
  9. # SDK tool configuration
  10. #
  11. CONFIG_TOOLPREFIX="xtensa-esp32-elf-"
  12. CONFIG_MAKE_WARN_UNDEFINED_VARIABLES=y
  13. CONFIG_APP_COMPILE_TIME_DATE=y
  14. # CONFIG_APP_EXCLUDE_PROJECT_VER_VAR is not set
  15. # CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR is not set
  16. # CONFIG_LOG_BOOTLOADER_LEVEL_NONE is not set
  17. # CONFIG_LOG_BOOTLOADER_LEVEL_ERROR is not set
  18. # CONFIG_LOG_BOOTLOADER_LEVEL_WARN is not set
  19. CONFIG_LOG_BOOTLOADER_LEVEL_INFO=y
  20. # CONFIG_LOG_BOOTLOADER_LEVEL_DEBUG is not set
  21. # CONFIG_LOG_BOOTLOADER_LEVEL_VERBOSE is not set
  22. CONFIG_LOG_BOOTLOADER_LEVEL=3
  23. CONFIG_BOOTLOADER_VDDSDIO_BOOST_1_9V=y
  24. # CONFIG_BOOTLOADER_FACTORY_RESET is not set
  25. # CONFIG_BOOTLOADER_APP_TEST is not set
  26. CONFIG_BOOTLOADER_WDT_ENABLE=y
  27. # CONFIG_BOOTLOADER_WDT_DISABLE_IN_USER_CODE is not set
  28. CONFIG_BOOTLOADER_WDT_TIME_MS=9000
  29. CONFIG_APP_ROLLBACK_ENABLE=y
  30. # CONFIG_APP_ANTI_ROLLBACK is not set
  31. # CONFIG_SECURE_SIGNED_APPS_NO_SECURE_BOOT is not set
  32. # CONFIG_SECURE_BOOT_ENABLED is not set
  33. # CONFIG_FLASH_ENCRYPTION_ENABLED is not set
  34. CONFIG_ESPTOOLPY_BAUD_OTHER_VAL=115200
  35. # CONFIG_FLASHMODE_QIO is not set
  36. # CONFIG_FLASHMODE_QOUT is not set
  37. CONFIG_FLASHMODE_DIO=y
  38. # CONFIG_FLASHMODE_DOUT is not set
  39. CONFIG_ESPTOOLPY_FLASHMODE="dio"
  40. CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
  41. # CONFIG_ESPTOOLPY_FLASHFREQ_40M is not set
  42. # CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
  43. # CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
  44. CONFIG_ESPTOOLPY_FLASHFREQ="80m"
  45. # CONFIG_ESPTOOLPY_FLASHSIZE_1MB is not set
  46. # CONFIG_ESPTOOLPY_FLASHSIZE_2MB is not set
  47. CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
  48. # CONFIG_ESPTOOLPY_FLASHSIZE_8MB is not set
  49. # CONFIG_ESPTOOLPY_FLASHSIZE_16MB is not set
  50. CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
  51. CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
  52. # CONFIG_ESPTOOLPY_BEFORE_RESET is not set
  53. CONFIG_ESPTOOLPY_BEFORE_NORESET=y
  54. CONFIG_ESPTOOLPY_BEFORE="no_reset"
  55. # CONFIG_ESPTOOLPY_AFTER_RESET is not set
  56. CONFIG_ESPTOOLPY_AFTER_NORESET=y
  57. CONFIG_ESPTOOLPY_AFTER="no_reset"
  58. # CONFIG_MONITOR_BAUD_9600B is not set
  59. # CONFIG_MONITOR_BAUD_57600B is not set
  60. CONFIG_MONITOR_BAUD_115200B=y
  61. # CONFIG_MONITOR_BAUD_230400B is not set
  62. # CONFIG_MONITOR_BAUD_921600B is not set
  63. # CONFIG_MONITOR_BAUD_2MB is not set
  64. # CONFIG_MONITOR_BAUD_OTHER is not set
  65. CONFIG_MONITOR_BAUD_OTHER_VAL=115200
  66. CONFIG_MONITOR_BAUD=115200
  67. # CONFIG_PARTITION_TABLE_SINGLE_APP is not set
  68. # CONFIG_PARTITION_TABLE_TWO_OTA is not set
  69. CONFIG_PARTITION_TABLE_CUSTOM=y
  70. CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="mypartitions.csv"
  71. CONFIG_PARTITION_TABLE_FILENAME="mypartitions.csv"
  72. CONFIG_PARTITION_TABLE_OFFSET=0x8000
  73. CONFIG_PARTITION_TABLE_MD5=y
  74. # CONFIG_OPTIMIZATION_LEVEL_DEBUG is not set
  75. CONFIG_OPTIMIZATION_LEVEL_RELEASE=y
  76. CONFIG_OPTIMIZATION_ASSERTIONS_ENABLED=y
  77. # CONFIG_OPTIMIZATION_ASSERTIONS_SILENT is not set
  78. # CONFIG_OPTIMIZATION_ASSERTIONS_DISABLED is not set
  79. # CONFIG_CXX_EXCEPTIONS is not set
  80. # CONFIG_STACK_CHECK_NONE is not set
  81. CONFIG_STACK_CHECK_NORM=y
  82. # CONFIG_STACK_CHECK_STRONG is not set
  83. # CONFIG_STACK_CHECK_ALL is not set
  84. CONFIG_STACK_CHECK=y
  85. # CONFIG_WARN_WRITE_STRINGS is not set
  86. # CONFIG_DISABLE_GCC8_WARNINGS is not set
  87. # CONFIG_ESP32_APPTRACE_DEST_TRAX is not set
  88. CONFIG_ESP32_APPTRACE_DEST_NONE=y
  89. # CONFIG_ESP32_APPTRACE_ENABLE is not set
  90. CONFIG_ESP32_APPTRACE_LOCK_ENABLE=y
  91. # CONFIG_AWS_IOT_SDK is not set
  92. CONFIG_BT_ENABLED=y
  93. # CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY is not set
  94. CONFIG_BTDM_CONTROLLER_MODE_BR_EDR_ONLY=y
  95. # CONFIG_BTDM_CONTROLLER_MODE_BTDM is not set
  96. CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN=2
  97. CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN=2
  98. CONFIG_BTDM_CTRL_BR_EDR_SCO_DATA_PATH_EFF=0
  99. CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF=0
  100. CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_ACL_CONN_EFF=2
  101. CONFIG_BTDM_CONTROLLER_BR_EDR_MAX_SYNC_CONN_EFF=2
  102. CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_0=y
  103. # CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_1 is not set
  104. CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE=0
  105. CONFIG_BTDM_CONTROLLER_HCI_MODE_VHCI=y
  106. # CONFIG_BTDM_CONTROLLER_HCI_MODE_UART_H4 is not set
  107. # CONFIG_BTDM_CONTROLLER_MODEM_SLEEP is not set
  108. # CONFIG_BTDM_COEX_BT_OPTIONS is not set
  109. CONFIG_BLUEDROID_ENABLED=y
  110. CONFIG_BLUEDROID_PINNED_TO_CORE_0=y
  111. # CONFIG_BLUEDROID_PINNED_TO_CORE_1 is not set
  112. CONFIG_BLUEDROID_PINNED_TO_CORE=0
  113. CONFIG_BTC_TASK_STACK_SIZE=8196
  114. CONFIG_BTU_TASK_STACK_SIZE=8196
  115. # CONFIG_BLUEDROID_MEM_DEBUG is not set
  116. CONFIG_CLASSIC_BT_ENABLED=y
  117. # CONFIG_A2DP_ENABLE is not set
  118. CONFIG_BT_SPP_ENABLED=y
  119. # CONFIG_HFP_ENABLE is not set
  120. CONFIG_BT_SSP_ENABLED=y
  121. CONFIG_BT_STACK_NO_LOG=y
  122. CONFIG_BT_ACL_CONNECTIONS=2
  123. # CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST is not set
  124. CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y
  125. # CONFIG_BLE_HOST_QUEUE_CONGESTION_CHECK is not set
  126. CONFIG_SMP_ENABLE=y
  127. CONFIG_BLE_ESTABLISH_LINK_CONNECTION_TIMEOUT=30
  128. CONFIG_BT_RESERVE_DRAM=0xdb5c
  129. # CONFIG_ADC_FORCE_XPD_FSM is not set
  130. CONFIG_ADC2_DISABLE_DAC=y
  131. CONFIG_SPI_MASTER_IN_IRAM=y
  132. CONFIG_SPI_MASTER_ISR_IN_IRAM=y
  133. CONFIG_SPI_SLAVE_IN_IRAM=y
  134. CONFIG_SPI_SLAVE_ISR_IN_IRAM=y
  135. # CONFIG_EFUSE_CUSTOM_TABLE is not set
  136. # CONFIG_EFUSE_VIRTUAL is not set
  137. # CONFIG_EFUSE_CODE_SCHEME_COMPAT_NONE is not set
  138. CONFIG_EFUSE_CODE_SCHEME_COMPAT_3_4=y
  139. # CONFIG_EFUSE_CODE_SCHEME_COMPAT_REPEAT is not set
  140. CONFIG_EFUSE_MAX_BLK_LEN=192
  141. CONFIG_IDF_TARGET_ESP32=y
  142. # CONFIG_ESP32_REV_MIN_0 is not set
  143. CONFIG_ESP32_REV_MIN_1=y
  144. # CONFIG_ESP32_REV_MIN_2 is not set
  145. # CONFIG_ESP32_REV_MIN_3 is not set
  146. CONFIG_ESP32_REV_MIN=1
  147. CONFIG_ESP32_DPORT_WORKAROUND=y
  148. # CONFIG_ESP32_DEFAULT_CPU_FREQ_80 is not set
  149. # CONFIG_ESP32_DEFAULT_CPU_FREQ_160 is not set
  150. CONFIG_ESP32_DEFAULT_CPU_FREQ_240=y
  151. CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ=240
  152. # CONFIG_SPIRAM_SUPPORT is not set
  153. # CONFIG_MEMMAP_TRACEMEM is not set
  154. # CONFIG_MEMMAP_TRACEMEM_TWOBANKS is not set
  155. # CONFIG_ESP32_TRAX is not set
  156. CONFIG_TRACEMEM_RESERVE_DRAM=0x0
  157. # CONFIG_TWO_UNIVERSAL_MAC_ADDRESS is not set
  158. CONFIG_FOUR_UNIVERSAL_MAC_ADDRESS=y
  159. CONFIG_NUMBER_OF_UNIVERSAL_MAC_ADDRESS=4
  160. CONFIG_SYSTEM_EVENT_QUEUE_SIZE=32
  161. CONFIG_SYSTEM_EVENT_TASK_STACK_SIZE=2304
  162. CONFIG_MAIN_TASK_STACK_SIZE=3584
  163. CONFIG_IPC_TASK_STACK_SIZE=1024
  164. CONFIG_TIMER_TASK_STACK_SIZE=3584
  165. # CONFIG_NEWLIB_STDOUT_LINE_ENDING_CRLF is not set
  166. # CONFIG_NEWLIB_STDOUT_LINE_ENDING_LF is not set
  167. CONFIG_NEWLIB_STDOUT_LINE_ENDING_CR=y
  168. # CONFIG_NEWLIB_STDIN_LINE_ENDING_CRLF is not set
  169. # CONFIG_NEWLIB_STDIN_LINE_ENDING_LF is not set
  170. CONFIG_NEWLIB_STDIN_LINE_ENDING_CR=y
  171. # CONFIG_NEWLIB_NANO_FORMAT is not set
  172. CONFIG_CONSOLE_UART_DEFAULT=y
  173. # CONFIG_CONSOLE_UART_CUSTOM is not set
  174. # CONFIG_CONSOLE_UART_NONE is not set
  175. CONFIG_CONSOLE_UART_NUM=0
  176. CONFIG_CONSOLE_UART_BAUDRATE=115200
  177. # CONFIG_ULP_COPROC_ENABLED is not set
  178. CONFIG_ULP_COPROC_RESERVE_MEM=0
  179. # CONFIG_ESP32_PANIC_PRINT_HALT is not set
  180. CONFIG_ESP32_PANIC_PRINT_REBOOT=y
  181. # CONFIG_ESP32_PANIC_SILENT_REBOOT is not set
  182. # CONFIG_ESP32_PANIC_GDBSTUB is not set
  183. CONFIG_ESP32_DEBUG_OCDAWARE=y
  184. # CONFIG_ESP32_DEBUG_STUBS_ENABLE is not set
  185. CONFIG_INT_WDT=y
  186. CONFIG_INT_WDT_TIMEOUT_MS=300
  187. CONFIG_INT_WDT_CHECK_CPU1=y
  188. CONFIG_TASK_WDT=y
  189. CONFIG_TASK_WDT_PANIC=y
  190. CONFIG_TASK_WDT_TIMEOUT_S=5
  191. CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU0=y
  192. CONFIG_TASK_WDT_CHECK_IDLE_TASK_CPU1=y
  193. CONFIG_BROWNOUT_DET=y
  194. CONFIG_BROWNOUT_DET_LVL_SEL_0=y
  195. # CONFIG_BROWNOUT_DET_LVL_SEL_1 is not set
  196. # CONFIG_BROWNOUT_DET_LVL_SEL_2 is not set
  197. # CONFIG_BROWNOUT_DET_LVL_SEL_3 is not set
  198. # CONFIG_BROWNOUT_DET_LVL_SEL_4 is not set
  199. # CONFIG_BROWNOUT_DET_LVL_SEL_5 is not set
  200. # CONFIG_BROWNOUT_DET_LVL_SEL_6 is not set
  201. # CONFIG_BROWNOUT_DET_LVL_SEL_7 is not set
  202. CONFIG_BROWNOUT_DET_LVL=0
  203. # CONFIG_REDUCE_PHY_TX_POWER is not set
  204. CONFIG_ESP32_TIME_SYSCALL_USE_RTC_FRC1=y
  205. # CONFIG_ESP32_TIME_SYSCALL_USE_RTC is not set
  206. # CONFIG_ESP32_TIME_SYSCALL_USE_FRC1 is not set
  207. # CONFIG_ESP32_TIME_SYSCALL_USE_NONE is not set
  208. CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_RC=y
  209. # CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_CRYSTAL is not set
  210. # CONFIG_ESP32_RTC_CLOCK_SOURCE_EXTERNAL_OSC is not set
  211. # CONFIG_ESP32_RTC_CLOCK_SOURCE_INTERNAL_8MD256 is not set
  212. CONFIG_ESP32_RTC_CLK_CAL_CYCLES=1024
  213. CONFIG_ESP32_DEEP_SLEEP_WAKEUP_DELAY=2000
  214. CONFIG_ESP32_XTAL_FREQ_40=y
  215. # CONFIG_ESP32_XTAL_FREQ_26 is not set
  216. # CONFIG_ESP32_XTAL_FREQ_AUTO is not set
  217. CONFIG_ESP32_XTAL_FREQ=40
  218. # CONFIG_DISABLE_BASIC_ROM_CONSOLE is not set
  219. # CONFIG_ESP_TIMER_PROFILING is not set
  220. CONFIG_COMPATIBLE_PRE_V2_1_BOOTLOADERS=y
  221. # CONFIG_ESP_ERR_TO_NAME_LOOKUP is not set
  222. CONFIG_ESP32_DPORT_DIS_INTERRUPT_LVL=5
  223. CONFIG_SW_COEXIST_ENABLE=y
  224. CONFIG_SW_COEXIST_PREFERENCE_WIFI=y
  225. # CONFIG_SW_COEXIST_PREFERENCE_BT is not set
  226. # CONFIG_SW_COEXIST_PREFERENCE_BALANCE is not set
  227. CONFIG_SW_COEXIST_PREFERENCE_VALUE=0
  228. CONFIG_ESP32_WIFI_STATIC_RX_BUFFER_NUM=10
  229. CONFIG_ESP32_WIFI_DYNAMIC_RX_BUFFER_NUM=32
  230. # CONFIG_ESP32_WIFI_STATIC_TX_BUFFER is not set
  231. CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER=y
  232. CONFIG_ESP32_WIFI_TX_BUFFER_TYPE=1
  233. CONFIG_ESP32_WIFI_DYNAMIC_TX_BUFFER_NUM=32
  234. # CONFIG_ESP32_WIFI_CSI_ENABLED is not set
  235. CONFIG_ESP32_WIFI_AMPDU_TX_ENABLED=y
  236. CONFIG_ESP32_WIFI_TX_BA_WIN=6
  237. CONFIG_ESP32_WIFI_AMPDU_RX_ENABLED=y
  238. CONFIG_ESP32_WIFI_RX_BA_WIN=6
  239. CONFIG_ESP32_WIFI_NVS_ENABLED=y
  240. CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_0=y
  241. # CONFIG_ESP32_WIFI_TASK_PINNED_TO_CORE_1 is not set
  242. CONFIG_ESP32_WIFI_SOFTAP_BEACON_MAX_LEN=752
  243. CONFIG_ESP32_WIFI_MGMT_SBUF_NUM=32
  244. # CONFIG_ESP32_WIFI_DEBUG_LOG_ENABLE is not set
  245. CONFIG_ESP32_WIFI_IRAM_OPT=y
  246. # CONFIG_ESP32_PHY_CALIBRATION_AND_DATA_STORAGE is not set
  247. # CONFIG_ESP32_PHY_INIT_DATA_IN_PARTITION is not set
  248. CONFIG_ESP32_PHY_MAX_WIFI_TX_POWER=20
  249. CONFIG_ESP32_PHY_MAX_TX_POWER=20
  250. # CONFIG_PM_ENABLE is not set
  251. CONFIG_ADC_CAL_EFUSE_TP_ENABLE=y
  252. CONFIG_ADC_CAL_EFUSE_VREF_ENABLE=y
  253. CONFIG_ADC_CAL_LUT_ENABLE=y
  254. # CONFIG_EVENT_LOOP_PROFILING is not set
  255. CONFIG_ESP_HTTP_CLIENT_ENABLE_HTTPS=y
  256. # CONFIG_ESP_HTTP_CLIENT_ENABLE_BASIC_AUTH is not set
  257. CONFIG_HTTPD_MAX_REQ_HDR_LEN=512
  258. CONFIG_HTTPD_MAX_URI_LEN=512
  259. CONFIG_HTTPD_ERR_RESP_NO_DELAY=y
  260. CONFIG_HTTPD_PURGE_BUF_LEN=32
  261. # CONFIG_HTTPD_LOG_PURGE_DATA is not set
  262. # CONFIG_OTA_ALLOW_HTTP is not set
  263. CONFIG_ESP32_ENABLE_COREDUMP_TO_FLASH=y
  264. # CONFIG_ESP32_ENABLE_COREDUMP_TO_UART is not set
  265. # CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE is not set
  266. CONFIG_ESP32_ENABLE_COREDUMP=y
  267. CONFIG_ESP32_CORE_DUMP_MAX_TASKS_NUM=64
  268. CONFIG_DMA_RX_BUF_NUM=10
  269. CONFIG_DMA_TX_BUF_NUM=10
  270. CONFIG_EMAC_L2_TO_L3_RX_BUF_MODE=y
  271. CONFIG_EMAC_CHECK_LINK_PERIOD_MS=2000
  272. CONFIG_EMAC_TASK_PRIORITY=20
  273. CONFIG_EMAC_TASK_STACK_SIZE=3072
  274. # CONFIG_FATFS_CODEPAGE_DYNAMIC is not set
  275. CONFIG_FATFS_CODEPAGE_437=y
  276. # CONFIG_FATFS_CODEPAGE_720 is not set
  277. # CONFIG_FATFS_CODEPAGE_737 is not set
  278. # CONFIG_FATFS_CODEPAGE_771 is not set
  279. # CONFIG_FATFS_CODEPAGE_775 is not set
  280. # CONFIG_FATFS_CODEPAGE_850 is not set
  281. # CONFIG_FATFS_CODEPAGE_852 is not set
  282. # CONFIG_FATFS_CODEPAGE_855 is not set
  283. # CONFIG_FATFS_CODEPAGE_857 is not set
  284. # CONFIG_FATFS_CODEPAGE_860 is not set
  285. # CONFIG_FATFS_CODEPAGE_861 is not set
  286. # CONFIG_FATFS_CODEPAGE_862 is not set
  287. # CONFIG_FATFS_CODEPAGE_863 is not set
  288. # CONFIG_FATFS_CODEPAGE_864 is not set
  289. # CONFIG_FATFS_CODEPAGE_865 is not set
  290. # CONFIG_FATFS_CODEPAGE_866 is not set
  291. # CONFIG_FATFS_CODEPAGE_869 is not set
  292. # CONFIG_FATFS_CODEPAGE_932 is not set
  293. # CONFIG_FATFS_CODEPAGE_936 is not set
  294. # CONFIG_FATFS_CODEPAGE_949 is not set
  295. # CONFIG_FATFS_CODEPAGE_950 is not set
  296. CONFIG_FATFS_CODEPAGE=437
  297. CONFIG_FATFS_LFN_NONE=y
  298. # CONFIG_FATFS_LFN_HEAP is not set
  299. # CONFIG_FATFS_LFN_STACK is not set
  300. CONFIG_FATFS_FS_LOCK=0
  301. CONFIG_FATFS_TIMEOUT_MS=10000
  302. CONFIG_FATFS_PER_FILE_CACHE=y
  303. CONFIG_MB_QUEUE_LENGTH=20
  304. CONFIG_MB_SERIAL_TASK_STACK_SIZE=2048
  305. CONFIG_MB_SERIAL_BUF_SIZE=256
  306. CONFIG_MB_SERIAL_TASK_PRIO=10
  307. # CONFIG_MB_CONTROLLER_SLAVE_ID_SUPPORT is not set
  308. CONFIG_MB_CONTROLLER_NOTIFY_TIMEOUT=20
  309. CONFIG_MB_CONTROLLER_NOTIFY_QUEUE_SIZE=20
  310. CONFIG_MB_CONTROLLER_STACK_SIZE=4096
  311. CONFIG_MB_EVENT_QUEUE_TIMEOUT=20
  312. CONFIG_MB_TIMER_PORT_ENABLED=y
  313. CONFIG_MB_TIMER_GROUP=0
  314. CONFIG_MB_TIMER_INDEX=0
  315. # CONFIG_FREERTOS_UNICORE is not set
  316. CONFIG_FREERTOS_NO_AFFINITY=0x7FFFFFFF
  317. CONFIG_FREERTOS_CORETIMER_0=y
  318. # CONFIG_FREERTOS_CORETIMER_1 is not set
  319. CONFIG_FREERTOS_HZ=1000
  320. CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION=y
  321. # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_NONE is not set
  322. # CONFIG_FREERTOS_CHECK_STACKOVERFLOW_PTRVAL is not set
  323. CONFIG_FREERTOS_CHECK_STACKOVERFLOW_CANARY=y
  324. # CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK is not set
  325. CONFIG_FREERTOS_INTERRUPT_BACKTRACE=y
  326. CONFIG_FREERTOS_THREAD_LOCAL_STORAGE_POINTERS=1
  327. CONFIG_FREERTOS_ASSERT_FAIL_ABORT=y
  328. # CONFIG_FREERTOS_ASSERT_FAIL_PRINT_CONTINUE is not set
  329. # CONFIG_FREERTOS_ASSERT_DISABLE is not set
  330. CONFIG_FREERTOS_IDLE_TASK_STACKSIZE=1536
  331. CONFIG_FREERTOS_ISR_STACKSIZE=1536
  332. # CONFIG_FREERTOS_LEGACY_HOOKS is not set
  333. CONFIG_FREERTOS_MAX_TASK_NAME_LEN=16
  334. # CONFIG_SUPPORT_STATIC_ALLOCATION is not set
  335. CONFIG_TIMER_TASK_PRIORITY=1
  336. CONFIG_TIMER_TASK_STACK_DEPTH=2048
  337. CONFIG_TIMER_QUEUE_LENGTH=10
  338. CONFIG_FREERTOS_QUEUE_REGISTRY_SIZE=0
  339. # CONFIG_FREERTOS_USE_TRACE_FACILITY is not set
  340. # CONFIG_FREERTOS_GENERATE_RUN_TIME_STATS is not set
  341. # CONFIG_FREERTOS_DEBUG_INTERNALS is not set
  342. CONFIG_FREERTOS_CHECK_MUTEX_GIVEN_BY_OWNER=y
  343. # CONFIG_FREERTOS_CHECK_PORT_CRITICAL_COMPLIANCE is not set
  344. # CONFIG_HEAP_POISONING_DISABLED is not set
  345. CONFIG_HEAP_POISONING_LIGHT=y
  346. # CONFIG_HEAP_POISONING_COMPREHENSIVE is not set
  347. # CONFIG_HEAP_TRACING is not set
  348. # CONFIG_HEAP_TASK_TRACKING is not set
  349. # CONFIG_LOG_DEFAULT_LEVEL_NONE is not set
  350. # CONFIG_LOG_DEFAULT_LEVEL_ERROR is not set
  351. # CONFIG_LOG_DEFAULT_LEVEL_WARN is not set
  352. CONFIG_LOG_DEFAULT_LEVEL_INFO=y
  353. # CONFIG_LOG_DEFAULT_LEVEL_DEBUG is not set
  354. # CONFIG_LOG_DEFAULT_LEVEL_VERBOSE is not set
  355. CONFIG_LOG_DEFAULT_LEVEL=3
  356. CONFIG_LOG_COLORS=y
  357. # CONFIG_L2_TO_L3_COPY is not set
  358. # CONFIG_LWIP_IRAM_OPTIMIZATION is not set
  359. CONFIG_LWIP_MAX_SOCKETS=10
  360. # CONFIG_USE_ONLY_LWIP_SELECT is not set
  361. CONFIG_LWIP_SO_REUSE=y
  362. CONFIG_LWIP_SO_REUSE_RXTOALL=y
  363. # CONFIG_LWIP_SO_RCVBUF is not set
  364. # CONFIG_LWIP_IP_FRAG is not set
  365. # CONFIG_LWIP_IP_REASSEMBLY is not set
  366. # CONFIG_LWIP_STATS is not set
  367. # CONFIG_LWIP_ETHARP_TRUST_IP_MAC is not set
  368. CONFIG_ESP_GRATUITOUS_ARP=y
  369. CONFIG_GARP_TMR_INTERVAL=60
  370. CONFIG_TCPIP_RECVMBOX_SIZE=32
  371. CONFIG_LWIP_DHCP_DOES_ARP_CHECK=y
  372. # CONFIG_LWIP_DHCP_RESTORE_LAST_IP is not set
  373. CONFIG_LWIP_DHCPS_LEASE_UNIT=60
  374. CONFIG_LWIP_DHCPS_MAX_STATION_NUM=8
  375. # CONFIG_LWIP_AUTOIP is not set
  376. CONFIG_LWIP_NETIF_LOOPBACK=y
  377. CONFIG_LWIP_LOOPBACK_MAX_PBUFS=8
  378. CONFIG_LWIP_MAX_ACTIVE_TCP=16
  379. CONFIG_LWIP_MAX_LISTENING_TCP=16
  380. CONFIG_TCP_MAXRTX=12
  381. CONFIG_TCP_SYNMAXRTX=6
  382. CONFIG_TCP_MSS=1436
  383. CONFIG_TCP_MSL=60000
  384. CONFIG_TCP_SND_BUF_DEFAULT=5744
  385. CONFIG_TCP_WND_DEFAULT=5744
  386. CONFIG_TCP_RECVMBOX_SIZE=6
  387. CONFIG_TCP_QUEUE_OOSEQ=y
  388. # CONFIG_ESP_TCP_KEEP_CONNECTION_WHEN_IP_CHANGES is not set
  389. CONFIG_TCP_OVERSIZE_MSS=y
  390. # CONFIG_TCP_OVERSIZE_QUARTER_MSS is not set
  391. # CONFIG_TCP_OVERSIZE_DISABLE is not set
  392. CONFIG_LWIP_MAX_UDP_PCBS=16
  393. CONFIG_UDP_RECVMBOX_SIZE=6
  394. CONFIG_TCPIP_TASK_STACK_SIZE=3072
  395. CONFIG_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
  396. # CONFIG_TCPIP_TASK_AFFINITY_CPU0 is not set
  397. # CONFIG_TCPIP_TASK_AFFINITY_CPU1 is not set
  398. CONFIG_TCPIP_TASK_AFFINITY=0x7FFFFFFF
  399. # CONFIG_PPP_SUPPORT is not set
  400. # CONFIG_LWIP_MULTICAST_PING is not set
  401. # CONFIG_LWIP_BROADCAST_PING is not set
  402. CONFIG_LWIP_MAX_RAW_PCBS=16
  403. CONFIG_LWIP_DHCP_MAX_NTP_SERVERS=1
  404. CONFIG_LWIP_SNTP_UPDATE_DELAY=3600000
  405. CONFIG_MBEDTLS_INTERNAL_MEM_ALLOC=y
  406. # CONFIG_MBEDTLS_DEFAULT_MEM_ALLOC is not set
  407. # CONFIG_MBEDTLS_CUSTOM_MEM_ALLOC is not set
  408. CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=16384
  409. # CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN is not set
  410. # CONFIG_MBEDTLS_DEBUG is not set
  411. # CONFIG_MBEDTLS_ECP_RESTARTABLE is not set
  412. # CONFIG_MBEDTLS_CMAC_C is not set
  413. CONFIG_MBEDTLS_HARDWARE_AES=y
  414. CONFIG_MBEDTLS_HARDWARE_MPI=y
  415. # CONFIG_MBEDTLS_MPI_USE_INTERRUPT is not set
  416. CONFIG_MBEDTLS_HARDWARE_SHA=y
  417. CONFIG_MBEDTLS_HAVE_TIME=y
  418. CONFIG_MBEDTLS_HAVE_TIME_DATE=y
  419. # CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT is not set
  420. # CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set
  421. CONFIG_MBEDTLS_TLS_CLIENT_ONLY=y
  422. # CONFIG_MBEDTLS_TLS_DISABLED is not set
  423. CONFIG_MBEDTLS_TLS_CLIENT=y
  424. CONFIG_MBEDTLS_TLS_ENABLED=y
  425. # CONFIG_MBEDTLS_PSK_MODES is not set
  426. CONFIG_MBEDTLS_KEY_EXCHANGE_RSA=y
  427. CONFIG_MBEDTLS_KEY_EXCHANGE_DHE_RSA=y
  428. CONFIG_MBEDTLS_SSL_RENEGOTIATION=y
  429. # CONFIG_MBEDTLS_SSL_PROTO_SSL3 is not set
  430. CONFIG_MBEDTLS_SSL_PROTO_TLS1=y
  431. CONFIG_MBEDTLS_SSL_PROTO_TLS1_1=y
  432. CONFIG_MBEDTLS_SSL_PROTO_TLS1_2=y
  433. # CONFIG_MBEDTLS_SSL_PROTO_DTLS is not set
  434. CONFIG_MBEDTLS_SSL_ALPN=y
  435. CONFIG_MBEDTLS_SSL_SESSION_TICKETS=y
  436. CONFIG_MBEDTLS_AES_C=y
  437. # CONFIG_MBEDTLS_CAMELLIA_C is not set
  438. # CONFIG_MBEDTLS_DES_C is not set
  439. CONFIG_MBEDTLS_RC4_DISABLED=y
  440. # CONFIG_MBEDTLS_RC4_ENABLED_NO_DEFAULT is not set
  441. # CONFIG_MBEDTLS_RC4_ENABLED is not set
  442. # CONFIG_MBEDTLS_BLOWFISH_C is not set
  443. # CONFIG_MBEDTLS_XTEA_C is not set
  444. CONFIG_MBEDTLS_CCM_C=y
  445. CONFIG_MBEDTLS_GCM_C=y
  446. # CONFIG_MBEDTLS_RIPEMD160_C is not set
  447. CONFIG_MBEDTLS_PEM_PARSE_C=y
  448. # CONFIG_MBEDTLS_PEM_WRITE_C is not set
  449. CONFIG_MBEDTLS_X509_CRL_PARSE_C=y
  450. CONFIG_MBEDTLS_X509_CSR_PARSE_C=y
  451. # CONFIG_MBEDTLS_ECP_C is not set
  452. CONFIG_MDNS_MAX_SERVICES=10
  453. # CONFIG_MQTT_PROTOCOL_311 is not set
  454. # CONFIG_MQTT_TRANSPORT_SSL is not set
  455. # CONFIG_MQTT_TRANSPORT_WEBSOCKET is not set
  456. # CONFIG_MQTT_USE_CUSTOM_CONFIG is not set
  457. # CONFIG_MQTT_TASK_CORE_SELECTION_ENABLED is not set
  458. # CONFIG_MQTT_CUSTOM_OUTBOX is not set
  459. # CONFIG_OPENSSL_DEBUG is not set
  460. CONFIG_OPENSSL_ASSERT_DO_NOTHING=y
  461. # CONFIG_OPENSSL_ASSERT_EXIT is not set
  462. CONFIG_ESP32_PTHREAD_TASK_PRIO_DEFAULT=5
  463. CONFIG_ESP32_PTHREAD_TASK_STACK_SIZE_DEFAULT=3072
  464. CONFIG_PTHREAD_STACK_MIN=768
  465. CONFIG_ESP32_DEFAULT_PTHREAD_CORE_NO_AFFINITY=y
  466. # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_0 is not set
  467. # CONFIG_ESP32_DEFAULT_PTHREAD_CORE_1 is not set
  468. CONFIG_ESP32_PTHREAD_TASK_CORE_DEFAULT=-1
  469. CONFIG_ESP32_PTHREAD_TASK_NAME_DEFAULT="pthread"
  470. # CONFIG_SPI_FLASH_VERIFY_WRITE is not set
  471. # CONFIG_SPI_FLASH_ENABLE_COUNTERS is not set
  472. CONFIG_SPI_FLASH_ROM_DRIVER_PATCH=y
  473. CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ABORTS=y
  474. # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_FAILS is not set
  475. # CONFIG_SPI_FLASH_WRITING_DANGEROUS_REGIONS_ALLOWED is not set
  476. CONFIG_SPI_FLASH_YIELD_DURING_ERASE=y
  477. CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS=20
  478. CONFIG_SPI_FLASH_ERASE_YIELD_TICKS=1
  479. CONFIG_SPIFFS_MAX_PARTITIONS=1
  480. CONFIG_SPIFFS_CACHE=y
  481. CONFIG_SPIFFS_CACHE_WR=y
  482. # CONFIG_SPIFFS_CACHE_STATS is not set
  483. # CONFIG_SPIFFS_PAGE_CHECK is not set
  484. CONFIG_SPIFFS_GC_MAX_RUNS=10
  485. # CONFIG_SPIFFS_GC_STATS is not set
  486. CONFIG_SPIFFS_PAGE_SIZE=256
  487. CONFIG_SPIFFS_OBJ_NAME_LEN=32
  488. # CONFIG_SPIFFS_USE_MAGIC is not set
  489. CONFIG_SPIFFS_META_LENGTH=4
  490. # CONFIG_SPIFFS_USE_MTIME is not set
  491. # CONFIG_SPIFFS_DBG is not set
  492. # CONFIG_SPIFFS_API_DBG is not set
  493. # CONFIG_SPIFFS_GC_DBG is not set
  494. # CONFIG_SPIFFS_CACHE_DBG is not set
  495. # CONFIG_SPIFFS_CHECK_DBG is not set
  496. # CONFIG_SPIFFS_TEST_VISUALISATION is not set
  497. CONFIG_IP_LOST_TIMER_INTERVAL=120
  498. CONFIG_TCPIP_LWIP=y
  499. CONFIG_UNITY_ENABLE_FLOAT=y
  500. CONFIG_UNITY_ENABLE_DOUBLE=y
  501. # CONFIG_UNITY_ENABLE_COLOR is not set
  502. CONFIG_UNITY_ENABLE_IDF_TEST_RUNNER=y
  503. # CONFIG_UNITY_ENABLE_FIXTURE is not set
  504. CONFIG_SUPPRESS_SELECT_DEBUG_OUTPUT=y
  505. CONFIG_SUPPORT_TERMIOS=y
  506. # CONFIG_WL_SECTOR_SIZE_512 is not set
  507. CONFIG_WL_SECTOR_SIZE_4096=y
  508. CONFIG_WL_SECTOR_SIZE=4096
  509. CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16

Console log:
  1. c:\Users\yuri\esp\hello_world>idf.py -p COM3 monitor
  2. Note: You are using Python 3.7.3. Python 3 support is new, please report any problems you encounter. Search for 'Setting the Python Interpreter' in the ESP-IDF docs if you want to use Python 2.7.
  3. Checking Python dependencies...
  4. Python requirements from c:\Zentec\lib\espidf331\requirements.txt are satisfied.
  5. Running idf_monitor in directory c:\Users\yuri\esp\hello_world
  6. Executing "C:\Users\yuri\.espressif\python_env\idf3.3_py3.7_env\Scripts\python.exe c:\Zentec\lib\espidf331\tools/idf_monitor.py -p COM3 -b 115200 c:\Users\yuri\esp\hello_world\build\firmware.elf -m 'C:\Users\yuri\.espressif\python_env\idf3.3_py3.7_env\Scripts\python.exe' 'c:\Zentec\lib\espidf331\tools\idf.py' '-p' 'COM3'"...
  7. --- idf_monitor on COM3 115200 ---
  8. --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
  9. ets Jun  8 2016 00:22:57
  10.  
  11. rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  12. configsip: 0, SPIWP:0xee
  13. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  14. mode:DIO, clock div:1
  15. load:0x3fff0018,len:4
  16. load:0x3fff001c,len:6560
  17. ho 0 tail 12 room 4
  18. load:0x40078000,len:11180
  19. load:0x40080400,len:6004
  20. entry 0x40080704
  21. I (66) boot: Chip Revision: 1
  22. I (34) boot: ESP-IDF v3.3.1 2nd stage bootloader
  23. I (34) boot: compile time 11:35:46
  24. I (34) boot: Enabling RNG early entropy source...
  25. I (39) boot: SPI Speed      : 80MHz
  26. I (43) boot: SPI Mode       : DIO
  27. I (47) boot: SPI Flash Size : 4MB
  28. I (51) boot: Partition Table:
  29. I (54) boot: ## Label            Usage          Type ST Offset   Length
  30. I (62) boot:  0 nvs              WiFi data        01 02 00009000 00005000
  31. I (69) boot:  1 otadata          OTA data         01 00 0000e000 00002000
  32. I (77) boot:  2 app0             OTA app          00 10 00010000 00100000
  33. I (84) boot:  3 coredump         Unknown data     01 03 00110000 00040000
  34. I (91) boot: End of partition table
  35. I (96) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06114 ( 24852) map
  36. I (112) esp_image: segment 1: paddr=0x0001613c vaddr=0x3ffbdb60 size=0x02550 (  9552) load
  37. I (116) esp_image: segment 2: paddr=0x00018694 vaddr=0x40080000 size=0x00400 (  1024) load
  38. 0x40080000: _WindowOverflow4 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1779
  39.  
  40. I (123) esp_image: segment 3: paddr=0x00018a9c vaddr=0x40080400 size=0x07574 ( 30068) load
  41. I (141) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x13f68 ( 81768) map
  42. 0x400d0018: _stext at ??:?
  43.  
  44. I (164) esp_image: segment 5: paddr=0x00033f88 vaddr=0x40087974 size=0x01da0 (  7584) load
  45. 0x40087974: xPortGetCoreID at C:/Zentec/lib/espidf331/components/freertos/include/freertos/portable.h:210
  46.  (inlined by) prvProcessTimerOrBlockTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:589
  47.  (inlined by) prvTimerTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:544
  48.  
  49. I (173) boot: Loaded app from partition at offset 0x10000
  50. I (173) boot: Disabling RNG early entropy source...
  51. I (176) cpu_start: Pro cpu up.
  52. I (180) cpu_start: Application information:
  53. I (184) cpu_start: Project name:     esp-idf
  54. I (189) cpu_start: App version:      1
  55. I (194) cpu_start: Compile time:     Jan 16 2020 11:35:28
  56. I (200) cpu_start: ELF file SHA256:  3326b1b89c849ed8...
  57. I (206) cpu_start: ESP-IDF:          v3.3.1
  58. I (211) cpu_start: Starting app cpu, entry point is 0x40081110
  59. 0x40081110: call_start_cpu1 at C:/Zentec/lib/espidf331/components/esp32/cpu_start.c:269
  60.  
  61. I (0) cpu_start: App cpu up.
  62. I (221) heap_init: Initializing. RAM available for dynamic allocation:
  63. I (228) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM
  64. I (235) heap_init: At 3FFC08E8 len 0001F718 (125 KiB): DRAM
  65. I (240) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
  66. I (247) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  67. I (256) heap_init: At 40089714 len 000168EC (90 KiB): IRAM
  68. I (259) cpu_start: Pro cpu start user code
  69. I (53) esp_core_dump_flash: Init core dump to flash
  70. I (53) esp_core_dump_flash: Found partition 'coredump' @ 110000 262144 bytes
  71. I (0) cpu_start: Starting scheduler on APP CPU..check failed: 0xffffffff -> 0xd59a4f1e!
  72. E (10084) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
  73. E (10084) task_wdt:  - myRoutine (CPU 0)
  74. E (10084) task_wdt: Tasks currently running:
  75. E (10084) task_wdt: CPU 0: IDLE0
  76. E (10084) task_wdt: CPU 1: IDLE1
  77. E (10084) task_wdt: Aborting.
  78. abort() was called at PC 0x400d16fc on core 0
  79. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  80.  
  81.  
  82. ELF file SHA256: 3326b1b89c849ed8ee164a8d582122e3bbddf565178d0384b46bd0b880d0412e
  83.  
  84. Backtrace: 0x40088f87:0x3ffbe1e0 0x40089245:0x3ffbe200 0x400d16fc:0x3ffbe220 0x40082841:0x3ffbe240 0x400e3ea3:0x3ffb2830 0x400d1c93:0x3ffb2850 0x40086f69:0x3ffb2870
  85. 0x40088f87: invoke_abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  86.  
  87. 0x40089245: abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  88.  
  89. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  90.  
  91. 0x40082841: _xt_lowint1 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1154
  92.  
  93. 0x400e3ea3: esp_pm_impl_waiti at C:/Zentec/lib/espidf331/components/esp32/pm_esp32.c:492
  94.  
  95. 0x400d1c93: esp_vApplicationIdleHook at C:/Zentec/lib/espidf331/components/esp32/freertos_hooks.c:86
  96.  
  97. 0x40086f69: prvIdleTask at C:/Zentec/lib/espidf331/components/freertos/tasks.c:5063
  98.  
  99.  
  100. I (5124) esp_core_dump_flash: Save core dump to flash...
  101. I (5129) esp_core_dump_common: Found tasks: (8)!
  102. E (5240) esp_core_dump_common: Skipped 1 tasks with bad TCB!
  103. I (5240) esp_core_dump_flash: Core dump has been saved to flash.
  104. Rebooting...
  105. ets Jun  8 2016 00:22:57
  106.  
  107. rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  108. configsip: 0, SPIWP:0xee
  109. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  110. mode:DIO, clock div:1
  111. load:0x3fff0018,len:4
  112. load:0x3fff001c,len:6560
  113. I (85) boot:  3 coredump         Unknown data     01 03 00110000 00040000
  114. I (92) boot: End of partition table
  115. I (96) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06114 ( 24852) map
  116. I (112) esp_image: segment 1: paddr=0x0001613c vaddr=0x3ffbdb60 size=0x02550 (  9552) load
  117. I (117) esp_image: segment 2: paddr=0x00018694 vaddr=0x40080000 size=0x00400 (  1024) load
  118. 0x40080000: _WindowOverflow4 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1779
  119.  
  120. I (123) esp_image: segment 3: paddr=0x00018a9c vaddr=0x40080400 size=0x07574 ( 30068) load
  121. I (142) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x13f68 ( 81768) map
  122. 0x400d0018: _stext at ??:?
  123.  
  124. I (165) esp_image: segment 5: paddr=0x00033f88 vaddr=0x40087974 size=0x01da0 (  7584) load
  125. 0x40087974: xPortGetCoreID at C:/Zentec/lib/espidf331/components/freertos/include/freertos/portable.h:210
  126.  (inlined by) prvProcessTimerOrBlockTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:589
  127.  (inlined by) prvTimerTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:544
  128.  
  129. I (174) boot: Loaded app from partition at offset 0x10000
  130. I (174) boot: Disabling RNG early entropy source...
  131. I (176) cpu_start: Pro cpu up.
  132. I (180) cpu_start: Application information:
  133. I (185) cpu_start: Project name:     esp-idf
  134. I (190) cpu_start: App version:      1
  135. I (194) cpu_start: Compile time:     Jan 16 2020 11:35:28
  136. I (200) cpu_start: ELF file SHA256:  3326b1b89c849ed8...
  137. I (206) cpu_start: ESP-IDF:          v3.3.1
  138. I (211) cpu_start: Starting app cpu, entry point is 0x40081110
  139. 0x40081110: call_start_cpu1 at C:/Zentec/lib/espidf331/components/esp32/cpu_start.c:269
  140.  
  141. I (201) cpu_start: App cpu up.
  142. I (222) heap_init: Initializing. RAM available for dynamic allocation:
  143. I (229) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM
  144. I (235) heap_init: At 3FFC08E8 len 0001F718 (125 KiB): DRAM
  145. I (241) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
  146. I (247) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  147. I (256) heap_init: At 40089714 len 000168EC (90 KiB): IRAM
  148. I (260) cpu_start: Pro cpu start user code
  149. I (54) esp_core_dump_flash: Init core dump to flash
  150. I (54) esp_core_dump_flash: Found partition 'coredump' @ 110000 262144 bytes
  151. I (0) cpu_start: Starting scheduler on APP CPU..check failed: 0xffffffff -> 0xd59a4f1e!
  152. E (10085) task_wdt: CPU 1: IDLE1tly running:red. The following tasks did not reset the watchdog in time:
  153. E (10085) task_wdt: Aborting.
  154. abort() was called at PC 0x400d16fc on core 0
  155. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  156.  
  157.  
  158. ELF file SHA256: 3326b1b89c849ed8ee164a8d582122e3bbddf565178d0384b46bd0b880d0412e
  159.  
  160. Backtrace: 0x40088f87:0x3ffbe1e0 0x40089245:0x3ffbe200 0x400d16fc:0x3ffbe220 0x40082841:0x3ffbe240 0x400e3ea3:0x3ffb2830 0x400d1c93:0x3ffb2850 0x40086f69:0x3ffb2870
  161. 0x40088f87: invoke_abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  162.  
  163. 0x40089245: abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  164.  
  165. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  166.  
  167. 0x40082841: _xt_lowint1 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1154
  168.  
  169. 0x400e3ea3: esp_pm_impl_waiti at C:/Zentec/lib/espidf331/components/esp32/pm_esp32.c:492
  170.  
  171. 0x400d1c93: esp_vApplicationIdleHook at C:/Zentec/lib/espidf331/components/esp32/freertos_hooks.c:86
  172.  
  173. 0x40086f69: prvIdleTask at C:/Zentec/lib/espidf331/components/freertos/tasks.c:5063
  174.  
  175.  
  176. I (5124) esp_core_dump_flash: Save core dump to flash...
  177. I (5130) esp_core_dump_common: Found tasks: (8)!
  178. E (5249) esp_core_dump_common: Skipped 1 tasks with bad TCB!
  179. load:0x40078000,len:11180_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  180. load:0x40080400,len:6004
  181. entry 0x40080704
  182. I (67) boot: Chip Revision: 1
  183. I (34) boot: ESP-IDF v3.3.1 2nd stage bootloader
  184. I (34) boot: compile time 11:35:46
  185. I (34) boot: Enabling RNG early entropy source...
  186. I (39) boot: SPI Speed      : 80MHz
  187. I (43) boot: SPI Mode       : DIO
  188. I (47) boot: SPI Flash Size : 4MB
  189. I (51) boot: Partition Table:
  190. I (55) boot: ## Label            Usage          Type ST Offset   Length
  191. I (62) boot:  0 nvs              WiFi data        01 02 00009000 00005000
  192. I (70) boot:  1 otadata          OTA data         01 00 0000e000 00002000
  193. I (77) boot:  2 app0             OTA app          00 10 00010000 00100000
  194. I (85) boot:  3 coredump         Unknown data     01 03 00110000 00040000
  195. I (92) boot: End of partition table
  196. I (96) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06114 ( 24852) map
  197. I (112) esp_image: segment 1: paddr=0x0001613c vaddr=0x3ffbdb60 size=0x02550 (  9552) load
  198. I (117) esp_image: segment 2: paddr=0x00018694 vaddr=0x40080000 size=0x00400 (  1024) load
  199. 0x40080000: _WindowOverflow4 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1779
  200.  
  201. I (123) esp_image: segment 3: paddr=0x00018a9c vaddr=0x40080400 size=0x07574 ( 30068) load
  202. I (142) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x13f68 ( 81768) map
  203. 0x400d0018: _stext at ??:?
  204.  
  205. I (165) esp_image: segment 5: paddr=0x00033f88 vaddr=0x40087974 size=0x01da0 (  7584) load
  206. 0x40087974: xPortGetCoreID at C:/Zentec/lib/espidf331/components/freertos/include/freertos/portable.h:210
  207.  (inlined by) prvProcessTimerOrBlockTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:589
  208.  (inlined by) prvTimerTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:544
  209.  
  210. I (174) boot: Loaded app from partition at offset 0x10000
  211. I (174) boot: Disabling RNG early entropy source...
  212. I (176) cpu_start: Pro cpu up.
  213. I (180) cpu_start: Application information:
  214. I (185) cpu_start: Project name:     esp-idf
  215. I (190) cpu_start: App version:      1
  216. I (194) cpu_start: Compile time:     Jan 16 2020 11:35:28
  217. I (200) cpu_start: ELF file SHA256:  3326b1b89c849ed8...
  218. I (206) cpu_start: ESP-IDF:          v3.3.1
  219. I (211) cpu_start: Starting app cpu, entry point is 0x40081110
  220. 0x40081110: call_start_cpu1 at C:/Zentec/lib/espidf331/components/esp32/cpu_start.c:269
  221.  
  222. I (201) cpu_start: App cpu up.
  223. I (222) heap_init: Initializing. RAM available for dynamic allocation:
  224. I (229) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM
  225. I (235) heap_init: At 3FFC08E8 len 0001F718 (125 KiB): DRAM
  226. I (241) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
  227. I (247) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  228. I (256) heap_init: At 40089714 len 000168EC (90 KiB): IRAM
  229. I (260) cpu_start: Pro cpu start user code
  230. I (54) esp_core_dump_flash: Init core dump to flash
  231. I (54) esp_core_dump_flash: Found partition 'coredump' @ 110000 262144 bytes
  232. I (0) cpu_start: Starting scheduler on APP CPU..check failed: 0xffffffff -> 0xd59a4f1e!
  233. E (10085) task_wdt: CPU 1: IDLE1tly running:red. The following tasks did not reset the watchdog in time:
  234. E (10085) task_wdt: Aborting.
  235. abort() was called at PC 0x400d16fc on core 0
  236. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  237.  
  238.  
  239. ELF file SHA256: 3326b1b89c849ed8ee164a8d582122e3bbddf565178d0384b46bd0b880d0412e
  240.  
  241. Backtrace: 0x40088f87:0x3ffbe1e0 0x40089245:0x3ffbe200 0x400d16fc:0x3ffbe220 0x40082841:0x3ffbe240 0x400e3ea3:0x3ffb2830 0x400d1c93:0x3ffb2850 0x40086f69:0x3ffb2870
  242. 0x40088f87: invoke_abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  243.  
  244. 0x40089245: abort at C:/Zentec/lib/espidf331/components/esp32/panic.c:715
  245.  
  246. 0x400d16fc: task_wdt_isr at C:/Zentec/lib/espidf331/components/esp32/task_wdt.c:252
  247.  
  248. 0x40082841: _xt_lowint1 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1154
  249.  
  250. 0x400e3ea3: esp_pm_impl_waiti at C:/Zentec/lib/espidf331/components/esp32/pm_esp32.c:492
  251.  
  252. 0x400d1c93: esp_vApplicationIdleHook at C:/Zentec/lib/espidf331/components/esp32/freertos_hooks.c:86
  253.  
  254. 0x40086f69: prvIdleTask at C:/Zentec/lib/espidf331/components/freertos/tasks.c:5063
  255.  
  256.  
  257. I (5124) esp_core_dump_flash: Save core dump to flash...
  258. I (5130) esp_core_dump_common: Found tasks: (8)!
  259. E (5225) esp_core_dump_common: Skipped 1 tasks with bad TCB!
  260. I (5225) esp_core_dump_flash: Core dump has been saved to flash.
  261. Rebooting...
  262. ets Jun  8 2016 00:22:57
  263.  
  264. rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
  265. configsip: 0, SPIWP:0xee
  266. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  267. mode:DIO, clock div:1
  268. load:0x3fff0018,len:4
  269. load:0x3fff001c,len:6560
  270. ho 0 tail 12 room 4
  271. load:0x40078000,len:11180
  272. load:0x40080400,len:6004
  273. entry 0x40080704
  274. I (92) boot: End of partition tableknown data     01 03 00110000 00040000
  275. I (96) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x06114 ( 24852) map
  276. I (112) esp_image: segment 1: paddr=0x0001613c vaddr=0x3ffbdb60 size=0x02550 (  9552) load
  277. I (117) esp_image: segment 2: paddr=0x00018694 vaddr=0x40080000 size=0x00400 (  1024) load
  278. 0x40080000: _WindowOverflow4 at C:/Zentec/lib/espidf331/components/freertos/xtensa_vectors.S:1779
  279.  
  280. I (123) esp_image: segment 3: paddr=0x00018a9c vaddr=0x40080400 size=0x07574 ( 30068) load
  281. I (142) esp_image: segment 4: paddr=0x00020018 vaddr=0x400d0018 size=0x13f68 ( 81768) map
  282. 0x400d0018: _stext at ??:?
  283.  
  284. I (165) esp_image: segment 5: paddr=0x00033f88 vaddr=0x40087974 size=0x01da0 (  7584) load
  285. 0x40087974: xPortGetCoreID at C:/Zentec/lib/espidf331/components/freertos/include/freertos/portable.h:210
  286.  (inlined by) prvProcessTimerOrBlockTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:589
  287.  (inlined by) prvTimerTask at C:/Zentec/lib/espidf331/components/freertos/timers.c:544
  288.  
  289. I (174) boot: Loaded app from partition at offset 0x10000
  290. I (174) boot: Disabling RNG early entropy source...
  291. I (176) cpu_start: Pro cpu up.
  292. I (180) cpu_start: Application information:
  293. I (185) cpu_start: Project name:     esp-idf
  294. I (190) cpu_start: App version:      1
  295. I (194) cpu_start: Compile time:     Jan 16 2020 11:35:28
  296. I (200) cpu_start: ELF file SHA256:  3326b1b89c849ed8...
  297. I (206) cpu_start: ESP-IDF:          v3.3.1
  298. I (211) cpu_start: Starting app cpu, entry point is 0x40081110
  299. 0x40081110: call_start_cpu1 at C:/Zentec/lib/espidf331/components/esp32/cpu_start.c:269
  300.  
  301. I (201) cpu_start: App cpu up.
  302. I (222) heap_init: Initializing. RAM available for dynamic allocation:
  303. I (229) heap_init: At 3FFAE6E0 len 0000F480 (61 KiB): DRAM
  304. I (235) heap_init: At 3FFC08E8 len 0001F718 (125 KiB): DRAM
  305. I (241) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
  306. I (247) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  307. I (256) heap_init: At 40089714 len 000168EC (90 KiB): IRAM
  308. I (260) cpu_start: Pro cpu start user code
  309. I (54) esp_core_dump_flash: Init core dump to flash
  310. I (54) esp_core_dump_flash: Found partition 'coredump' @ 110000 262144 bytes
  311. I (0) cpu_start: Starting scheduler on APP CPU..check failed: 0xffffffff -> 0xd59a4f1e!
  312. myRoutine start
  313.  
  314. c:\Users\yuri\esp\hello_world>c:\Zentec\lib\espidf331\components\espcoredump\espcoredump.py -p COM3 info_corefile build\firmware.elf
  315. espcoredump.py v0.3-dev
  316. esptool.py v2.8
  317. Serial port COM3
  318. Connecting........_____.
  319. Chip is ESP32D0WDQ6 (revision 1)
  320. Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
  321. Crystal is 40MHz
  322. MAC: 30:ae:a4:f7:a5:34
  323. Uploading stub...
  324. Running stub...
  325. Stub running...
  326. 4 (100 %)
  327. 4 (100 %)
  328. Read 4 bytes at 0x110000 in 0.1 seconds (0.4 kbit/s)...
  329. Hard resetting via RTS pin...
  330.  
  331. esptool.py v2.8
  332. Serial port COM3
  333. Connecting........_
  334. Chip is ESP32D0WDQ6 (revision 1)
  335. Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
  336. Crystal is 40MHz
  337. MAC: 30:ae:a4:f7:a5:34
  338. Uploading stub...
  339. Running stub...
  340. Stub running...
  341. 5668 (100 %)
  342. 5668 (100 %)
  343. Read 5668 bytes at 0x110000 in 0.5 seconds (85.3 kbit/s)...
  344. Hard resetting via RTS pin...
  345.  
  346.  
  347. A fatal error occurred: Invalid core dump CRC d59a4f1e, should be ffffffff
Thanks for any help!!!

yurik75
Posts: 2
Joined: Thu Jan 16, 2020 8:50 am

Can't get core dump from flash - Invalid core dump CRC d59a4f1e, should be ffffffff

Postby yurik75 » Wed Jan 22, 2020 2:17 pm

I opened issue #4656 on github

Who is online

Users browsing this forum: No registered users and 6 guests