mcgurk / Arduino-USB-HID-RetroJoystickAdapter

Arduino joystick/gamepad/other USB-adapter
131 stars 35 forks source link

Can't upload C64_joystick_atmelstudio hex file #10

Open shift838 opened 5 years ago

shift838 commented 5 years ago

I downloaded the hex file for this joystick adapter and when I try to use avrdude to upload I get the below errors:

avrdude: invalid file format '\Users\cvsch\Documents\Arduino\ATARI_USB/CLASS_JOYSTICK1.hex' in update specifier avrdude: error parsing update operation 'flash:w:C:\Users\cvsch\Documents\Arduino\ATARI_USB/CLASS_JOYSTICK1.hex'

The command I am using is:

C:\WINDOWS\system32>"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude" -C"C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf" -v -v -v -v -pm32u4 -c avr109 -PCOM14 -D -V -Uflash:w:C:\Users\cvsch\Documents\Arduino\ATARI_USB/CLASS_JOYSTICK1.hex