Pages: [1]   Go Down
Author Topic: ATMega 16u2 standard driver issues  (Read 2016 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

I'm new to this. Thanks for creating such a great forum. Has been lots of fun learning my way around Arduino so far.

FYI:
Using a work laptop with admin privileges atm, running Windows 7.
Have flip and Arduino installed

I built a midi instrument and loaded some compatible midi firmware onto the 16U2 so it was sending midi data directly to the computer. Wanted to change the original sketch so I reset the chip again and tried to load original hex file onto it via "Update Driver" for Unknown Device in Device Manager.

"Windows could not find driver software for your device".

This seemed weird as it had been working fine (albeit on another computer) so I re-downloaded Arduino from scratch, thinking I'd misplaced my original drivers (they weren't showing up in Program Files).

Same deal.

Also in flip, all the options are grayed out, and com.atmel.flip.IspException is telling me that it "Cannot open USB device".

Any ideas? There's a high chance I'm doing something really noobish (probably with flip) and have simply forgotten how I was able to swap between drivers so easily yesterday.

All help/comments will be very much appreciated.

Cheers
Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You will need to get the 16U2 into DFU mode and then you can use FLIP to load the USBserial firmware into the 16U2 to get back the default upload behavior.

See here for help getting the 16U2 in DFU mode (Same procedure as 8U2) :
http://arduino.cc/en/Hacking/DFUProgramming8U2
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

Thanks for the reply.

I have reset the chip so that it is showing up as unknown device (ie in DFU mode), and have downloaded the updated hex file/driver for the 16u2.

https://github.com/arduino/Arduino/blob/master/hardware/arduino/firmwares/atmegaxxu2/Arduino-COMBINED-dfu-usbserial-atmega16u2-Mega2560-Rev3.hex

When I load this into flip, I am still getting grayed out options, and still can't communicate with the USB.

Any ideas?
Logged

Austin, TX
Offline Offline
God Member
*****
Karma: 12
Posts: 524
carpe diem
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Once the 16U2 is in DFU mode, you will need to install the Atmel DFU drivers that came with the FLIP install.

After that, FLIP will find the device and you can program it.

Since you are programming it in DFU mode, you don't use the "COMBINED" version of the firmware. The "COMBINED" version is only used when you are using an external ISP programmer.

You want this file for DFU mode: ( Make sure you program the correct version for your board; Mega2560 or UNO )

https://github.com/arduino/Arduino/blob/master/hardware/arduino/firmwares/atmegaxxu2/arduino-usbserial/Arduino-usbserial-atmega16u2-Mega2560-Rev3.hex
Logged

Pages: [1]   Go Up
Jump to: