Error programming with ESP-PROG on 5.1.0
See original GitHub issueHello,
Uploading with the same settings was working fine with previous version. (10 mins before it was working, no cable changed/touched, nor settings) After the upgrade I get the following error: (Same with 5000khz speed) (Serial upload works fine)
Building in release mode
Retrieving maximum program size .pio\build\env1\firmware.elf
Checking size .pio\build\env1\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [== ] 15.4% (used 50364 bytes from 327680 bytes)
Flash: [======== ] 79.4% (used 1040622 bytes from 1310720 bytes)
Configuring upload protocol...
AVAILABLE: cmsis-dap, esp-bridge, esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa
CURRENT: upload_protocol = esp-prog
Uploading .pio\build\env1\firmware_merged.bin
Open On-Chip Debugger v0.11.0-esp32-20220706 (2022-07-06-15:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 1
adapter speed: 20000 kHz
DEPRECATED! use 'adapter speed' not 'adapter_khz'
adapter speed: 20000 kHz
** Programming Started **
Error: Invalid offset!
Error: failed erasing sectors 0 to 270
embedded:startup.tcl:1184: Error: ** Programming Failed **
in procedure 'program_esp'
in procedure 'program_error' called at file "C:/Users/Admin/.platformio/packages/tool-openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 171
at file "embedded:startup.tcl", line 1184
*** [upload] Error 1
Platform IO settings:
[platformio]
default_envs = env1
[env:env1]
platform = espressif32@5.1.0
framework = arduino
board = esp32-s2-saola-1
debug_tool = esp-prog
debug_speed = 20000
upload_protocol = esp-prog
; upload_port = COM6
; debug_tool = jlink
build_flags =
-I include
lib_deps =
rlogiacco/CircularBuffer@1.3.3
milesburton/DallasTemperature@^3.11.0
paulstoffregen/OneWire@^2.3.7
bblanchon/ArduinoJson@^6.19.4
ottowinter/ESPAsyncWebServer-esphome@^2.1.0
ayushsharma82/AsyncElegantOTA@^2.2.7
https://github.com/tzapu/WiFiManager/archive/refs/tags/v2.0.11-beta.zip
arduino-libraries/NTPClient@^3.2.1
Issue Analytics
- State:
- Created a year ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Esp-prog debugger cannot start or read any flash from ESP32 ...
Problem Summery I am using an ESP32-S2 board (devkitM-1U) [uses the 'saola' board def] with a esp-prog debugger board and I cannot seem...
Read more >ESP32 programming and debugging with ESP-prog not work
Dear Forum ! I want to program and debug an ESP WROOM32D processor using ESP-Prog. The USB channels of the ESP-Prog are set...
Read more >Introduction to the ESP-Prog Board
ESP -Prog is one of Espressif's development and debugging tools, with functions including automatic firmware downloading, serial communication, ...
Read more >JTAG Debugging - ESP32-C3 - — ESP-IDF Programming ...
Debugging through the USB interface implemented in ESP32-C3 requires to have a chip with revision 3 or newer. Please use other debugging options...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to ... Bug:99472 - "ebuild for flP5 pic programmer software" status:RESOLVED ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems like a bug to me, please temporarily roll back to the previous version of the platform until it’s fixed:
@valeros I found the reason for. Since our main app does not run at address 0x10000 the actual implementation does not work. I found a solution for this for us.