only small programs

so when i upload a small code like blink it works however when i upload anything else it stops uploading and says=

avrdude: verifying …

avrdude: verification error, first mismatch at byte 0x2480

0xff != 0x0f

avrdude: verification error; content mismatch

avrdude done. Thank you.

i am using sparkfun pro micro.

Which ISP loader hardware are you using?

to burn the bootloader i used an arduino uno

I’m still not sure where your error is. Are you using your Uno as a “Arduino as ISP” to upload to the pro micro? Or are you uploading the sketches with the USB port? There are various debugging options you can turn on, but they depend upon what you are doing. If you are using avrdude directly from the command line, you can add options there, or if you are using the Arduino IDE you can choose “preferences” from the “file” tab, and there is a check box for “Show verbose output during” → upload.

ok so i am derectly uploading to arduino mico the error is=

avrdude: verifying …

avrdude: verification error, first mismatch at byte 0x2480

0xff != 0x2a

avrdude: verification error; content mismatch

avrdude done. Thank you.

can i use something different to upload to my micro

Ful error message=

Arduino: 1.8.13 (Windows 10), Board: “Arduino Leonardo”

Warning: Board arduino:avr:atmega16-8 doesn’t define a ‘build.board’ preference. Auto-set to: AVR_ATMEGA16-8

Sketch uses 23124 bytes (80%) of program storage space. Maximum is 28672 bytes.

Global variables use 490 bytes (19%) of dynamic memory, leaving 2070 bytes for local variables. Maximum is 2560 bytes.

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, } => {}

PORTS {COM1, } / {COM1, COM10, } => {COM10, }

Found upload port: COM10

D:\Program Files (x86)\arduino ide\arduino-1.8.13\hardware\tools\avr/bin/avrdude -CD:\Program Files (x86)\arduino ide\arduino-1.8.13\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cavr109 -PCOM10 -b57600 -D -Uflash:w:C:\Users\Stef_\AppData\Local\Temp\arduino_build_874292/ssd1306_128x32_i2c.ino.hex:i

avrdude: Version 6.3-20190619

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is “D:\Program Files (x86)\arduino ide\arduino-1.8.13\hardware\tools\avr/etc/avrdude.conf”

Using Port : COM10

Using Programmer : avr109

Overriding Baud Rate : 57600

AVR Part : ATmega32U4

Chip Erase delay : 9000 us

PAGEL : PD7

BS2 : PA0

RESET disposition : dedicated

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 1024 4 0 9000 9000 0x00 0x00

flash 65 6 128 0 yes 32768 128 256 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 : butterfly

Description : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .

Found programmer: Id = “CATERIN”; type = S

Software Version = 1.0; No Hardware Version given.

Programmer supports auto addr increment.

Programmer supports buffered memory access with buffersize=128 bytes.

Programmer supports the following devices:

Device code: 0x44

avrdude: devcode selected: 0x44

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9587 (probably m32u4)

avrdude: reading input file “C:\Users\Stef_\AppData\Local\Temp\arduino_build_874292/ssd1306_128x32_i2c.ino.hex”

avrdude: writing flash (23124 bytes):

Writing | ################################################## | 100% 2.17s

avrdude: 23124 bytes of flash written

avrdude: verifying flash memory against C:\Users\Stef_\AppData\Local\Temp\arduino_build_874292/ssd1306_128x32_i2c.ino.hex:

avrdude: load data flash data from input file C:\Users\Stef_\AppData\Local\Temp\arduino_build_874292/ssd1306_128x32_i2c.ino.hex:

avrdude: input file C:\Users\Stef_\AppData\Local\Temp\arduino_build_874292/ssd1306_128x32_i2c.ino.hex contains 23124 bytes

avrdude: reading on-chip flash data:

Reading | #############################################An error occurred while uploading the sketch

| 100% 0.80s

avrdude: verifying …

avrdude: verification error, first mismatch at byte 0x2480

0xff != 0x2a

avrdude: verification error; content mismatch

avrdude done. Thank you.

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

i saw this in compiling error Warning: Board arduino:avr:atmega16-8 doesn’t define a ‘build.board’ preference. Auto-set to: AVR_ATMEGA16-8