-
Notifications
You must be signed in to change notification settings - Fork 134
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
ESP32-S3 Stucked in 'Starting app cpu', 'call_start_cpu1 at xxx' when Running TVM Project Generated by ESP-DL Tools (IDFGH-12803) (AIV-732) #185
Comments
You can first try deleting the following configurations in the sdkconfig.defaults.esp32s3 file, then delete the previous sdkconfig, generate a new one, and recompile and flash the firmware. |
Lots of Thanks for your advice, I will try it later. However I found a more efficient way to deploy the model by using ncnn, and it runs pretty great on esp32! |
hello, I meet the same issue.I use your advice, however, I meet the same error. |
hello. Do you solve this issue? |
Hello, due to the previous TVM method being somewhat immature, it has been suspended from maintenance and iteration. |
Answers checklist.
IDF version.
v5.1.2-release
Espressif SoC revision.
ESP32-S3 (revision v0.1)
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-S3-WROOM-1 development board
Power Supply used.
USB
What is the expected behavior?
I am developing a project based on esp-dl lib, using tvm to auto generate an nn model and deploy on my esp32s3 board, to avoid IRAM overflow, I use PSRAM to restore model's global workspace and it's output.
in /project/components/tvm_model/model/codegen/host/src/default_lib0.c
__attribute__((section(".bss.noinit.tvm"), aligned(16)))
static uint8_t global_workspace[294912];
I modified it as:
//__attribute__((section(".bss.noinit.tvm"), aligned(16)))
static EXT_RAM_BSS_ATTR uint8_t global_workspace[294912];
this progress is from a csdn blog and is proved to be run successfuly by the writer. I followed all the steps in this blog(including add esp_attr.h head file and modify the output_data.h and allow .bss segment placed in external memory )
but after flash the device, it seems to stuck at starting app cpu.
What is the actual behavior?
Steps to reproduce.
add_compile_options(-w)
in CMakeLists.txt to avoid warning, as the compile would stopped by some warnings.I deleted the second parameter in these functions, all the functions I modified in this step has nothing in it, just return 0.
Debug Logs.
More Information.
Not only one development board will occur this problem, I tested two boards from different vendor, which perform the same.
So this may not cause by a hardware fail.
I found a similar issue on esp32 forum but it seems nobody answer.
The text was updated successfully, but these errors were encountered: