Introduction: How to Get Rid of the Stupid ".hex No Such File" Error When Uploading Arduino!

Picture of How to Get Rid of the Stupid ".hex No Such File" Error When Uploading Arduino!

This Instructable will give you step by step instructions for how to make an Arduino Diecemella actually upload homebrewed code, instead of just examples on Windows XP.

Step 1: Download the FTDI Drivers

Skip this step if you can link an example to your chip, such as blink.

Go to The FTDI card drivers website and click on Windows XP. Save this somewhere, and when you plug in your arduino, direct the Add New Hardware wizard to that folder. It should install about two to four different things.

Step 2: Download the GOOD Arduino Software.

Picture of Download the GOOD Arduino Software.

If you have Arduino 0012 or 0010, then you need to get rid of it for 0009. It won't come up with the hex error like later ones. Those later ones will look like they work, but they are pure evil for programmers who don't just want to mess around with the blink rate of that oh-so popular example.

Step 3: Set Your COM Port.

Picture of Set Your COM Port.

After you extract the Arduino software, run the .exe or the batch file labeled "Run". When it comes up, which may take a while, go to tools and hover over "Serial Port". If you don;t have any other weird devices and only one serial port, then select COM3, or COM4 if it's there. These are those Serial to USB drivers you installed earlier. If you don't change these nothing will upload because it's going to the wrong port.

Step 4: Try It Out!

An easy way to do this is to change the blink rate of the blink program in Examples/Digital and save it somewhere else, then load it and try to upload it to your board. If it works, then you're done. If it doesn't work, then Post a comment.


ferr8ry88 (author)2012-06-18


Callum Snowden (author)2009-03-07

I had a really weird problem, it said that there was no such file then failed, although I had saved the sketch. It turned out to be a interrupt in my code!!!

Yeah. If your program is really screwy, then it sometimes thinks that it's not really a file for some strange reason.

Yeah, it's weird, cos the other day, I worked out how to use The variable type was set to BYTE and it kept giving me a weird y character which was because it wasn't receiving anything from the serial port.

Derin (author)Callum Snowden2009-06-28

Try making it int.That happened to me before.≤2├█Æ5ëó╙τw6►<±

Callum Snowden (author)Derin2009-06-28

Yeah, I'll try that next time I get an error.But, I had a catastrophic faliure the other day. My computer crashed!!!!! I lost all but about 20 out of my 100 or so programs. So I had to reinstall arduino-0015 but it didnt recognise my board. The FTDI drivers were there, turns out, parts of them were missing, so take my word for it. If you reinstall a different arduino IDE , always update the FTDI drivers.

About This Instructable



More by willrandship:How to make a CamelPack with an old plastic bottleHow to get rid of the stupid &quot;.hex No Such File&quot; Error when uploading Arduino!
Add instructable to: