Question about esp32 Flash download through JTAG
-
- Posts: 26
- Joined: Tue Jul 18, 2017 10:39 pm
Re: Question about esp32 Flash download through JTAG
what is the current status on Flash download through JTAG? We are eager, let us know!
Re: Question about esp32 Flash download through JTAG
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.
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
@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
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
Thank you for your clear answer
Who is online
Users browsing this forum: Baidu [Spider], Majestic-12 [Bot], MicroController and 73 guests