Page 1 of 1

Usb serial / jtag question

Posted: Tue Jul 23, 2024 11:26 pm
by javari
Hello,

I am building a custom board around the esp32-c6-mini-1 module and I was wondering if I could directly flash the in-module spi flash through the built-in usb jtag using the espressif provided openocd or if I needed a real jtag connection ( by burning the efuses ) with a flash loader or the only way to program the chip is by using the internal bootloader.

Sorry if this is a duplicate question but i googled for a bit and did not find a definitive answer.

Thank you!

Re: Usb serial / jtag question

Posted: Wed Jul 24, 2024 1:05 am
by ESP_Sprite
You can. Be aware that on a boot with empty flash, ESPs tend to bootloop, so you may need to force it to download mode to get a proper connection. Also be aware that it may be easier to use the serial mode (using esptool.py) to upload flash; you can also do that over the same hardware.