Arduino Forum

Products => Arduino Due => Topic started by: ralphnev on Jul 11, 2013, 04:42 pm

Title: werid error - No device found
Post by: ralphnev on Jul 11, 2013, 04:42 pm
been working on my second Due for 8 weeks or so 
suddenly i started getting No device found on COM5

i tried the Native port  & can program the device -
but the programming port seems to be kaput ..
Due #1 / the nano / & others work fine ...
tried to change to COM10  no effect ..

anybody seen this before?
Title: Re: werid error - No device found
Post by: ralphnev on Jul 16, 2013, 02:04 pm
reply to my own post :
pretty sure the ATMEGA16U2 has lost its programming ..  
what hardware is needed to reflash it ?

never mind

-- was able to dig up the info / for the record

A) avrdude.exe / avrdude.config is not located where the doc say -- it is in:
    arduino-***/hardware/tools/avr/bin

B) the hexfile is buried pretty deep
    arduino-***/hardware/arduino/sam/firmwares/atmega16u2/Arduino-DUE-usbserial.hex

C) I used a Nano as a AVRISP which has the same pinouts as the UNO descibed in
    http://arduino.cc/en/Hacking/Upgrading16U2Due

D) the Nano would error out ("avrdude: stk500_getsync(): not in sync: resp=0x15") without the required a 120ohm resistor  between Vcc & reset
    http://laclefyoshi.blogspot.ca/2011/01/note-of-caution-for-arduino-isp.html

--- this was all to no avail - my Due still can not be programed via the USB Programming port
to program my Due requires a tenitive connection to the USB native port which resets after every upload (^#&$%&%!!!)