cool tech zone zone
Faster programming? - Printable Version

+- cool tech zone zone (https://forum.cooltech.zone)
+-- Forum: Tangara (https://forum.cooltech.zone/forumdisplay.php?fid=3)
+--- Forum: Firmware Development (https://forum.cooltech.zone/forumdisplay.php?fid=7)
+--- Thread: Faster programming? (/showthread.php?tid=123)



Faster programming? - Schrockwell - 2025-01-31

Is there a tip to improve the programming time when iterating on the firmware? Currently I am doing

Code:
idf.py build
idf.py flash

and the flash step takes foreverrrrr


RE: Faster programming? - jacqueline - 2025-01-31

Hi! You can pass a `--baud` argument to idf.py flash to flash at much higher speeds than the default. 1000000 is usually pretty reliable, but you can push it to 1500000 or even 2000000 if you don't mind occasional flaky flash failures


RE: Faster programming? - Schrockwell - 2025-02-01

(2025-01-31, 10:17 PM)jacqueline Wrote: Hi! You can pass a `--baud` argument to idf.py flash to flash at much higher speeds than the default. 1000000 is usually pretty reliable, but you can push it to 1500000 or even 2000000 if you don't mind occasional flaky flash failures

Fantastic, thank you. The total time to flash at 2 Mbps is around 60 seconds – does that sound typical?


RE: Faster programming? - Be - 2025-02-01

(2025-02-01, 01:51 AM)Schrockwell Wrote:
(2025-01-31, 10:17 PM)jacqueline Wrote: Hi! You can pass a `--baud` argument to idf.py flash to flash at much higher speeds than the default. 1000000 is usually pretty reliable, but you can push it to 1500000 or even 2000000 if you don't mind occasional flaky flash failures

Fantastic, thank you. The total time to flash at 2 Mbps is around 60 seconds – does that sound typical?

Yep, it takes about a minute for me. 2 Mbps may save a few seconds compared to 1 Mbps but it's much less reliable above 1 Mbps.