Hello everyone, I am having a problem when recording the ESP8266 which is showing the following error:
lucas@LAPTOP-ITCKGE8H:~/esp/teste2/yot-esp-at$ ./build.py -p /dev/ttyUSB0 flash
module_name WROOM-02
platform_name=ESP8266,module_name=WROOM-02
patches check completed for updates.
Checking Python dependencies...
/home/lucas/esp/teste2/yot-esp-at/esp-idf/tools/check_python_dependencies.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Python requirements from /home/lucas/esp/teste2/yot-esp-at/esp-idf/requirements.txt are satisfied.
Adding flash's dependency "all" to list of actions
Executing action: all (aliases: build)
Running ninja in directory /home/lucas/esp/teste2/yot-esp-at/build
Executing "ninja all"...
[1/5] Performing build step for 'bootloader'
ninja: no work to do.
[2/3] Running utility command for customized_bin
generating client_cert.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/client_cert.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_cert/client_cert_00.crt cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_cert/client_cert_01.crt
generating client_key.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/client_key.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_key/client_key_00.key cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_key/client_key_01.key
generating client_ca.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/client_ca.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_ca/client_ca_00.crt cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/client_ca/client_ca_01.crt
generating mqtt_cert.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/mqtt_cert.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/mqtt_cert/mqtt_client.crt
generating mqtt_key.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/mqtt_key.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/mqtt_key/mqtt_client.key
generating mqtt_ca.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/AtPKI.py generate_bin -b /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/mqtt_ca.bin cert /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/mqtt_ca/mqtt_ca.crt
generate parameter bin: platform PLATFORM_ESP8266, module name WROOM-02
generating factory_param.bin: /usr/bin/python /home/lucas/esp/teste2/yot-esp-at/tools/factory_param_generate.py --platform PLATFORM_ESP8266 --module WROOM-02 --bin_name /home/lucas/esp/teste2/yot-esp-at/build/customized_partitions/factory_param.bin --define_file /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/factory_param/factory_param_type.csv --module_file /home/lucas/esp/teste2/yot-esp-at/components/customized_partitions/raw_data/factory_param/factory_param_data.csv --log_file /home/lucas/esp/teste2/yot-esp-at/build/factory/factory_parameter.log
[3/3] Running utility command for factory_bin
0x8000,partition_table/partition-table.bin
0x9000,ota_data_initial.bin
0x0,bootloader/bootloader.bin
0x10000,esp-at.bin
0xf0000,at_customize.bin
0xf8000,customized_partitions/client_cert.bin
0xfa000,customized_partitions/client_key.bin
0xfc000,customized_partitions/client_ca.bin
0x104000,customized_partitions/mqtt_cert.bin
0x106000,customized_partitions/mqtt_key.bin
0x108000,customized_partitions/mqtt_ca.bin
0xf1000,customized_partitions/factory_param.bin
Create /home/lucas/esp/teste2/yot-esp-at/build/factory/factory_WROOM-02.bin for WROOM-02 finished
Executing action: flash
Running esptool.py in directory /home/lucas/esp/teste2/yot-esp-at/build
Executing "/usr/bin/python /home/lucas/esp/teste2/yot-esp-at/esp-idf/components/esptool_py/esptool/esptool.py -p /dev/ttyUSB0 -b 460800 --after hard_reset write_flash @flash_project_args"...
esptool.py -p /dev/ttyUSB0 -b 460800 --after hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 2MB 0x8000 partition_table/partition-table.bin 0x9000 ota_data_initial.bin 0x0 bootloader/bootloader.bin 0x10000 esp-at.bin 0xF0000 at_customize.bin 0xF8000 customized_partitions/client_cert.bin 0xFA000 customized_partitions/client_key.bin 0xFC000 customized_partitions/client_ca.bin 0x104000 customized_partitions/mqtt_cert.bin 0x106000 customized_partitions/mqtt_key.bin 0x108000 customized_partitions/mqtt_ca.bin 0xF1000 customized_partitions/factory_param.bin
usage: esptool write_flash [-h] [--flash_freq {keep,40m,26m,20m,80m}]
[--flash_mode {keep,qio,qout,dio,dout}] [--flash_size FLASH_SIZE]
[--spi-connection SPI_CONNECTION] [--no-progress] [--verify]
[--compress | --no-compress]
<address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: Detected overlap at address: 0xf0000 for file: at_customize.bin
esptool.py failed with exit code 2
idf.py build ret: 2
idf.py build failed
This error happens when I do the following step by step
./build.py menuconfig
-> Component Config
-> AT
[x] AT WEB SERVER COMMAND SUPPORT
Why does this error only happen when this option is active and how can I fix this problem?
NOTE: I want to use the ESP8266 as a WEBSERVER, so I need this function active
Detected overlap at address: 0xf0000 for file: at_customize.bin when AT WEBSERVER COMMAND SUPPORT is set
-
- Posts: 1
- Joined: Thu Feb 15, 2024 6:15 pm
Who is online
Users browsing this forum: No registered users and 5 guests