I have nearly finished the project, but need to burn the hex code to a Atemega 328P chip. I have tried the following way:
Insert a new chip on an Arduino Uno.
Connect a USBTiny to the Arduino and connect the wire.
Run following command: avrdude -c usbtiny -p m328p -U flash:w:Platino_soldering_station.hex:i -U efuse:w:0xff:m -U hfuse:w:0xd9:m -U lfuse:w:0xe2:m
This seems to work well, but gives me the following error:
Reading | ################################################## | 100% 0.01s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x07
avrdude: verification error; content mismatch
avrdude: safemode: efuse changed! Was ff, and is now 7
Would you like this fuse to be changed back? [y/n]
Can someone please tell me what I am doing wrong and how to fix this?
Best regards
Ulf
