Page 1 of 1

ESP32-LyraTD-MSC_A V2.1开发板语音识别

Posted: Fri Dec 07, 2018 7:55 am
by flyrobot
您好!

使用ESP32-LyraTD-MSC V2.1开发板,按照网址https://github.com/espressif/esp-avs-sd ... c_alexa_sr 的使用方法,把固件下载到开发板中,重启后板子没有反应,无法配置wifi等后续操作,重启的log日志如下:
  1. rst:0x1 (POWERON_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
  2. flash read err, 1000
  3. ets_main.c 371
  4. ets Jun  8 2016 00:22:57
  5.  
  6. rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
  7. configsip: 0, SPIWP:0xee
  8. clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
  9. mode:DIO, clock div:1
  10. load:0x3fff0018,len:4
  11. load:0x3fff001c,len:5972
  12. load:0x40078000,len:9288
  13. load:0x40080000,len:6056
  14. entry 0x40080330
  15. I (29) boot: ESP-IDF v3.1.1-68-g4070d095d-dirty 2nd stage bootloader
  16. I (29) boot: compile time 15:29:35
  17. I (31) boot: Enabling RNG early entropy source...
  18. I (35) boot: SPI Speed      : 80MHz
  19. I (39) boot: SPI Mode       : DIO
  20. I (43) boot: SPI Flash Size : 4MB
  21. I (47) boot: Partition Table:
  22. I (51) boot: ## Label            Usage          Type ST Offset   Length
  23. I (58) boot:  0 nvs              WiFi data        01 02 00009000 00006000
  24. I (66) boot:  1 phy_init         RF data          01 01 0000f000 00001000
  25. I (73) boot:  2 avs              WiFi data        01 02 00010000 00006000
  26. I (80) boot:  3 factory          factory app      00 00 00020000 00300000
  27. I (88) boot: End of partition table
  28. I (92) esp_image: segment 0: paddr=0x00020020 vaddr=0x3f400020 size=0x181e6c (1580652) map
  29. I (561) esp_image: segment 1: paddr=0x001a1e94 vaddr=0x3ffb0000 size=0x04cbc ( 19644) load
  30. I (568) esp_image: segment 2: paddr=0x001a6b58 vaddr=0x3ffb4cbc size=0x00000 (     0) load
  31. I (568) esp_image: segment 3: paddr=0x001a6b60 vaddr=0x40080000 size=0x00400 (  1024) load
  32. I (577) esp_image: segment 4: paddr=0x001a6f68 vaddr=0x40080400 size=0x090a8 ( 37032) load
  33. I (599) esp_image: segment 5: paddr=0x001b0018 vaddr=0x400d0018 size=0x108f80 (1085312) map
  34. I (914) esp_image: segment 6: paddr=0x002b8fa0 vaddr=0x400894a8 size=0x116a8 ( 71336) load
  35. I (940) esp_image: segment 7: paddr=0x002ca650 vaddr=0x400c0000 size=0x00000 (     0) load
  36. I (940) esp_image: segment 8: paddr=0x002ca658 vaddr=0x50000000 size=0x00000 (     0) load
  37. I (963) boot: Loaded app from partition at offset 0x20000
  38. I (963) boot: Disabling RNG early entropy source...
  39. I (964) spiram: SPI RAM mode: flash 80m sram 80m
  40. I (968) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
  41. I (976) cpu_start: Pro cpu up.
  42. I (979) cpu_start: Starting app cpu, entry point is 0x400814f8
  43. I (0) cpu_start: App cpu up.
  44. I (1486) spiram: SPI SRAM memory test OK
  45. I (1487) heap_init: Initializing. RAM available for dynamic allocation:
  46. I (1487) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
  47. I (1493) heap_init: At 3FFC06F0 len 0001F910 (126 KiB): DRAM
  48. I (1499) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
  49. I (1506) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
  50. I (1512) heap_init: At 4009AB50 len 000054B0 (21 KiB): IRAM
  51. I (1518) cpu_start: Pro cpu start user code
  52. I (1523) spiram: Adding pool of 4096K of external SPI memory to heap allocator
  53. I (1531) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
  54. I (210) cpu_start: Starting scheduler on PRO CPU.
  55. I (0) cpu_start: Starting scheduler on APP CPU.
  56. I (211) alexa: ==== Alexa SDK version: v1.0b1-172316 ====
  57. Registering command: mem-dump
  58. I (261) scli: Initialising UART on port 0
  59. I (261) uart: queue free spaces: 8
  60.  
  61. >> Registering command: task-dump
  62. Registering command: nvs-get
  63. Registering command: nvs-set
  64. Registering command: nvs-erase
  65. Registering command: reboot
  66. Registering command: heap-trace
  67. I (281) wifi: wifi driver task: 3ffcc57c, prio:23, stack:3584, core=1
  68. I (281) wifi: wifi firmware version: 60312e9
  69. I (291) wifi: config NVS flash: disabled
  70. I (291) wifi: config nano formating: disabled
  71. I (291) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
  72. I (301) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
  73. I (311) wifi: Init dynamic tx buffer num: 32
  74. I (321) wifi: Init data frame dynamic rx buffer num: 32
  75. I (321) wifi: Init management frame dynamic rx buffer num: 32
  76. I (331) wifi: Init static tx buffer num: 32
  77. I (331) wifi: Init static rx buffer size: 1600
  78. I (341) wifi: Init static rx buffer num: 10
  79. I (341) wifi: Init dynamic rx buffer num: 32
  80. I (341) conn_mgr: Initialization success
  81. I (351) conn_mgr: Received event: 64
  82. I (351) softap_sm: SoftAP SSID: ESP-Alexa-3dfd
  83. I (421) phy: phy_version: 4000, b6198fa, Sep  3 2018, 15:11:06, 0, 0
  84. I (421) wifi: mode : softAP (30:ae:a4:5f:3d:fd)
  85. I (431) wifi: Init max length of beacon: 752/752
  86. I (431) wifi: Init max length of beacon: 752/752
  87. I (431) conn_mgr: Received event: 128
  88. I (441) alexa: SOFTAP_STARTED event
  89. I (441) protocomm_httpd: Adding endpoint : prov-session
  90. I (451) protocomm_httpd: Adding endpoint : avsconfig
  91. I (451) protocomm_httpd: Adding endpoint : prov-config
2:该链接https://github.com/espressif/esp-adf/tree/master/examples/dueros的例子,我在编译前运行make menuconfig 把硬件选为ESP32-LyraTD-MSC_A V2.1或者V2.2 ,该例程都无法编译通过,错误提示是代码中有些宏定义没有定义,请问,该例程是不是目前还不支持ESP32-LyraTD-MSC类型的开发板?

Re: ESP32-LyraTD-MSC_A V2.1开发板语音识别

Posted: Fri Dec 07, 2018 10:53 am
by ESP_William
关于贵方的问题回复如下:
1. Alexa 你需要使用 https://github.com/espressif/esp-avs-sd ... rov-v2.apk 进行配网

2. ADF 已经支持 ESP32-LyraTD-MSC ,贵方应该是可以直接使用 demo 编译的,贵方先试着把 ADF git submodule update 一下