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 Error Uploading to NAVSPARK Boards (Read 5117 times)
AdamW
Newbies
*
Offline


Posts: 3
Joined: Jan 31st, 2016
Error Uploading to NAVSPARK Boards
Jan 31st, 2016 at 4:58am
Print Post  
Hello! I've been using Visual Micro for a little while now with arduino boards and my 8266's, but I just tried uploading a sketch to a NavSpark Mini Board and the sketch compiled fine, but uploading failed with the following error:

Code
Select All
Uploading to I/O board using 'COM8'
Uploader started for board NavSpark-mini w/ Leon3 with GNSS library
Upload method will be: bootloader
Uploading via Bootloader
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude -C"C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -pv8 -cNavSpark -P\\.\COM8 -D -V avspark_NavSparkMini_venus822g\demo_hello_world.hex":i
avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf"
avrdude: Can't find programmer id "NavSpark"
Valid programmers are:
  2232HIO          = FT2232H based generic programmer [C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf:405]
  4232h            = FT4232H based generic programmer [C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf:433]
  89isp            = Atmel at89isp cable            [C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf:1180]
  abcmini          = ABCmini Board, aka Dick Smith HOTCHIP [C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf:1079]
  alf              = Nightshade ALF-PgmAVR, http://nightshade.homeip.net/ [C:\Program Files (x86)\Arduino\hardware/tools/avr/etc/avrdude.conf:1039] 



...etc, etc listing a bunch of other available programmers.

When I upload with the arduino IDE, the output after the sketch successfully uploads is the following:

Code
Select All
Sketch uses 664,784 bytes (63%) of program storage space. Maximum is 1,048,576 bytes.
.1/NavSparkDownloadCmd -p COM8 -b 115200 -i p.bin -s 115200


NavSpark image update finished. 



It looks like Visual Micro is trying to use avrdude as the programmer, even though it shouldn't, and doesn't in the arduino IDE. 

Is there something that I am setting wrong that is making this happen? I thought Visual Micro just utilized the arduino IDE in the background. 

Any Help is appreciated. 

Whether I can upload in Visual Micro or not I'm still using it for coding, I really like the interface.

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error Uploading to NAVSPARK Boards
Reply #1 - Jan 31st, 2016 at 12:43pm
Print Post  
Hi,

Thanks for the post. Please state which arduino ide version and also a url to install the navspark board you are using
  
Back to top
IP Logged
 
AdamW
Newbies
*
Offline


Posts: 3
Joined: Jan 31st, 2016
Re: Error Uploading to NAVSPARK Boards
Reply #2 - Jan 31st, 2016 at 1:15pm
Print Post  
I'm using Ver. 1.6.5 of the Arduino IDE.

The info for installing the Navspark boards can be found in section 10 of this PDF: http://navspark.mybigcommerce.com/content/NavSpark-User-Guide_rev0.9.pdf

I also have teensy (3.2) and maple (mini) boards coming in which use different programmers, will these also have the same issues (I don't have them in hand yet to test)? 

Thanks for the help!
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error Uploading to NAVSPARK Boards
Reply #3 - Jan 31st, 2016 at 7:35pm
Print Post  
Hi,

The NavStar defines a non existent programming tool but does provide valid upload instructions elsewhere in the config which is a first for any hardware I have seen previously.   

Visual Micro (1601.31) has been updated to cater for this situation so the upload should work okay now. 

There are a couple of other minor tweaks to help with navstar. Read more in the release notes

Interested to know if the debugger works okay.

Quote:
I also have teensy (3.2) and maple (mini) boards coming in which use different programmers, will these also have the same issues (I don't have them in hand yet to test)?


Teensy is usually pretty tidy because Paul at pjrc.com, who makes Teensy, is closely involved with the Arduino Ide development.

If you are considering the Maple Ide last I heard windows development has stopped but I know a few users with maple and they made sure visual micro worked with it but the auto-reset can be an issue. You might need to ensure that .net3.5 is installed if you get an upload problem. Feel free to report how you get on in a new thread. I just checked the maple site and it still says that windows support is non-existent last tested with with Windows Xp. Anyhow all I can say is last I heard it was OK.

  
Back to top
IP Logged
 
AdamW
Newbies
*
Offline


Posts: 3
Joined: Jan 31st, 2016
Re: Error Uploading to NAVSPARK Boards
Reply #4 - Feb 1st, 2016 at 2:05am
Print Post  
Thanks for the quick update!  It works for uploading. I haven't tried debugging yet.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint