mesmariusz

idf.py flash monitor

Mar 24th, 2022
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.59 KB | None | 0 0
  1. C:\Espressif\frameworks\esp-idf-v4.4\my_project>idf.py flash monitor
  2. Executing action: flash
  3. Serial port COM7
  4. Connecting....
  5. Detecting chip type... Unsupported detection protocol, switching and trying again...
  6. Connecting....
  7. Detecting chip type... ESP32
  8. Running ninja in directory c:\espressif\frameworks\esp-idf-v4.4\my_project\build
  9. Executing "ninja flash"...
  10. [1/5] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4...frameworks/esp-idf-v4.4/my_project/build/app-template.bin"
  11. app-template.bin binary size 0x83c40 bytes. Smallest app partition is 0x100000 bytes. 0x7c3c0 bytes (49%) free.
  12. [2/5] Performing build step for 'bootloader'
  13. [1/1] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.4\my_project\build\bootloader\esp-idf\esptool_py && C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:/Espressif/frameworks/esp-idf-v4.4/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 C:/Espressif/frameworks/esp-idf-v4.4/my_project/build/bootloader/bootloader.bin"
  14. Bootloader binary size 0x62b0 bytes. 0xd50 bytes (12%) free.
  15. [2/3] cmd.exe /C "cd /D C:\Espressif\frameworks\esp-idf-v4.../esp-idf-v4.4/components/esptool_py/run_serial_tool.cmake"
  16. esptool.py esp32 -p COM7 -b 460800 --before=default_reset --after=hard_reset write_flash --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 bootloader/bootloader.bin 0x10000 app-template.bin 0x8000 partition_table/partition-table.binesptool.py v3.2-dev
  17. Serial port COM7
  18. Connecting....
  19. Chip is ESP32-D0WDQ6 (revision 1)
  20. Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
  21. Crystal is 40MHz
  22. MAC: 58:bf:25:93:c9:00
  23. Uploading stub...
  24. Running stub...
  25. Stub running...
  26. Changing baud rate to 460800
  27. Changed.
  28. Configuring flash size...
  29. Flash will be erased from 0x00001000 to 0x00007fff...
  30. Flash will be erased from 0x00010000 to 0x00093fff...
  31. Flash will be erased from 0x00008000 to 0x00008fff...
  32. Compressed 25264 bytes to 15790...
  33. Writing at 0x00001000... (100 %)
  34. Wrote 25264 bytes (15790 compressed) at 0x00001000 in 0.7 seconds (effective 301.9 kbit/s)...
  35. Hash of data verified.
  36. Compressed 539712 bytes to 324436...
  37. Writing at 0x00010000... (5 %)
  38. Writing at 0x0001ae63... (10 %)
  39. Writing at 0x00028145... (15 %)
  40. Writing at 0x0002f85b... (20 %)
  41. Writing at 0x000353a9... (25 %)
  42. Writing at 0x0003b10c... (30 %)
  43. Writing at 0x000405d1... (35 %)
  44. Writing at 0x000459f0... (40 %)
  45. Writing at 0x0004ad71... (45 %)
  46. Writing at 0x00050b9e... (50 %)
  47. Writing at 0x00056e7b... (55 %)
  48. Writing at 0x0005cd58... (60 %)
  49. Writing at 0x00062857... (65 %)
  50. Writing at 0x00068076... (70 %)
  51. Writing at 0x0006dc7d... (75 %)
  52. Writing at 0x00074037... (80 %)
  53. Writing at 0x0007df57... (85 %)
  54. Writing at 0x00084049... (90 %)
  55. Writing at 0x00089c6e... (95 %)
  56. Writing at 0x0008f193... (100 %)
  57. Wrote 539712 bytes (324436 compressed) at 0x00010000 in 8.0 seconds (effective 542.6 kbit/s)...
  58. Hash of data verified.
  59. Compressed 3072 bytes to 103...
  60. Writing at 0x00008000... (100 %)
  61. Wrote 3072 bytes (103 compressed) at 0x00008000 in 0.1 seconds (effective 335.6 kbit/s)...
  62. Hash of data verified.
  63.  
  64. Leaving...
  65. Hard resetting via RTS pin...
  66. Executing action: monitor
  67. Serial port COM7
  68. Connecting.....
  69. Detecting chip type... Unsupported detection protocol, switching and trying again...
  70. Connecting.....
  71. Detecting chip type... ESP32
  72. Running idf_monitor in directory c:\espressif\frameworks\esp-idf-v4.4\my_project
  73. Executing "C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe C:\Espressif\frameworks\esp-idf-v4.4\tools/idf_monitor.py -p COM7 -b 115200 --toolchain-prefix xtensa-esp32-elf- --target esp32 --revision 0 c:\espressif\frameworks\esp-idf-v4.4\my_project\build\app-template.elf -m 'C:\Espressif\python_env\idf4.4_py3.8_env\Scripts\python.exe' 'C:\Espressif\frameworks\esp-idf-v4.4\tools\idf.py'"...
  74. --- WARNING: GDB cannot open serial ports accessed as COMx
  75. --- Using \\.\COM7 instead...
  76. --- idf_monitor on \\.\COM7 115200 ---
  77. --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
  78. ets Jun 8 2016 00:22:57
  79.  
  80. rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
  81. configsip: 0, SPIWP:0xee
  82. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  83. mode:DIO, clock div:2
  84. load:0x3fff0030,len:6612
  85. load:0x40078000,len:14780
  86. load:0x40080400,len:3784
  87. 0x40080400: _init at ??:?
  88.  
  89. entry 0x40080694
  90. I (27) boot: ESP-IDF v4.4 2nd stage bootloader
  91. I (27) boot: compile time 14:13:41
  92. I (27) boot: chip revision: 1
  93. I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
  94. I (37) boot.esp32: SPI Speed : 40MHz
  95. I (41) boot.esp32: SPI Mode : DIO
  96. I (46) boot.esp32: SPI Flash Size : 4MB
  97. I (50) boot: Enabling RNG early entropy source...
  98. I (56) boot: Partition Table:
  99. I (59) boot: ## Label Usage Type ST Offset Length
  100. I (67) boot: 0 nvs WiFi data 01 02 00009000 00006000
  101. I (74) boot: 1 phy_init RF data 01 01 0000f000 00001000
  102. I (82) boot: 2 factory factory app 00 00 00010000 00100000
  103. I (89) boot: End of partition table
  104. I (93) boot_comm: chip revision: 1, min. application chip revision: 0
  105. I (100) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=16dc8h ( 93640) map
  106. I (143) esp_image: segment 1: paddr=00026df0 vaddr=3ffbdb60 size=04474h ( 17524) load
  107. I (150) esp_image: segment 2: paddr=0002b26c vaddr=40080000 size=04dach ( 19884) load
  108. I (158) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=51398h (332696) map
  109. I (279) esp_image: segment 4: paddr=000813c0 vaddr=40084dac size=1283ch ( 75836) load
  110. I (310) esp_image: segment 5: paddr=00093c04 vaddr=50000000 size=00010h ( 16) load
  111. I (322) boot: Loaded app from partition at offset 0x10000
  112. I (322) boot: Disabling RNG early entropy source...
  113. I (334) cpu_start: Pro cpu up.
  114. I (334) cpu_start: Starting app cpu, entry point is 0x40081340
  115. 0x40081340: call_start_cpu1 at C:/Espressif/frameworks/esp-idf-v4.4/components/esp_system/port/cpu_start.c:156
  116.  
  117. I (0) cpu_start: App cpu up.
  118. I (350) cpu_start: Pro cpu start user code
  119. I (350) cpu_start: cpu freq: 160000000
  120. I (350) cpu_start: Application information:
  121. I (355) cpu_start: Project name: app-template
  122. I (360) cpu_start: App version: release_v1.2.3-3-ge7708e7
  123. I (367) cpu_start: Compile time: Mar 24 2022 14:13:02
  124. I (373) cpu_start: ELF file SHA256: 4532b029153834b3...
  125. I (379) cpu_start: ESP-IDF: v4.4
  126. I (384) heap_init: Initializing. RAM available for dynamic allocation:
  127. I (391) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
  128. I (397) heap_init: At 3FFB6388 len 00001C78 (7 KiB): DRAM
  129. I (403) heap_init: At 3FFB9A20 len 00004108 (16 KiB): DRAM
  130. I (409) heap_init: At 3FFCF780 len 00010880 (66 KiB): DRAM
  131. I (415) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
  132. I (421) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  133. I (428) heap_init: At 400975E8 len 00008A18 (34 KiB): IRAM
  134. I (435) spi_flash: detected chip: generic
  135. Bluepad32 (C) 2016-2022 Ricardo Quesada and contributors.
  136. Version: v3.0.1
  137. BTStack: Copyright (C) 2017 BlueKitchen GmbH.
  138. Platform: Arduino
  139. Gap security level: 2
  140. Periodic Inquiry: max=5, min=4, len=3
  141. Max connected gamepads: 4
  142. I (509) BTDM_INIT: BT controller compile version [6a07b06]
  143. I (509) system_api: Base MAC address is not set
  144. I (519) system_api: read default base MAC address from EFUSE
  145. I (529) phy_init: phy_version 4670,719f9f6,Feb 18 2021,17:07:07
  146. W (529) phy_init: failed to load RF calibration data (0x1102), falling back to full calibration
  147. BTstack up and running at 58:BF:25:93:C9:02
  148. HCI not ready, cannot send packet, will again try later. Current state idx=1
  149. HCI not ready, cannot send packet, will Firmware: Bluepad32 for Arduino v3.0.1
Advertisement
Add Comment
Please, Sign In to add comment