Usb serial / jtag question

javari
Posts: 1
Joined: Tue Jul 23, 2024 11:19 pm

Usb serial / jtag question

Postby javari » Tue Jul 23, 2024 11:26 pm

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!

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Usb serial / jtag question

Postby ESP_Sprite » Wed Jul 24, 2024 1:05 am

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.

Who is online

Users browsing this forum: No registered users and 87 guests