Command line for ESP32 burning

I tried to burn from my GUI (C#) by invoking it from ShellExecute

Arduino15\\packages\\esp32\\tools\\esptool_py\\3.0.0/esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "main.ino.bin" "main.ino.elf" 

Actually it burns but something goes wrong and program doesn't run.

What do I miss?

I go to a build folder - load main.ino.partitions.bin at address 0x8000 and main.ino.bin at address 0x10000 with flash_download_tool_3.9.2.exe. However program doesn't run. What part do I miss? Why Arduino IDE knows to burn it right and I fail?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.