avrdude error opening test_leds.hex: No such file or directo

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: avrdude error opening test_leds.hex: No such file or dir

Post by adafruit_support_rick »

You can't upload a C program like blink.c to the 861a. It has to be compiled first into a .hex file. This is what Arduino does for you - it compiles a sketch into a .hex file, and then uses avrdude to upload the .hex file to the processor.

Go back to leds_test.hex and see if you can get avrdude to work with that.

Going forward, you will have to use the tools in CrossPack to compile your programs.

User avatar
rc_flyer
 
Posts: 14
Joined: Sat Jan 24, 2015 10:00 pm

Re: avrdude error opening test_leds.hex: No such file or dir

Post by rc_flyer »

Awesome Rick......it's working!
I'm so grateful for your help.
Stan

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”