Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
Unable To Upload To MXCHIP AZ3166 Board in VS 2017 (Read 115 times)
Mark G.
Junior Member
**
Offline



Posts: 5
Re: Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Reply #5 - Jan 13th, 2018 at 12:34am
 
Hi Tim,

Any movement on how this issue?  I'm going to try some other boards with Visual Micro to see if this is something that may is a more systemic issue.

Any way any status or suggestions for a work around beyond hardcoding the directory path would be appreciated.

Regards,

Mark G.
Back to top
 
 
IP Logged
 
Mark G.
Junior Member
**
Offline



Posts: 5
Re: Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Reply #4 - Jan 1st, 2018 at 11:17pm
 
Tim,

I've uploaded the files requested via email to the info@visualmicro.com address.



Regards,

Mark G.
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8184
United Kingdom
Re: Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Reply #3 - Jan 1st, 2018 at 1:52am
 
Thanks, the arduino ide board manager uses the .json file mentioned in the manual install instructions. I used that instead of whatever Microsoft want to install.

Can you please switch on file>preferences>verbose upload in the arduino ide then attempt upload and post the output from the arduino ide.

On my system they are the same except that visual micro uses short path names because we don't use java or nodeJS so we have to cater for possible spaces in unquoted file names.

I'm keen to see the full verbose upload output from arduino thanks
Back to top
 
WWW  
IP Logged
 
Mark G.
Junior Member
**
Offline



Posts: 5
Re: Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Reply #2 - Dec 31st, 2017 at 8:33pm
 
Hi Tim,

Not sure which "install" instructions you're looking for.  Here's a link to the board I'm using

https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/

And the board specifics:

http://mxchip.com/az3166

I've emailed the build file (verbose was enabled) to the email address that you provided.

Regards,

Mark G.
Back to top
« Last Edit: Dec 31st, 2017 at 8:33pm by Mark G. »  
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 8184
United Kingdom
Re: Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Reply #1 - Dec 30th, 2017 at 8:21pm
 
Please give instruction where/how to install the board you are using. Normally a .json url.

Also please switch on vmicro>compiler>verbose and "show build properties". Then try build and upload and copy the resulting output into a .txt file.

Email the txt file to info[at]visualmicro.com or attach to a post after clicking Reply.

Thanks
Back to top
 
WWW  
IP Logged
 
Mark G.
Junior Member
**
Offline



Posts: 5
Unable To Upload To MXCHIP AZ3166 Board in VS 2017
Dec 29th, 2017 at 9:13pm
 
The Arduino environment compiles and uploads without issue.

The VS2017 environment using Visual Micro compiles identically but fails to invoke OpenOCD.exe correctly.

This is the output that is shown when I attempt to do an upload from VS2017:

Uploading 'SensorStatus' to 'MXCHIP AZ3166' using 'COM3'
Uploader started for board MXCHIP AZ3166
Upload method will be: bootloader
Uploading via Bootloader
C:\Users\Mark G Gillen\AppData\Local\arduino15\packages\AZ3166\tools\openocd\0.10.0\bin\openocd.

exe -f C:\Users\MARKGG~1\AppData\Local\ARDUIN~1\packages\AZ3166\tools\openocd\010~1.0/s

cripts/INTERF~1/STLINK~2.CFG -c transport select hla_swd -f C:\Users\MARKGG~1\AppData\Local\ARDUIN~1\packages\AZ3166\tools\openocd\010~1.0/s

cripts/target/stm32f4x.cfg -c "program {{C:\Users\MARKGG~1\AppData\Local\Temp\VMBuilds\SENSOR~1\AZ3166~1\Debug/SensorSt

atus.ino.bin}} verify reset 0x800C000; shutdown"
GNU ARM Eclipse 32-bits Open On-Chip Debugger 0.10.0-00114-g8419536 (2017-04-18-22:14)
The uploader process failed
Licensed under GNU GPL v2
For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
interface_transports transport ...
transport
  transport init
  transport list
  transport select [transport_name]
transport : command requires more arguments
in procedure 'transport'
Back to top
« Last Edit: Dec 29th, 2017 at 9:15pm by Mark G. »  
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print