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 Executable folder changed since Windows 10 Upgrade (Read 2298 times)
paolo48
Junior Member
**
Offline


Posts: 69
Joined: Dec 22nd, 2015
Executable folder changed since Windows 10 Upgrade
Sep 30th, 2018 at 7:20am
Print Post  
Since I upgraded my Windows 10 to anniversary version ,when I try to upload bin files or Spiffs images I got very often error like this:

ESP8266FSUpload.exe
C:\Users\pbecc.DESKTOP-LS8PHJV\onedrive\Arduino\SensorServer\data\config.txt
SPIFFS Creating Image...
[SPIFFS] data   : C:\Users\pbecc.DESKTOP-LS8PHJV\onedrive\Arduino\SensorServer\data
[SPIFFS] size   : 3052
[SPIFFS] page   : 256
[SPIFFS] block  : 8192
/config.txt
SPIFFS Uploading Image...
[SPIFFS] upload : nodemcuv2\Debug\9b2701e665899e9071fad21bf339008c/SensorServer.ino.spiffs.bin
[SPIFFS] IP     : 192.168.1.30
   Impossibile trovare il file specificato (translation:file not found)
SPIFFS Upload failed!

Previously the .bin file was created in the Arduino/project_name/release directory, now it is created in the temporary directory and i get this error message.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Executable folder changed since Windows 10 Upgrade
Reply #1 - Sep 30th, 2018 at 6:54pm
Print Post  
It's unrelated to windows version. I expect you also upgraded visual micro.

Make sure "vmicro>compiler>always copy build output to intermediate" is enabled and also the ">always export binary" menu items
  
Back to top
IP Logged
 
paolo48
Junior Member
**
Offline


Posts: 69
Joined: Dec 22nd, 2015
Re: Executable folder changed since Windows 10 Upgrade
Reply #2 - Oct 2nd, 2018 at 6:40am
Print Post  
Yes I have upgraded Visual Micro too!
I have followed your suggestion but It keep giving same message !

There is a previous file not found message during link:
## recipe.objcopy.hex.pattern
/esptool/esptool.exe" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o ressif_esp32\Release/LoraKeyboardSend.ino.bin" ressif_esp32\Release/LoraKeyboardSend.ino.elf"
     Process: \esptool\esptool.exe" --chip esp32 elf2image --flash_mode "dio" --flash_freq "80m" --flash_size "4MB" -o ressif_esp32\Release/LoraKeyboardSend.ino.bin" ressif_esp32\Release/LoraKeyboardSend.ino.elf"
Impossibile trovare il file specificato

Program LoraKeyboardSend size: 203.060 bytes (used 15% of a 1.310.720 byte maximum) (152,08 secs)
Minimum Memory Usage: 15900 bytes (5% of a 327680 byte maximum)
 
# Export compiled binary to 'Project>Property Pages>Output Directory'
# Destination: /LoraKeyboardSend.ino.esp32.bin

Export Binary: Binary not found. The board definition is incorrect. essif_esp32\Release\LoraKeyboardSend.ino.bin
# Copy build result to 'Project>Property Pages>Intermediate Directory'
# Destination: /

Uploading 'LoraKeyboardSend' to 'ESP32 Dev Module' using 'COM4'
Uploader started for board ESP32 Dev Module
Upload method will be: bootloader
Uploading via Bootloader 
esptool\esptool.exe --chip esp32 --port "COM4" --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 boot_app0.bin 0x1000 tloader_qio_80m.bin 0x10000 32\Release/LoraKeyboardSend.ino.bin" 0x8000 32\Release/LoraKeyboardSend.ino.partitions.bin"
Impossibile trovare il file specificato

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


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Executable folder changed since Windows 10 Upgrade
Reply #3 - Oct 2nd, 2018 at 12:42pm
Print Post  
okay switch on verbose compile and verbose upload and "show build properties". then submit .txt after build

Thanks
  
Back to top
IP Logged
 
paolo48
Junior Member
**
Offline


Posts: 69
Joined: Dec 22nd, 2015
Re: Executable folder changed since Windows 10 Upgrade
Reply #4 - Oct 2nd, 2018 at 1:17pm
Print Post  
I have found what is wrong!
The exe esptool it is not in the right directory!
I have 2 Esp32 core installations : in one esptool is in Esp32/tools/ directory, in the other is in Esp32/tools/esptool/ directory.
Fixing that everything works!
Anyhow , thanks for your suggestions
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint