Hi, I am trying out Visual Micro for ESP32-CAM, currently plugged in MB programmer, via USB on COM5 to my PC. I installed Visual Studio 2022 and Visual Micro version . My goal is to get OTA working.
However, I've got 2 major issues:
1) Compile time is very long, around 25-30 seconds, even if nothing has changed in the code. I enabled Verbose logs, and it seems most of the time is spent in "Deep search for libraries" and "Building core", but the rest is also pretty slow. By comparison, Arduino IDE compiles the same sketch in ~5 seconds.
2) I attempted OTA example from
here, and the initial compile and upload via COM5 works fine, Serial Monitor shows:
Port open
VMDPR_Booting
Ready
IP address: 192.168.1.242
...but trying to upload it via IP does not, it results in "Error Uploading: [WinError 10054] An existing connection was forcibly closed by the remote host".
I have installed Bonjourn service, Visual Micro is able to detect ESP32 IP as per the tutorial. Firewall ports are open, no antivirus running. I am not using boards.txt since I don't have the Pro version yet.
Attaching output from slow compile and failed OTA upload with time stamps, Show Build Properties and Verbose enabled. Also, below is a screenshot of my settings. Please note that Wifi SSID and password have been purposefully redacted from the output.txt