vscode flash不烧录app.bin文件的问题请教

a2633063
Posts: 1
Joined: Wed Mar 06, 2024 3:36 am

vscode flash不烧录app.bin文件的问题请教

Postby a2633063 » Wed Mar 06, 2024 3:48 am

我使用vscode 的ESP-IDF Visual Studio Code Extension v1.7.0版本 安装相关环境后能够正常编译固件
在自己的工程中,突然出现使用自带的flash功能时,只烧录了BootLoader.bin及分区bin(若有)文件,却不烧录app的bin文件

直接导入examples中的hello word工程,编译后点击flash是正常的

无法烧录app bin文件时终端输出信息如下:

Code: Select all

正在执行任务: D:\Development\esp_idf_5.0.4\python_env\idf5.1_py3.11_env\Scripts\python.exe d:\Development\esp_idf_5.0.4\frameworks\esp-idf-v5.1.2\components\esptool_py\esptool\esptool.py -p COM19 -b 1152000 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash_mode dio --flash_freq 80m --flash_size 8MB 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 

esptool.py v4.7.0
Serial port COM19
Connecting...
Chip is ESP32-S3 (QFN56) (revision v0.2)
Features: WiFi, BLE, Embedded PSRAM 8MB (AP_3v3)
Crystal is 40MHz
MAC: 80:65:99:a0:7c:b8
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 1152000
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Compressed 20672 bytes to 13093...
Wrote 20672 bytes (13093 compressed) at 0x00000000 in 0.5 seconds (effective 314.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 156...
Wrote 3072 bytes (156 compressed) at 0x00008000 in 0.1 seconds (effective 460.0 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
上文中,仅烧录bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 未烧录app的bin文件,查看目录app.bin文件存在,且使用flash_download_tool在对应地址烧录app.bin文件能够正常烧录后正常运行.
怀疑在自己的工程中无意修改了设置导致,请教如果修复此问题?
目前猜测是修改了分区文件后导致,但是未找到修复方法
在build的app-flash_args文件中 lcd_camera.bin前也为生成对应的地址

Code: Select all

--flash_mode dio --flash_freq 80m --flash_size 16MB
 lcd_camera.bin

Who is online

Users browsing this forum: No registered users and 133 guests