How to disable secure boot V2 from esp32s2
Posted: Sun May 09, 2021 1:05 pm
Hİ
I activated secure boot v2 from :
https://docs.espressif.com/projects/esp ... re-boot-v2
I bought an esp prog to debug esp32s2. Openocd not working with secure boot so I want to disable secure boot.
I disabled from menuconfig but still when I try to flash program with this:
(without port specification)
I got this
Can someone know how secure boot will disable ?
I activated secure boot v2 from :
https://docs.espressif.com/projects/esp ... re-boot-v2
I bought an esp prog to debug esp32s2. Openocd not working with secure boot so I want to disable secure boot.
I disabled from menuconfig but still when I try to flash program with this:
Code: Select all
idf.py flash
I got this
Code: Select all
Executing action: flash
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type...
/dev/ttyUSB0 failed to connect: Unsupported Command Error received. Probably this means Secure Download Mode is enabled, autodetection will not work. Need to manually specify the chip.
No serial ports found. Connect a device, or use '-p PORT' option to set a specific port.