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
Hot Topic (More than 8 Replies) Uploader reported an error - "unknown board" (Read 5161 times)
Boomalator
Junior Member
**
Offline


Posts: 16
Location: Calgary, Canada
Joined: Mar 9th, 2017
Uploader reported an error - "unknown board"
Mar 9th, 2017 at 7:31am
Print Post  
I can no longer seem to upload from Visual Micro. Arduino IDE works fine. I've tried the "rescan", I've tried reloading the extension. Google talks about this error in the context of python tools, but I don't believe those are loaded. There was one message about a similar error in this forum from 3 years ago, but it didn't help.

  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader reported an error - "unknown board"
Reply #1 - Mar 9th, 2017 at 12:45pm
Print Post  
We need to see the visual micro error. Also please switch on vmicro>compiler>verbose, then try the upload then post the output as a .txt file.

Thanks
  
Back to top
WWW  
IP Logged
 
Boomalator
Junior Member
**
Offline


Posts: 16
Location: Calgary, Canada
Joined: Mar 9th, 2017
Re: Uploader reported an error - "unknown board"
Reply #2 - Mar 9th, 2017 at 6:39pm
Print Post  
Tim@Visual Micro wrote on Mar 9th, 2017 at 12:45pm:
We need to see the visual micro error.


I have posted the exact error that Visual Micro generates.
It _compiles_, it doesn't _upload_.

I will capture verbose output later today (not in front of that PC at the moment).

Here is the error in text format:
   Uploading 'NodeMCU_Breathing_Test' to 'NodeMCU 1.0 (ESP-12E Module)' using 'COM4'
   The uploader returned an error
   error: unknown board: nodemcu
   known boards are: none ck wifio 
   warning: espcomm_sync failed
   error: espcomm_open failed



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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader reported an error - "unknown board"
Reply #3 - Mar 9th, 2017 at 6:47pm
Print Post  
Yes thanks. The verbose output will show useful info
  
Back to top
WWW  
IP Logged
 
Boomalator
Junior Member
**
Offline


Posts: 16
Location: Calgary, Canada
Joined: Mar 9th, 2017
Re: Uploader reported an error - "unknown board"
Reply #4 - Mar 9th, 2017 at 7:04pm
Print Post  
Okay... I found the issue, and a work around. 

I remoted into that system (but the ESP isn't connected.) Apparently, there were too versions of esptool.exe in two subfolders under appdata. 

So, I made the error go away by copying the esptool 0.4.9 to the 0.4.5 folder. 

But:
  • How does Visual Micro decide which one to use? (Arduino IDE found the right one.) 
  • Is it safe to simply delete the old folder?


Code
Select All
Uploading 'NodeMCU_Breathing_Test' to 'NodeMCU 1.0 (ESP-12E Module)' using 'COM4'
Uploader started for board NodeMCU 1.0 (ESP-12E Module)
Upload method will be: bootloader
Uploading via Bootloader
l.exe -vv -cd nodemcu -cb 115200 -cp "COM4" -ca 0x00000 -cf C:\Users\bph\AppData\Local\Temp\VMBuilds\NODEMC~1\ESP826~1\Debug/NODEMC~1.BIN
The uploader returned an error 



(Don't get me wrong, the price for Visual Micro is a pittance compared to the ability to use a real development environment. But this was frustrating last night, for sure.)

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader reported an error - "unknown board"
Reply #5 - Mar 9th, 2017 at 7:21pm
Print Post  
Thanks for the info.

It's possible you have a partial install of a different esp tool chain. The board manager system didn't used to clear tool chains fully. I guess the arduino ide is doing a better job at ignoring it.

I suggest you delete C:\Users\bph\AppData\Local\arduino15\packages\esp8266 folder. Then restart the ide and use board manager to install the latest esp tool chain. That way you will have a clean setup
  
Back to top
WWW  
IP Logged
 
Boomalator
Junior Member
**
Offline


Posts: 16
Location: Calgary, Canada
Joined: Mar 9th, 2017
Re: Uploader reported an error - "unknown board"
Reply #6 - Mar 9th, 2017 at 11:39pm
Print Post  
Tim@Visual Micro wrote on Mar 9th, 2017 at 6:47pm:
The verbose output will show useful info

It certainly did. Gave all the hints I needed. (I'm leaving mine in verbose mode, I think.)
  
Back to top
 
IP Logged
 
Boomalator
Junior Member
**
Offline


Posts: 16
Location: Calgary, Canada
Joined: Mar 9th, 2017
Re: Uploader reported an error - "unknown board"
Reply #7 - Mar 9th, 2017 at 11:40pm
Print Post  
That seems to have cleared it up. I'll play more with the debugging tonight.

Tim@Visual Micro wrote on Mar 9th, 2017 at 7:21pm:
Thanks for the info.

It's possible you have a partial install of a different esp tool chain. The board manager system didn't used to clear tool chains fully. I guess the arduino ide is doing a better job at ignoring it.

I suggest you delete C:\Users\bph\AppData\Local\arduino15\packages\esp8266 folder. Then restart the ide and use board manager to install the latest esp tool chain. That way you will have a clean setup

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Uploader reported an error - "unknown board"
Reply #8 - Mar 10th, 2017 at 5:40am
Print Post  
Great thanks for the update.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint