ESP32-S2的ulp_adc例程无法烧录

one_last_kiss
Posts: 4
Joined: Thu Aug 25, 2022 2:35 am

ESP32-S2的ulp_adc例程无法烧录

Postby one_last_kiss » Tue Sep 06, 2022 1:56 am

开发板:ESP32-S2-DevKitM-1 v1.0
开发环境:win10+espressif-ide(c语言)

我直接打开ulp_adc例程能编译成功,但无法烧录,烧录失败并出现下述信息。(其他例程可以正常烧录)
[1/388] Performing build step for 'ulp_main'
FAILED: esp-idf/main/ulp_main-prefix/src/ulp_main-stamp/ulp_main-build esp-idf/main/ulp_main/ulp_main.bin esp-idf/main/ulp_main/ulp_main.ld esp-idf/main/ulp_main/ulp_main.h esp-idf/main/ulp_main/ulp_main.map esp-idf/main/ulp_main/ulp_main.sym esp-idf/main/ulp_main/esp32.ulp.ld esp-idf/main/ulp_main/ulp_main F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main-prefix/src/ulp_main-stamp/ulp_main-build F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.bin F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.ld F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.h F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.map F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.sym F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/esp32.ulp.ld F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main
cmd.exe /C "cd /D F:\ESP_Workspace\ulp_adc\build\esp-idf\main\ulp_main && F:\ESP-IDF\Espressif\tools\cmake\3.23.1\bin\cmake.exe --build F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main --target build"
[1/4] Linking ASM executable ulp_main
FAILED: ulp_main
cmd.exe /C "cd . && F:\ESP-IDF\Espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin\esp32s2ulp-elf-ld.exe -A elf32-esp32s2ulp -nostdlib CMakeFiles/ulp_main.dir/adc.ulp.S.obj -o ulp_main -T"F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_fsm.ld" -Map="F:/ESP_Workspace/ulp_adc/build/esp-idf/main/ulp_main/ulp_main.map" && cd ."
F:\ESP-IDF\Espressif\tools\esp32s2ulp-elf\2.28.51-esp-20191205\esp32s2ulp-elf-binutils\bin\esp32s2ulp-elf-ld.exe: invalid length for memory region ram
ninja: build stopped: subcommand failed.
[2/388] Performing build step for 'bootloader'
[1/1] cmd.exe /C "cd /D F:\ESP_Workspace\ulp_adc\build\bootloader\esp-idf\esptool_py && python F:/ESP-IDF/Espressif/frameworks/esp-idf-v4.4.2/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 F:/ESP_Workspace/ulp_adc/build/bootloader/bootloader.bin"
Bootloader binary size 0x4950 bytes. 0x26b0 bytes (35%) free.
[3/386] Generating x509_crt_bundle
ninja: build stopped: subcommand failed.
Executing action: flash
Running ninja in directory f:\esp_workspace\ulp_adc\build
Executing "ninja flash"...
ninja failed with exit code 1

例程未更改,但无法下载

能麻烦工作人员帮忙看看吗?

Who is online

Users browsing this forum: No registered users and 77 guests