USBtiny programmer cannot find arduino_midi.hex file
Opened this issue · 1 comments
Newbie alert. I'm trying to flash an UNO r.3 with hiduino. I keep getting an error message in terminal that it cannot find the arduino_midi.hex file
I'm on a MacBookPro if that matters
Is there somewhere specific I am supposed to place the Hiduino folder containing the firmware upon download?
This is line I am using to flash.
avrdude -p at90usb162 -P usb -c USBtiny -U flash:w:arduino_midi.hex -v -F
There may be other issues as well. I don't really know how to decipher the Terminal message. I've included the entire message below.
Thanks in advance for help. I'm new to all this.
avrdude: Version 6.0.1, compiled on Dec 16 2013 at 17:26:24
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/usr/local/CrossPack-AVR-20131216/etc/avrdude.conf"
User configuration file is "/Users/terrydame/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : usb
Using Programmer : USBtiny
avrdude: usbdev_open(): Found USBtinyISP, bus:device: 001:008-1781-0c9f-ff-00
AVR Part : AT90USB162
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC6
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 512 4 128 9000 9000 0x00 0x00
flash 65 6 128 0 yes 16384 128 128 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : USBtiny
Description : USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/
avrdude: programmer operation not supported
avrdude: Using SCK period of 10 usec
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9489
avrdude: Expected signature for AT90USB162 is 1E 94 82
avrdude: safemode: lfuse reads as EF
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as F4
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: Using SCK period of 10 usec
avrdude: reading input file "arduino_midi.hex"
avrdude: error opening arduino_midi.hex: No such file or directory
avrdude: input file arduino_midi.hex auto detected as invalid format
avrdude: can't open input file arduino_midi.hex: No such file or directory
avrdude: read from file 'arduino_midi.hex' failed
avrdude: safemode: lfuse reads as EF
avrdude: safemode: hfuse reads as D9
avrdude: safemode: efuse reads as F4
avrdude: safemode: Fuses OK (H:F4, E:D9, L:EF)
avrdude done. Thank you.
Terrys-MBP-9:~ terrydame$
arduino_midi.hex file is placed inside compiled_firmwares
repository directory. You can download it and put it when you want. You should run the command in the directory you put the hex file.