3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

Help with eclipse and avr!

I am trying to get eclipse to work with the avr plugin to upload code to my attiny2313. Every time I press the button to send the code to the avr a message saying "The file [${workspace_loc:/test_avr/Release}/test_avr.hex] For the flash memory does not exist or is not readable Maybe the project needs to be built first." I try to build the project with the build button on the toolbar and resend but the same message keeps coming up. I have allready set the avrdude settings to the same ones I used successfully to upload hex files to the micro.

3 answers
Mar 29, 2011. 2:15 PMgp144 says:
Hi,

you probably only built the "Debug" configuration, not the "Release".

Project -> Build Configurations -> Set Active -> Release.

Build again, now you should find the .hex file in the Project Explorer, in the folder "Release".

Gerd
Dec 28, 2010. 11:43 AMcdingdong says:
andy is right. The build is failing. Check the Eclipse console, and you should find error messages. Eclipse might not be communicating with the attiny. That was my problem with an Arduino, so it might also be that problem with your attiny.

If that is the case, check that you are using the right port by looking at Windows Device Manager and looking at what COM port your attiny is. Then, check that you are using that same COM port in Eclipse Window > Preferences > AVR > AVRDude, then edit your configuration. Enter the port as //./COMsomething
Feb 7, 2010. 5:11 AMandy says:
Sorry for the delay from posting, it sounds like the build is failing, check the terminal for error messages and get the error screen up also, they may indicate the problem,
Hope this helps,
Drew

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!