I want to use skainet code on esp32 s3

Anoopiot
Posts: 10
Joined: Thu Nov 23, 2023 12:51 pm

I want to use skainet code on esp32 s3

Postby Anoopiot » Tue Aug 13, 2024 9:05 am

Hi Folks,

I want to use skainet for esp32s3 devkit wroom 1. I am facing problem the problem in build following are problem with 4.4 idf. when I tries with Idf 5.0 the device reboots after a time and not working properly. please help me to solve this problem if some one have worked on this.


[0/1] Re-running CMake...
-- ccache will be used for faster recompilation
-- Building ESP-IDF components for target esp32s3
CMake Warning at D:/git/esp-idf/tools/cmake/build.cmake:482 (message):
"idf_component.yml" file was found for components:

D:/esp-skainet-master/new/esp-skainet/components/esp-sr

D:/esp-skainet-master/new/esp-skainet/components/esp_codec_dev

However, the component manager is not enabled.
Call Stack (most recent call first):
D:/git/esp-idf/tools/cmake/project.cmake:378 (idf_build_process)
CMakeLists.txt:8 (project)


-- Project sdkconfig file D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/sdkconfig
Loading defaults file D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/sdkconfig.defaults...
Loading defaults file D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/sdkconfig.defaults.esp32s3...
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- App "speech_commands_recognition" version: 79373d3
-- Adding linker script D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/build/esp-idf/esp_system/ld/memory.ld
-- Adding linker script D:/git/esp-idf/components/esp_system/ld/esp32s3/sections.ld.in
-- Adding linker script D:/git/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script D:/git/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script D:/git/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script D:/git/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script D:/git/esp-idf/components/esp_rom/esp32s3/ld/esp32s3.rom.version.ld
-- Adding linker script D:/git/esp-idf/components/soc/esp32s3/ld/esp32s3.peripherals.ld
CMake Error at D:/git/esp-idf/tools/cmake/component.cmake:369 (__component_get_property):
__component_get_property Function invoked with incorrect arguments for
function named: __component_get_property
Call Stack (most recent call first):
D:/esp-skainet-master/new/esp-skainet/components/esp-sr/CMakeLists.txt:81 (idf_component_get_property)


-- Components: app_trace app_update asio bootloader bootloader_support bt cbor cmock coap console cxx driver efuse esp-sr esp-tls esp32s3 esp_adc_cal esp_codec_dev esp_common esp_eth esp_event esp_gdbstub esp_hid esp_http_client esp_http_server esp_https_ota esp_https_server esp_hw_support esp_ipc esp_lcd esp_local_ctrl esp_netif esp_phy esp_pm esp_ringbuf esp_rom esp_serial_slave_link esp_system esp_timer esp_websocket_client esp_wifi espcoredump esptool_py expat fatfs freemodbus freertos hal hardware_driver heap idf_test ieee802154 jsmn json led_strip libsodium log lwip main mbedtls mdns mqtt newlib nghttp nvs_flash openssl openthread partition_table perfmon player protobuf-c protocomm pthread sdmmc soc spi_flash spiffs sr_ringbuf tcp_transport tcpip_adapter tinyusb ulp unity usb vfs wear_levelling wifi_provisioning wpa_supplicant xtensa
-- Component paths: D:/git/esp-idf/components/app_trace D:/git/esp-idf/components/app_update D:/git/esp-idf/components/asio D:/git/esp-idf/components/bootloader D:/git/esp-idf/components/bootloader_support D:/git/esp-idf/components/bt D:/git/esp-idf/components/cbor D:/git/esp-idf/components/cmock D:/git/esp-idf/components/coap D:/git/esp-idf/components/console D:/git/esp-idf/components/cxx D:/git/esp-idf/components/driver D:/git/esp-idf/components/efuse D:/esp-skainet-master/new/esp-skainet/components/esp-sr D:/git/esp-idf/components/esp-tls D:/git/esp-idf/components/esp32s3 D:/git/esp-idf/components/esp_adc_cal D:/esp-skainet-master/new/esp-skainet/components/esp_codec_dev D:/git/esp-idf/components/esp_common D:/git/esp-idf/components/esp_eth D:/git/esp-idf/components/esp_event D:/git/esp-idf/components/esp_gdbstub D:/git/esp-idf/components/esp_hid D:/git/esp-idf/components/esp_http_client D:/git/esp-idf/components/esp_http_server D:/git/esp-idf/components/esp_https_ota D:/git/esp-idf/components/esp_https_server D:/git/esp-idf/components/esp_hw_support D:/git/esp-idf/components/esp_ipc D:/git/esp-idf/components/esp_lcd D:/git/esp-idf/components/esp_local_ctrl D:/git/esp-idf/components/esp_netif D:/git/esp-idf/components/esp_phy D:/git/esp-idf/components/esp_pm D:/git/esp-idf/components/esp_ringbuf D:/git/esp-idf/components/esp_rom D:/git/esp-idf/components/esp_serial_slave_link D:/git/esp-idf/components/esp_system D:/git/esp-idf/components/esp_timer D:/git/esp-idf/components/esp_websocket_client D:/git/esp-idf/components/esp_wifi D:/git/esp-idf/components/espcoredump D:/git/esp-idf/components/esptool_py D:/git/esp-idf/components/expat D:/git/esp-idf/components/fatfs D:/git/esp-idf/components/freemodbus D:/git/esp-idf/components/freertos D:/git/esp-idf/components/hal D:/esp-skainet-master/new/esp-skainet/components/hardware_driver D:/git/esp-idf/components/heap D:/git/esp-idf/components/idf_test D:/git/esp-idf/components/ieee802154 D:/git/esp-idf/components/jsmn D:/git/esp-idf/components/json D:/esp-skainet-master/new/esp-skainet/components/led_strip D:/git/esp-idf/components/libsodium D:/git/esp-idf/components/log D:/git/esp-idf/components/lwip D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/main D:/git/esp-idf/components/mbedtls D:/git/esp-idf/components/mdns D:/git/esp-idf/components/mqtt D:/git/esp-idf/components/newlib D:/git/esp-idf/components/nghttp D:/git/esp-idf/components/nvs_flash D:/git/esp-idf/components/openssl D:/git/esp-idf/components/openthread D:/git/esp-idf/components/partition_table D:/git/esp-idf/components/perfmon D:/esp-skainet-master/new/esp-skainet/components/player D:/git/esp-idf/components/protobuf-c D:/git/esp-idf/components/protocomm D:/git/esp-idf/components/pthread D:/git/esp-idf/components/sdmmc D:/git/esp-idf/components/soc D:/git/esp-idf/components/spi_flash D:/git/esp-idf/components/spiffs D:/esp-skainet-master/new/esp-skainet/components/sr_ringbuf D:/git/esp-idf/components/tcp_transport D:/git/esp-idf/components/tcpip_adapter D:/git/esp-idf/components/tinyusb D:/git/esp-idf/components/ulp D:/git/esp-idf/components/unity D:/git/esp-idf/components/usb D:/git/esp-idf/components/vfs D:/git/esp-idf/components/wear_levelling D:/git/esp-idf/components/wifi_provisioning D:/git/esp-idf/components/wpa_supplicant D:/git/esp-idf/components/xtensa
-- Configuring incomplete, errors occurred!
See also "D:/esp-skainet-master/new/esp-skainet/examples/en_speech_commands_recognition/build/CMakeFiles/CMakeOutput.log".
FAILED: build.ninja
D:\vc_esp\tools\cmake\3.20.3\bin\cmake.exe --regenerate-during-build -SD:\esp-skainet-master\new\esp-skainet\examples\en_speech_commands_recognition -BD:\esp-skainet-master\new\esp-skainet\examples\en_speech_commands_recognition\build
ninja: error: rebuilding 'build.ninja': subcommand failed

* The terminal process "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command ninja " terminated with exit code: 1.

aliarifat794
Posts: 200
Joined: Sun Jun 23, 2024 6:18 pm

Re: I want to use skainet code on esp32 s3

Postby aliarifat794 » Tue Aug 13, 2024 4:20 pm

Regarding the Cmake error, you can see this thread.
https://esp32.com/viewtopic.php?t=28286

Anoopiot
Posts: 10
Joined: Thu Nov 23, 2023 12:51 pm

Re: I want to use skainet code on esp32 s3

