VS Arduino | |
Visual Micro >> Visual Studio 2017, 2019, 2022 >> BasicOTA on ESP32 reboot loop
https://www.visualmicro.com/forums/YaBB.pl?num=1589982821 Message started by Ang on May 20th, 2020 at 1:53pm |
Title: BasicOTA on ESP32 reboot loop Post by Ang on May 20th, 2020 at 1:53pm
Hi, I am trying out BasicOTA example for arduino-esp32 1.0.4, but I have been unsuccessful at loading the uploaded firmware.
OTA using Arduino IDE is fine, but when using Visual Micro (Release 20.03.21.21) the ESP32 never recovers from a reboot loop. Curiously, even when programmed using Visual Micro, I was able to perform OTA update via Arduino IDE without any problems. Yet it goes into a reboot loop when I perform OTA using Visual Micro. Here's what I get from the serial monitor: Code (] ets JunĀ 8 2016 00:22:57 rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:1 load:0x3fff0018,len:4 load:0x3fff001c,len:1216 ho 0 tail 12 room 4 load:0x40078000,len:9720 ho 0 tail 12 room 4 load:0x40080400,len:6352 entry 0x400806b8 /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/queue.c:1442 (xQueueGenericReceive)- assert failed! abort() was called at PC 0x40088869 on core 1 [/code):
I have also attached the build message.. Has anyone encountered this issue? Some pointers would be very much appreciated. Thanks! https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=build_010.txt ( 68 KB | 15
Downloads )
|
Title: Re: BasicOTA on ESP32 reboot loop Post by Simon Hopkinson on May 20th, 2020 at 2:44pm
The "vMicro > Debugging > Debug" option is currently set to Serial, which may be causing an issue as it also creates a UDP connection (it shouldn't cause a conflict)
Can you try disabling this (set to Off) and rebuild and upload to see if this resolves the issue? Upgrading Visual Micro to the latest version may also help as there were changes to the UDP Elements in March 2020. |
Title: Re: BasicOTA on ESP32 reboot loop Post by Ang on May 21st, 2020 at 12:39am
That solved my problem. Thank you very much!
|
VS Arduino » Powered by YaBB 2.6.12! YaBB Forum Software © 2000-2024. All Rights Reserved. |