avrdudes / avarice

AVaRICE is a program for interfacing the Atmel JTAG ICE to GDB to allow users to debug their embedded AVR target.
GNU General Public License v2.0
35 stars 11 forks source link

Attempting to connect to USB jtag3 device exits without error #109

Open iAmInActions opened 2 months ago

iAmInActions commented 2 months ago

Im attempting to use a jtag3 with avarice but keep running into the issue that the program just closes on me without any error and doesnt start a GDB server.

~ $ avarice --jtag /dev/bus/usb/001/004 -3 -d -P atmega16 :4242
AVaRICE version 2.14svn20200906, Jun 17 2024 14:14:27

Defaulting JTAG bitrate to 250 kHz.
~ $

Im running Raspberry Pi OS 12 (bookworm) on kernel 6.6.31 with libusb 0.1.12.

maxgerhardt commented 2 months ago

Mhm, sadly not an error message to go on. Is it possible that you compile avarice yourself with debug flags (-Og -ggdb3) and use gdb to execute avarice? Maybe that'll give you a stacktrace or an indication.