Postby Anoopiot » Thu Aug 15, 2024 9:30 am

  1. Build:Mar 27 2021
  2. rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
  3. Saved PC:0x40379c9c
  4. SPIWP:0xee
  5. mode:DIO, clock div:1
  6. load:0x3fce3820,len:0x1918
  7. load:0x403c9700,len:0x4
  8. load:0x403c9704,len:0xe5c
  9. load:0x403cc700,len:0x3028
  10. entry 0x403c993c
  11. [0;32mI (31) boot: ESP-IDF v5.2.2-dirty 2nd stage bootloader[0m
  12. [0;32mI (31) boot: compile time Aug 15 2024 14:31:40[0m
  13. [0;32mI (31) boot: Multicore bootloader[0m
  14. [0;32mI (35) boot: chip revision: v0.2[0m
  15. [0;32mI (39) qio_mode: Enabling default flash chip QIO[0m
  16. [0;32mI (44) boot.esp32s3: Boot SPI Speed : 80MHz[0m
  17. [0;32mI (49) boot.esp32s3: SPI Mode       : QIO[0m
  18. [0;32mI (53) boot.esp32s3: SPI Flash Size : 16MB[0m
  19. [0;32mI (58) boot: Enabling RNG early entropy source...[0m
  20. [0;32mI (64) boot: Partition Table:[0m
  21. [0;32mI (67) boot: ## Label            Usage          Type ST Offset   Length[0m
  22. [0;32mI (75) boot:  0 factory          factory app      00 00 00010000 00200000[0m
  23. [0;32mI (82) boot:  1 model            Unknown data     01 82 00210000 0050c000[0m
  24. [0;32mI (90) boot: End of partition table[0m
  25. [0;32mI (94) esp_image: segment 0: paddr=00010020 vaddr=3c070020 size=bd07ch (774268) map[0m
  26. [0;32mI (219) esp_image: segment 1: paddr=000cd0a4 vaddr=3fc9bb00 size=02f74h ( 12148) load[0m
  27. [0;32mI (222) esp_image: segment 2: paddr=000d0020 vaddr=42000020 size=6cd10h (445712) map[0m
  28. [0;32mI (293) esp_image: segment 3: paddr=0013cd38 vaddr=3fc9ea74 size=027c8h ( 10184) load[0m
  29. [0;32mI (295) esp_image: segment 4: paddr=0013f508 vaddr=40378000 size=13a30h ( 80432) load[0m
  30. [0;32mI (322) boot: Loaded app from partition at offset 0x10000[0m
  31. [0;32mI (322) boot: Disabling RNG early entropy source...[0m
  32. [0;32mI (334) cpu_start: Multicore app[0m
  33. [0;31mE (334) octal_psram: PSRAM ID read error: 0x00000000, PSRAM chip not found or not supported, or wrong PSRAM line mode[0m
  34. [0;31mE (338) cpu_start: Failed to init external RAM![0m
  35.  
  36. abort() was called at PC 0x40379774 on core 0
  37.  
  38.  
  39. Backtrace: 0x40379d26:0x3fceb220 0x40382591:0x3fceb240 0x40389871:0x3fceb260 0x40379774:0x3fceb2d0 0x403cda38:0x3fceb340 0x403cde59:0x3fceb380 0x403c99a5:0x3fceb4b0 0x40045c01:0x3fceb570 0x40043ab6:0x3fceb6f0 0x40034c45:0x3fceb710
  40.  

now facing this problem. esp32s3 is rebooting due to PSRAM ID read error: 0x00000000, PSRAM chip not found or not supported. did anyone faced this problem. how it can be resolved?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: I want to use skainet code on esp32 s3

Postby ESP_Sprite » Fri Aug 16, 2024 3:47 am

Does your devkit have a module with PSRAM? If not, PSRAM won't work, obviously.

Anoopiot
Posts: 10
Joined: Thu Nov 23, 2023 12:51 pm

Re: I want to use skainet code on esp32 s3

Postby Anoopiot » Fri Aug 16, 2024 6:38 am

Thanks ESP_Sprite you are right. I found the same thing, PSRAM is not available in my module. My module is esp32s3 wroom 1 with N8 which don't have the PSRAM. So, need to use esp32s3 wroom 1 module with PSRAM, N8R2 or N8R8. I have ordered new one.

Who is online

Users browsing this forum: No registered users and 2 guests