Page 3 of 3

Re: Question about esp32 Flash download through JTAG

Posted: Thu Aug 17, 2017 2:43 pm
by justinmreina
what is the current status on Flash download through JTAG? We are eager, let us know! :)

Re: Question about esp32 Flash download through JTAG

Posted: Thu Aug 17, 2017 4:49 pm
by ESP_igrr
It is implemented and in our tests it works pretty reliably with FT2232-based adaptors. Documentation is here:
http://esp-idf.readthedocs.io/en/latest ... -debugging

There is an issue with JLink which is mentioned one post above in this topic.

The other known issue is that if the application crashes very rapidly (e.g. early in bootloader), then openocd can not reliably start flashing it, getting confused about DSR errors. This is also in the queue to be fixed. But for most usual cases, flashing over JTAG seems to be okay.

Re: Question about esp32 Flash download through JTAG

Posted: Thu Apr 19, 2018 5:10 pm
by vateriim
@ESP_igrr, would you recommend using JTAG for production programming, with considerations to flash encryption, secure boot and panel programming (programming of multiple device at the same time) ?

Re: Question about esp32 Flash download through JTAG

Posted: Fri Apr 20, 2018 4:07 am
by ESP_igrr
No, there is no support for flash encryption and secure boot flows over JTAG. Besides, JTAG should normally be disabled when enabling secure boot, which makes running further steps over JTAG impossible, and still makes UART required as a fallback.

Re: Question about esp32 Flash download through JTAG

Posted: Fri Apr 20, 2018 2:28 pm
by vateriim
Thank you for your clear answer