Hi,
out of the box i had some permission issues. So i created my own udev rule: sudo nano /etc/udev/rules.d/51-jtagice3.rules
# Atmel Corp. AVR JTAGICE3 (v3.x) Debugger and Programmer
SUBSYSTEM=="usb", TAG="JTAGICE3",ACTION=="add",ATTRS{idVendor}=="03eb",ATTRS{idProduct}=="2140",MODE="0660",GROUP="plugdev",OWNER="z004kw1n"
sudo chmod 644 /etc/udev/rules.d/51-jtagice3.rules
with that i can:
avrdude -c jtag3isp -p m328p
avrdude warning: USB device with VID: 0x03eb and PID: 0x2110 not found
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e950f (probably m328p)
avrdude done. Thank you.
but the arduino IDE still complains...
avrdude: WARNING: invalid value for unused bits in fuse "lock", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xff instead of 0x3f (double check with your datasheet first).
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x0f
avrdude: verification error; content mismatch
Failed to burn bootloader: uploading error: exit status 1
After that i flashed the bootloader on there using avrdude:
avrdude -c jtag3isp -p m328p -U ATmegaBOOT_168_atmega328_pro_8MHz.hex
avrdude warning: USB device with VID: 0x03eb and PID: 0x2110 not found
avrdude: AVR device initialized and ready to accept instructions
avrdude: device signature = 0x1e950f (probably m328p)
avrdude: Note: flash memory has been specified, an erase cycle will be performed.
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file ATmegaBOOT_168_atmega328_pro_8MHz.hex for flash
with 1932 bytes in 1 section within [0x7800, 0x7f8b]
using 16 pages and 116 pad bytes
avrdude: writing 1932 bytes flash ...
Writing | ################################################## | 100% 0.02 s
avrdude: 1932 bytes of flash written
avrdude: verifying flash memory against ATmegaBOOT_168_atmega328_pro_8MHz.hex
Reading | ################################################## | 100% 0.00 s
avrdude: 1932 bytes of flash verified
avrdude done. Thank you.
after which the error message changes again:
avrdude: jtag3_edbg_recv(): Inconsistent fragment number; expect 1, got 0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
avrdude: jtag3_edbg_recv(): Inconsistent fragment number; expect 1, got 0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
avrdude: verification error, first mismatch at byte 0x7e80
0x80 != 0x11
avrdude: verification error; content mismatch
Failed to burn bootloader: uploading error: exit status 1
The bootloader i got from here and I am using the zip File IDE on Ubuntu 24.04LTS.
I can upload sketches to that Uno fine and i can also get the board info if that is of interest.
Anyone an idea?
IDE Version Info:
Version: 2.3.4
Date: 2024-12-03T10:51:12.539Z
CLI Version: 1.1.1
Copyright © 2025 Arduino SA