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

Unable to Hard reset ESP32 LyraTD DSPG A V3.1(LED also not glowing on the mic array) #176

Open
ClearVoiceM opened this issue Oct 11, 2022 · 3 comments

Comments

@ClearVoiceM
Copy link

ClearVoiceM commented Oct 11, 2022

Hi,
ESP32 LyraTD DSPG A V3.1 + ESP32 LyraTD DSPG B V1.1 Board connected using FPC. Followd the instructions given in link https://github.com/espressif/esp-va-sdk. Following are the issues i'm facing

  1. 0x400ea124: dbmd5_aec_mode at ??:?

1f6:0x3ffbbdd0 0x400ea1a8:0x3ffbbe00 0x400ea124:0x3ffbbe40 0x4000x400ea1a8: dspg_aec_mode_enter at ??:?

0x400ea124: dbmd5_aec_mode at ??:?

eb1f6:0x3ffbbe60 0x400ea1a8:0x3ffbbe90 |<-CONTINUES
0x400ea1a8: dspg_aec_mode_enter at ??:?

ELF file SHA256: d145f853e68e56d2

Entering gdb stub now.
$T1f#ebGNU gdb (crosstool-NG esp-2020r3) 8.1.0.20180627-git
Copyright (C) 2018 Free Software Foundation, Inc.

  1. After all these steps i end up with the following error
    I (2025) esp_codec_es8311: Initialising esp_codec
    E (2035) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x1, data: 48
    E (2045) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x2, data: 0
    E (2045) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x3, data: 16
    E (2055) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x16, data: 36
    E (2065) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x4, data: 16
    E (2075) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0x5, data: 0
    E (2075) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0xb, data: 0
    E (2085) esp_codec_es8311: ES8311 Write Reg error reg_addr: 0xc, data: 0

3.How to ger the raw mic PCM data. can i use arecord kind of command?
4.How to hard reset the board?(Vol + and vol - did'nt work, Action+mic mute also din'nt work)
Can anyone pls help.

@vikramdattu
Copy link
Contributor

Hello @ClearVoiceM from logs, it seems, your are flashing the firmware build for different board(viz., lyratd_vaquita).
Please remove the build, export AUDIO_BOARD_PATH to lyratd_dspg board and check.

@ClearVoiceM
Copy link
Author

Hi Vikramdattu,
Thanks for the help. After changing the AUDIO_BOARD_PATH it worked perfectly well.
Now can i capture raw PCM mic data into a raw/wav file(rawpcmdata.raw) and analyse the mic data. If yes how to do it? Can you pls help.

Thanks

@vikramdattu
Copy link
Contributor

Hi @ClearVoiceM the SDK itself doesn't provide you with this option. However, if you are keen, you may do some changes in the code to achieve the same.
My favourite is to create a http server (this will need 4 more sockets, so you have to increase MAX sockets as well), and send the data to the cloud from here: https://github.com/espressif/esp-va-sdk/blob/master/components/audio_hal/va_dsp.c#L152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants