Hi,
Looking at the 5 posts you made about the dragon there were also lot of arduino ide install issues which I have ignored because you resolved them with a clean Arduino Ide install.
Post A - My project won't compile with Arduino 1.6x and 1.5x but will with 1.x + Want to use Quote:It might be because I had not "properly" installed 1.6.8 using the installer. It said that 1.0.6 was already installed. Yes, reinstalling using the installer fixed that problem, but now I get this error using the Dragon:
avrdude: usbdev_open(): did not find any USB device "usb"
Getting closer to working! Thanks
It's a good idea to uninstall/remove the arduino ide folder before installing a major new version because it can confuse things by leaving old format files behind)
Post B - Using Dragon with Atmel Studio 6.2 Some more discussion about build errors which resolved in another of your threads
You also then asked about the atmel simulator? I explained that you need to use "File>Open object file for debugging" after building with Visual Micro
Post C - Software debug only using simulator? I explained that you need to use "File>Open object file for debugging"
Post D - avrdude & Dragon in cmd line, Arduino IDE, and Atmel or Visual Studio Your report a usb driver error when attempting to upload to the dragon.
I explained the following:-
Quote:Often there is confusion between the usb drivers that atmel studio installs and the ones that avrdude uses.
What is the usb driver that device manager shows as being used by the dragon?
If the driver shows as Jungo then it is probably the problem.
This is another reason why I don't recommend installing atmel studio
I have no idea why atmel would let this confusion happen to their arduino base.
If I am right then this page might help
http://www.visualmicro.com/post/2014/01/17/AvrIsp-MkII-Usb-Driver-for-Arduino.as... Please remember these are standard tools so the Arduino and other forums will also help. I found this similar article with similar solution
http://www.avrfreaks.net/forum/avr-dragon-avrdude-need-correct-port I found your reply confusing and thought it would confuse forum users however you seemed to be able to program and upload your Arduino so I moved into to other priorities.
Your reply seemed to confuse some facts and indicated that you believed you could only use FTDI/Serial upload from the Arduino Ide. This just meant that you need to untick "Always use programmer for upload" in Visual Micro which you had previously ticked in your efforts to use the dragon programmer.
[quote]That is good information, and probably can be used to get things working properly. But it is rather confusing and tedious, so I think for now I will just accept the limitations and proceed with what I really need to do. That is to build an Arduino sketch that can be edited with the Arduino IDE and uploaded to the board using the normal means with the FTDI device. This is so that people with the existing EV charger can replace the buggy sketch they are now using, with a better user interface, and eventually also replace the ugly PCBs now being used with a much improved design that I am working on.
For more information on this project, you can visit the forum where I discuss my involvement with the charger, which is a DIY 10-12 kW battery pack charger for EVs. It has gone through many revisions, with lots of poorly documented "fixes" and "patches" to the hardware and software, and is poorly supported by the developer:
http://www.diyelectriccar.com/forums/showthread.php/10kw-60a-diy-charger-open-so...
Another thread is here, which documents my efforts to provide an upgrade for these chargers:
http://www.diyelectriccar.com/forums/showthread.php/analyzing-troubleshooting-fi...
My ultimate preference would be to use a Microchip PIC instead of an AVR device or Arduino board. I have been using Microchip devices for perhaps 15 years and I am more comfortable with their architecture and software framework, and their debugger/programming tools. I like their software simulator which is very powerful and effective. Atmel also has a similar simulator that I would like to be able to use, but so far I've only been able to do so for simple C projects for the Arduino or ATMega328P.
I think it would be helpful if you could add some of the contents of this forum to the FAQs and maybe even put together an installation script that performs most of the tasks described here and elsewhere. Most people might find these instructions too confusing or dangerous to attempt.
Post E - AVR Dragon with Microsoft Visual Studio and Arduino Pro Mini Started with a report that you wanted to upload using a Dragon programmer so you used the "AVR ISP" option and it failed with an error looking for a port.
I explained that you could use FTDI/Serial by unticking "Always use programmer for upload"
You explained you wanted to use an AVR Dragon
I then gave you some tips of how to extend the Arduino Ide hardware definitions
After some messages you posted these links:-
http://stackoverflow.com/questions/24688215/programming-arduinos-from-a-centralized-location
http://forum.arduino.cc/index.php?topic=329572.0
https://github.com/arduino/Arduino/issues/2075
https://gist.github.com/tsohr/639182ba4b182a0a1c6d
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5-3rd-party-Hardware-speci... http://arduino.stackexchange.com/questions/17411/where-do-avrdude-parameters-get... http://comments.gmane.org/gmane.comp.hardware.arduino.devel/1683 http://www.visualmicro.com/forums/YaBB.pl?num=1410869581 Thinks that it!
Thanks