Tonight, it suddenly stopped loading code up. I keep getting errors like these:
Code: Select all
** Programming Started **
** Programming Finished in 4932 ms **
** Verify Started **
** Verify OK **
** Programming Started **
Error: timed out while waiting for target halted
Error: xtensa_wait_algorithm: not halted 0, pc 0x4000c2e0, ps 0x60e23
Error: Failed to wait algorithm (-302)!
Error: Algorithm run failed (-302)!
Error: Target is already running an algorithm
Error: Failed to start algorithm (-4)!
Error: Target is already running an algorithm
Error: Failed to start algorithm (-4)!
** Programming Finished in 40496 ms **
** Verify Started **
Error: Target is already running an algorithm
Error: Failed to start algorithm (-4)!
Error: **** Verification failure! ****
Error: target_hash 000...6f726d
Error: file_hash: 21e9f9...4ca966
embedded:startup.tcl:1184: Error: ** Verify Failed **
in procedure 'program_esp'
in procedure 'program_error' called at file "/Users/Psycho/.platformio/packages/tool-openocd-esp32/share/openocd/scripts/target/esp_common.cfg", line 149
at file "embedded:startup.tcl", line 1184
*** [upload] Error 1
Code: Select all
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
debug_tool = esp-prog
upload_protocol = esp-prog
upload_port = /dev/cu.usbserial-14200
lib_deps =
bblanchon/ArduinoJson@^6.20.0
esphome/AsyncTCP-esphome@^2.0.0
Any ideas at all? It's all wired in through a bread board, but would it suddenly become an issue after so long? Would wires just suddenly quit working? They are bread board wires, but still. Is there tools or config options that may give a better idea? I'm going to have to just forego using an ESP-PROG, which is super annoying, if just for the fact that I haven't had to hold down the blasted button every load for the last while. Any help would be awesome, thanks.