something went wrong with creating the memory image

something went wrong with creating the memory image

so after entering this command

dfu-programmer at90usb162 flash --debug 1 midifighter.hex

where midifighter.hex is replaced with midifightercc.hex

which is the firmware i want to install and is also located on my desktop, I get the message error opening file
and
something went wrong with creating the memory image

What am I doing wrong, i can’t work it out.

have got xcode and and all that and have followed instructions to the letter :disappointed:

all the best

tom

You have to erase the device before programming.

Follow all the instructions.

Hi there, yep i did the erase part as well.
Have attached a screen shot, of the terminal and commands, if it helps.

tom

Right got it. Didn’t realise you hade to type in the path of the .hex file

cheers to all