I (0) cpu_start: App cpu up.
I (1292) spiram: SPI SRAM memory test OK
I (1300) cpu_start: Pro cpu start user code
I (1300) cpu_start: cpu freq: 240000000
I (1300) cpu_start: Application information:
I (1303) cpu_start: Project name: element_wav_amr_sdcard
I (1309) cpu_start: App version: 1
I (1314) cpu_start: Compile time: Jun 22 2022 09:37:30
I (1320) cpu_start: ELF file SHA256: 76ce9430975198cb...
I (1326) cpu_start: ESP-IDF: v4.4-dirty
I (1332) heap_init: Initializing. RAM available for dynamic allocation:
I (1339) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1345) heap_init: At 3FFB32E8 len 0002CD18 (179 KiB): DRAM
I (1351) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1357) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1364) heap_init: At 40094EC4 len 0000B13C (44 KiB): IRAM
I (1371) spiram: Adding pool of 4095K of external SPI memory to heap allocator
I (1379) spi_flash: detected chip: gd
I (1383) spi_flash: flash io: dio
I (1388) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1397) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (1407) ELEMENT_REC_WAV_AMR_SDCARD: [1.0] Mount sdcard
I (1917) ELEMENT_REC_WAV_AMR_SDCARD: [2.0] Start codec chip
W (1937) I2C_BUS: i2c_bus_create:57: I2C bus has been already created, [port:0]
I (1947) ELEMENT_REC_WAV_AMR_SDCARD: [3.0] Create i2s stream to read audio data from codec chip
I (1947) ELEMENT_REC_WAV_AMR_SDCARD: [3.1] Create wav encoder to encode wav format
I (1957) ELEMENT_REC_WAV_AMR_SDCARD: [3.2] Create fatfs stream to write data to sdcard
I (1967) ELEMENT_REC_WAV_AMR_SDCARD: [3.3] Create a ringbuffer and insert it between i2s_stream_reader and wav_encoder
I (1977) ELEMENT_REC_WAV_AMR_SDCARD: [3.4] Create a ringbuffer and insert it between wav_encoder and wav_fatfs_stream_writer
I (1987) ELEMENT_REC_WAV_AMR_SDCARD: [3.5] Set up uri (file as fatfs_stream, wav as wav encoder)
I (1997) ELEMENT_REC_WAV_AMR_SDCARD: [4.0] Create amr encoder to encode wav format
I (2007) ELEMENT_REC_WAV_AMR_SDCARD: [4.1] Create fatfs stream to write data to sdcard
I (2007) ELEMENT_REC_WAV_AMR_SDCARD: [4.2] Create a ringbuffer and insert it between i2s_stream_reader and wav_encoder
I (2027) ELEMENT_REC_WAV_AMR_SDCARD: [4.3] Create a ringbuffer and insert it between wav_encoder and wav_fatfs_stream_writer
I (2037) ELEMENT_REC_WAV_AMR_SDCARD: [4.4] Set up uri (file as fatfs_stream, wav as wav encoder)
I (2047) ELEMENT_REC_WAV_AMR_SDCARD: [5.0] Set callback function for audio_elements
I (2057) ELEMENT_REC_WAV_AMR_SDCARD: [6.0] Set up event listener
I (2057) ELEMENT_REC_WAV_AMR_SDCARD: [7.0] Listening event from peripherals
I (2067) ELEMENT_REC_WAV_AMR_SDCARD: [8.0] Start audio elements
E (2077) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (2097) AUDIO_THREAD: Error creating RestrictedPinnedToCore wav
I (2097) ELEMENT_REC_WAV_AMR_SDCARD: Audio event 8 from wav element
I (2107) ELEMENT_REC_WAV_AMR_SDCARD: Some other event = 1
E (2117) AUDIO_ELEMENT: [wav] audio_thread_create failed
E (2117) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
E (2137) AUDIO_THREAD: Error creating RestrictedPinnedToCore amr
I (2147) ELEMENT_REC_WAV_AMR_SDCARD: Audio event 8 from amr element
I (2147) ELEMENT_REC_WAV_AMR_SDCARD: Some other event = 1
E (2157) AUDIO_ELEMENT: [amr] audio_thread_create failed
W (2167) AUDIO_ELEMENT: [iis-0x3f8073a4] RESUME timeout
I (2167) ELEMENT_REC_WAV_AMR_SDCARD: Audio event 8 from iis element
W (2167) AUDIO_ELEMENT: [wav] Element has not create when AUDIO_ELEMENT_RESUME
I (2177) ELEMENT_REC_WAV_AMR_SDCARD: AEL_STATUS_STATE_RUNNING
W (2187) AUDIO_ELEMENT: [amr] Element has not create when AUDIO_ELEMENT_RESUME
W (2197) AUDIO_ELEMENT: [file-0x3f808914] RESUME timeout
element_wav_amr_sdcard编译运行后出错Not found right xTaskCreateRestrictedPinnedToCore
-
- Posts: 184
- Joined: Fri Dec 15, 2017 2:45 am
Re: element_wav_amr_sdcard编译运行后出错Not found right xTaskCreateRestrictedPinnedToCore
E (2077) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
请按照上面的提示,给你的 IDF 打上 patch 后, 再编译使用。
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first
请按照上面的提示,给你的 IDF 打上 patch 后, 再编译使用。
Re: element_wav_amr_sdcard编译运行后出错Not found right xTaskCreateRestrictedPinnedToCore
task.c
--#if ( ( portUSING_MPU_WRAPPERS == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
++#if ( ( portUSING_MPU_WRAPPERS == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )//zhou
这样后没有报警
--#if ( ( portUSING_MPU_WRAPPERS == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
++#if ( ( portUSING_MPU_WRAPPERS == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )//zhou
这样后没有报警
Who is online
Users browsing this forum: No registered users and 83 guests