Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search Sign up Reseting focus

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

grbl / grbl Public

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atmel FLIP w. 16U2 Problem on Arduino R3 #995

OldSalt1945 opened this issue May 19, 2016 · 15 comments

Atmel FLIP w. 16U2 Problem on Arduino R3 #995

OldSalt1945 opened this issue May 19, 2016 · 15 comments

Comments

OldSalt1945 commented May 19, 2016

When I try to "Load HEX File" with FLIP, I get "Address is out of Range" error.

I'm stuck. I don't know enough to go any further. I've spent hours searching the net to no avail.

I'm trying to cure the USB to Serial transmission errors problem outlined here: https://github.com/grbl/grbl/wiki/Known-Bugs

I am using Win 8.1 communicating with a genuine Arduino UNO R3 recently purchased from Radio Shack. It has the 16U2 chip.

The text was updated successfully, but these errors were encountered:

OldSalt1945 changed the title Atmel FLIP w. 16U2 Problem May 19, 2016 109JB commented May 20, 2016

You have to reset the 16U2 as shown in the link below.

wega52 commented May 25, 2016

Hi, i had the same problem,, solved it by installing the Usb Driver which comes with the FLIP Software

OldSalt1945 commented May 26, 2016

The problem is that I don't know how to install that driver.
I think it is the "AtLibUsbDfu.dll" file, but I don't have any idea of how to go about installing it.
When I run FLIP, it complains that "AtLibUsbDfu.dll" is not found.
Would you mind giving me some detailed instructions on how to go about installing this driver?

wega52 commented May 26, 2016

Open Device Manager
Look for "unknown device"
if there is no unknown device plug in the UNO Board and reset the 16U2 not the UNO
the device should show up
right click the entry and select "update driver"
select "search for driver on computer"
navigate to "C:\Program Files (x86)\Atmel\Flip 3.4.7\usb" or where you installed FLIp
confirm the directory
the computer will find the correct driver and install it
Done
The problem with the dLL will be solved too

OldSalt1945 commented May 27, 2016

wega52, thank you ever so much for the explicit directions. I was able to get Flip running and USB connected.

I am now ascertaining that I have the proper driver to flash to the 16U2. I am pretty certain that I will use Arduino-usbserial-UNOR3 by Alex Holden. Just a couple more things to check before I commit.

Finally, I am off the rock and have my wheels on the ground. Might even make some progress.

Thanks again for taking the time with me.

OldSalt1945 commented May 27, 2016

OK. I determined Arduino-usbserial-UNOR3 is the one I'm after.

Now I am confronted with Flip which presents a variety of options, none of which is familiar.

I did Load Hex File. But now I am unsure.

Do I Erase, Blank Check, Program, Verify, Run, Select EEPROM, Start Application.
So many opportunities to see the magic smoke released.

Help again, please.

OldSalt1945 commented May 27, 2016

Flip had Erase, Program, and Verify checked, so I clicked Run. It appeared to work.

If I did wrong, let me know.

dieterg2 commented Jul 30, 2016

at the moment I'm facing the same problems as you in may. Have you used an ISP programmer to get the hex file loaded? Or is it sufficient to connect the Uno R3 via it's "normal" usb connector?
The ISP programmer I'm using, and I just bought it for the programming of that 16U2 problem, is installed well in the device manager (as usb device, no COM interface), but Flip can't open the usb connection!?
Any help is appreciated.

OldSalt1945 commented Jul 30, 2016

You don't need the ISP programmer to load the hex file. Loading the hex file is done using the normal USB connector.

When following the instructions at https://www.arduino.cc/en/Hacking/DFUProgramming8U2
you have to reset the 16U2 as is described under the heading "Reset the 8U2". I was confused by the title and didn't do this as I was using a 16U2.
If you don't do this step, nothing works.
The title should read "Reset the 8U2 or 16U2".
Once you do this, you will see the 16U2 on the device manager and it will be available on Flip.

This drove me nuts until 109JB told me to do it. Simple, silly little crack in the sidewalk that trips you up.

dieterg2 commented Jul 31, 2016

Thanks, I was able to load the hex file now. It was confusing for me that I read in a german forum that 16U2 could be programmed using an ISP programmer only. But after reading the arduino article again I found the statement about the usb connection.
But my arduino still reports errors like invalid gcode ID:25 or bad number format, even if the gcode check tells me, that everything is ok.
Still some hours to spend for investigation.

109JB commented Aug 1, 2016

What program are you using to send data to the arduino?

dieterg2 commented Aug 2, 2016

I have used a simple test interface from a friend. The good news is, that he found the problem. Now everything is running well.