Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic nano esp32 OTA strangeness (Read 239 times)
K S
Newbies
*
Offline


Posts: 6
Joined: Dec 14th, 2015
nano esp32 OTA strangeness
Dec 7th, 2024 at 5:09am
Print Post  
I am looking for help with OTA firmware updates.

Regardless of the "port" selection, the upload operation attempts to use the USB. (via dfu_util)

When I use the arduino IDE (version 2.3.4) the OTA upload completes normally

Output from failed upload in VS2022/VM
Uploading 'RGB_Light_nov27a' to 'Arduino Nano ESP32 (nano_nora)' using '192.168.50.56'
Uploader started for board Arduino Nano ESP32 (nano_nora)
Upload method will be: bootloader
Uploading via Bootloader 
-arduino5\dfu-util --device 0x2341:0x0070 -D e/RGB_Light_nov27a.ino.bin" -Q
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util 0.11-arduino4
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

The uploader returned an error
No DFU capable USB device available


Output from successful upload via IDE
Sketch uses 974089 bytes (30%) of program storage space. Maximum is 3145728 bytes.
Global variables use 63080 bytes (19%) of dynamic memory, leaving 264600 bytes for local variables. Maximum is 327680 bytes.
8-arduino.5\tools\espota.exe" -r -i 192.168.50.56 -p 3232 --auth={...snip...}  -f 78/RGB_Light_nov27a.ino.bin"
Sending invitation to 192.168.50.56 

Uploading: [                                                            ] 0% 
Uploading: [                                                            ] 0% 


  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2500
Joined: Feb 13th, 2019
Re: nano esp32 OTA strangeness
Reply #1 - Dec 9th, 2024 at 11:28am
Print Post  
Thanks for the report, we are investigating this and will update this thread when the fix is available....

To workaround this before the fix is available, you can add a local board.txt (vMicro > Add Code > Add Local Board.txt) to the project, and put in the below entry:
upload.tool=esptool_py

If you save the file and restart Visual Studio, the OTA upload should work as expected.
  
Back to top
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2500
Joined: Feb 13th, 2019
Re: nano esp32 OTA strangeness
Reply #2 - Dec 11th, 2024 at 9:27pm
Print Post  
Please install the latest release (2024.1211.0) from the top of the below board, this should resolve the issue with the OTA patterns not being applied correctly (the above override should not be needed in this release):
https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
K S
Newbies
*
Offline


Posts: 6
Joined: Dec 14th, 2015
Re: nano esp32 OTA strangeness
Reply #3 - Dec 14th, 2024 at 8:07pm
Print Post  
The latest release, 2024.1211.0, appears to resolve the issue.

OTA updates to the nano esp32 work as expected.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint