Now it seems that atmega16u2 does not appear on the list, can someone tell me what is exactly arduino DUE device port name so I can proceed on upgrading the USB firmware
Here are extract of my Terminal shell showing where i'm stuck, Thanks
Well i've just installed the latest Xcode 4.6 running on Mac OS Lion so have now the latest DFU-programmer from macports The MacPorts Project -- Download & Installation but see below my terminal Shell results, it does NOT know atmega16u8
Maybe it is available on PC but right now, if really the DUE has the atmega16u2, can't erase it neither flash new firmware on the USB chip from a Macintosh.
It would nice someone provides the port device name handling the USB on arduino DUE, confirm it is atmega16u2 !
I just want make sure no blue smoking or destruction of my DUE... with the issue of 5V versus 3.3V !
Please confirm that I just build a 6 wires ribbon to connect directly my MEGA's 6 pins ICSP connector to my DUE's 6 pins ICSP connector.
Via that ribbon, only +5V, GND, SCK, Slave, MOSI and MISO related to SPI protocol.
Of course, I'll power my MEGA via USB connection of my Macintosh but how about my DUE, should it be powered or just receiving energy via its ICSP ?
P.S. I've been able to download Crosspack CrossPack - A Development Environment for Atmel’s AVR Microcontrollers running OK on my Macintosh, still not clear on my side how to properly sequence different actions of MEGA ICSP sketch, learning curve here since i'm more software guy than hardware. For example, i don't understand how via ICSP sketch one can download the HEX file firmware provided by cmaglie !
Yes much better voll agree, the page for upgrading the Atmel16u2 is really nice but I think I would better and nicer for beginner that there would an Name for the Programming Port Atmel in the Boardslist so that anyone can change the firmware easily from the IDE
Here are the issues I encountered so far, I am using Windows to attempt this:
It does not appear that AVRdude exists in the "tools" directory of any of the arduino releases so far. I was able to install WinAVR into a different directory.
I do not know where to find the "avrdude.conf" configuration file for avrdude mentioned here. I've done a lot of searching on the forums here and the arduino site and cannot find it. Can someone please point me to where that file is located? Also, it would be helpful if there was a link to this in the tutorial.
That is as far as I made it using the tutorial. It appears that I need the avrdude.conf file to move forward. Any assistance you can offer is most appreciated.
Ok, I was able to find the correct path for the avrdude inside the arduino folders. I was also able to find the avrdude.conf file. And after a bit of work, I was able to create a command that avrdude would accept and seems to do something. My command looks like this:
That works! I was able to flash the firmware to the 16u2. But, my Due still shows up as "USB device not recognized" in Windows. I guess it must be a further problem. Thanks all.
How does one determine if the OE firmware needs updating?
I ask this because my IDE ver1.5.2 "Arduino-DUE-usbserial.hex" file shows the "last modified" date as being 2/6/2013. That's one day newer than the proposed Arduino-DUE-usbserial-prod-firmware-2013-02-05.hex file. (I'm reading as Feb,6,2013 vs. Feb,5,2013)
I also know, that it is possible for neither of these versions to be actually installed (flashed) into the device from the factory. How do I tell?
Is there a trivial way to check if the 'update' is indeed required for the device in question?
User's Interface:
OS == Win7x64
Have dedicated ICSP tool == False
Have spare UNO == True (Should also be flashed?)
Have spare Mega2560 == True (Should also be flashed?)
You could download the current firmware from the 16u2 and compare it to what is in the ide.
Use ArduinoISP on the UNO as programmer. The avrdude command would look like this:
michaeluna:
Ok, I was able to find the correct path for the avrdude inside the arduino folders. I was also able to find the avrdude.conf file. And after a bit of work, I was able to create a command that avrdude would accept and seems to do something. My command looks like this:
That works! I was able to flash the firmware to the 16u2. But, my Due still shows up as "USB device not recognized" in Windows. I guess it must be a further problem. Thanks all.
(from a newbie) So, if a person wanted to develop a project using the Due development board, then incorporate the Atmel SAM3x cpu, and the ATMEGa 16U2 USB interface, you would have to flash the 16U2 firmware. After you do all of that, you still get a "USB device not recognized" in Windows? Am I to conclude from this that this development board (the DUE) is really not ready as a development board platform? If one cannot take the hardware and incorporate it into another design, it is hard to think of it as a mature development platform. I wonder how long it will take for these issues to be resolved.
After you do all of that, you still get a "USB device not recognized" in Windows?
I flashed the firmware just for fun, and had no problems whatsoever. Of course it's a lot of work: One has to "build" the flasher out of an Arduino Uno and a number of cables, resistors and LEDs, but it was fun. I was using Windows 8 and also had to extend the commmands given in the tutorial a bit (e.g. avrdude.exe and avrdude.conf are not in the same directory, so I hat to use a path before avrdude.conf).
Regards, Martin