After using #esptool to flash the ESP-S3 based #Heltec WiFi LorRa 32 V4 with #MeshCore firmware, my repeater does not start. lsusb shows: Espressif USB JTAG/serial debug unit. Even tried erase_flash before flashing the firmware, but same result. The ESP/Heltec V4 seems to be stuck in JTAG/programming mode?
Output of esptool, seems normal
hoping @peturdainn knows how I can fix this. It is a remote MeshCore repeater connected to Raspberry Pi on a remote tower. So anything that could save me going up there for physical acess is at least worth a free beer πŸ™‚

@lieven flashing indeed looks normal but did you have any output after that reset?

Worth checking if your ESP32S3 is supported by the project you're flashing (mostly PSRAM size, some packages have incompatible configurations)

I'll have a look later (real life priorities)

@peturdainn The hardware, a Heltec WiFi LoRa 32 V4 is supported by the MeshCore project and heltec_v4_repeater-v1.14.1-467959c-merged.bin is in the release assets. Previously it was running the 1.13 version fine. Maybe the issue is that the board has a LiPo battery connected and the reset via USB does not work properly then?
@peturdainn tried getting output with `minicom -b 115200 -D /dev/ttyACM0` but nothing, no echo and nothing return to commands I typed. When the MeshCore repeater firmware is running, it normally exposes a CLI via USB serial.

@lieven so it does show up as /dev/ttyACM0 which is the expected serial implemented by the USB Serial/JTAG Controller, and I see the V4 no longer has a dedicated USB2serial chip so that all looks as expected.

I don't directly know how you can remotely reset over this interface

@peturdainn even tried the webflasher as a test on identical hardware at home, and it has the same problem. After flashing the device does not reset.
@peturdainn The remote raspberry pi is powered by PoE, so 5 minutes ago I have disabled PoE so the Pi is now powered off. Now I will wait 3 to 4 days for MeshCore repeater board to deplete the LiPo cell.

@lieven oh...

I just found out (TIL) that you can hard reset the board using esptool:

esptool.py --no-stub flash_id

according to this closed issue (haven't tried)
https://github.com/espressif/esptool/issues/910

@peturdainn Just gave that a try and just like the flashing i did previously the last line says "Hard resetting via RTS pin...", but the board does not reset, only after a physical push on the RST button.
@peturdainn Next iteration of my remote repeater will probably have a proto board with mosfets that have their gate connected to the raspi IO pins and that can 'press' the PRG and RST buttons.
@peturdainn ... or a servo to (un)plug the USB cable