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 Project fails to load on ESP32 after upgrade (Read 2440 times)
Yanay
Newbies
*
Offline


Posts: 4
Joined: Jul 22nd, 2019
Project fails to load on ESP32 after upgrade
Jul 22nd, 2019 at 6:13am
Print Post  
Something changed in the environment, my project doesn't start anymore (on ESP32).
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)


Smaller/other projects are ok, but even going back (git) to previous version that ran just fine don't work anymore.

Is there a workaround/fix?
Thanks
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Project fails to load on ESP32 after upgrade
Reply #1 - Jul 22nd, 2019 at 12:00pm
Print Post  
Please follow the guide in the yellow box and post the output.

Thanks
  
Back to top
IP Logged
 
Yanay
Newbies
*
Offline


Posts: 4
Joined: Jul 22nd, 2019
Re: Project fails to load on ESP32 after upgrade
Reply #2 - Jul 23rd, 2019 at 6:05am
Print Post  
Thanks for your quick response!
Just to clarify my issue, project compiles, but it fails to load on the ESP32.

Attached is the verbose log.

Is it possible that the flash is damaged, and only bigger programs suffer from this issue? (I don't have another unit yet, is there a way to scan the flash for defects?)

Good day
Smiley
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Yanay
Newbies
*
Offline


Posts: 4
Joined: Jul 22nd, 2019
Re: Project fails to load on ESP32 after upgrade
Reply #3 - Jul 23rd, 2019 at 6:08am
Print Post  
PS, full error on ESP32:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (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:1100
load:0x40078000,len:9232
load:0x40080400,len:6400
entry 0x400806a8

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Project fails to load on ESP32 after upgrade
Reply #4 - Jul 23rd, 2019 at 9:05am
Print Post  
Does the upload work from the arduino ide?
  
Back to top
IP Logged
 
Yanay
Newbies
*
Offline


Posts: 4
Joined: Jul 22nd, 2019
Re: Project fails to load on ESP32 after upgrade
Reply #5 - Jul 23rd, 2019 at 8:08pm
Print Post  
Not sure what exactly you're asking.
My project has an .ino with multiple .c+.h files.
Not sure if this can be compiled with Arduino IDE, I tried but I get a lot of compilation errors (I've been developing it with AtmelStudio+vMicro for a year now)...

I verified I can compile+upload an example project from Arduino IDE and it works.
It's hard to debug when the program doesn't boot at all    Embarrassed
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Project fails to load on ESP32 after upgrade
Reply #6 - Jul 23rd, 2019 at 8:27pm
Print Post  
It looks like you just have a few cpp and ino files in the project. The arduino ide should compile the code correctly.

Please zip and email your project to the email address in the yellow box and also include a link to this post.

Please also switch on "file>preferences>compile verbose" in the arduino ide and post the output after failed build.

Q: Did you also upgrade your esp32 tool chain recently?

Thanks

  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12187
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Project fails to load on ESP32 after upgrade
Reply #7 - Aug 4th, 2019 at 12:21pm
Print Post  
Sorry for the delay. In the release notes you will see that we no longer automatically add includes for the standard library locations such as sketchBook/Libraries. This is now optional because the Arduino IDE does not add the includes.

We had another report here a user had installed a library they were not using but one of the libraries they were using made use of relative path includes that clashed with the unused library. The clash caused the esp to crash at startup.

Sorry for the confusion. The change is in 1908.3+

https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint