My USB TTL doesn't have DTR PIN and I read this :Arduino Leonardo as ISP
I connect the wire like this
First time I programming the empty code, it's successful
void setup() {
}
void loop() {
}
but when I programming the bluetooth code, it show
avrdude: verification error, first mismatch at byte 0x0002
0x24 != 0x64
avrdude: verification error; content mismatch
and I programming the empty code again it's fail
avrdude: verification error, first mismatch at byte 0x0002
0x24 != 0x34
avrdude: verification error; content mismatch
I have been test 2 board, always show this error message
So, did you do This:
1- Create a new folder in "hardware" with the name of leofix
2- Open a text editor and paste this code (picture 2):
arduinoispleo.name=Arduino as ISP (Leonardo)
arduinoispleo.communication=serial
arduinoispleo.protocol=arduino
arduinoispleo.speed=19200
Save the file as programmers.txt (see picture 3)
Next we connect some wires to our Leonardo (picture 4):
Digital Pin 10,1(TX),0(RX)
ICSP MISO,5V,SCK,MOSI,GND (see 6pin pinout on picture 5)
AND did you change the IDE board type to match: Arduino as ISP (Leonardo)?
You may need to drop back to a lower level of ArduinoIDE as I have not tried such a thing on 1.6.6 ... The author was using 1.0.5
Please buy a decent FTDI serial-USB ...
Ray
Paul_B
January 24, 2016, 9:13am
3
mrburnette:
Please buy a decent FTDI serial-USB ...
Or a decent CH340 .
Much cheaper and just as effective, and you do not have to worry so much about the vigilante manufacturer fouling up your computer.
DrAzzy
January 24, 2016, 10:01am
4
Paul__B:
Or a decent CH340 .
Much cheaper and just as effective, and you do not have to worry so much about the vigilante manufacturer fouling up your computer.
I agree on the CH340G - but that's not a CH340G-based adapter you linked to! You can even see the part number on the chip in your picture.....
Paul_B
January 24, 2016, 10:47am
5
Oh well, CP2012 - even better!
(I believe it has a better specification on the 3.3 V regulator.)