Hi Farzan,
The download time relate to the download speed, but also depend on the code size you want to download.
As you know, the UART have speed limit, if you want to quick, I think you also can use the debugger or the programmer to download it.
Eg, you can use the JLINK, and JFLASH download it directly through the SWD interface.
Wish it helps you!
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------