Hi Matthias,

the new Atmel ICE is the first debugger using hidapi if I recall correctly. 
Maybe you didn't compile AVaRICE without hidapi headers installed? This would 
also explain why it works fine with older debuggers.

I remember having had the same issue and there was no error message or similar 
to indicate the cause of the issue, which resulted in some time spent debugging 
until I figured out the cause.

Kind regards,
Marian

On 23 October 2021 14:19:22 CEST, "Matthias B." <matthia...@posteo.de> wrote:
>Hi,
>
>I had problems with flash programming with my old MKII and therefore
>bought a new Atmel-ICE.
>My PC is running on linux and I can use this new debugger with your
>version Version 6.3-20171130 for programming but somehow not for debugging.
>
>So at the moment I can use my mkII for debugging and the Atmel-ICE for
>programming - it's somehow weird and I need to solve this problem for
>the Atmel-ICE ;-)
>
>For the MKII I use the sequence
>      *  avarice --jtag usb --mkII :4242*
>and was afterwards able to start debugging via eclipse. Very simple.
>
>If I adapt this sequence for the new debugger
>        *avarice --jtag usb --edbg :4242*
>just nothing happens, which means the output is
>       *         AVaRICE version 2.14svn20200906, Sep 28 2021 21:09:28**
>**                Defaulting JTAG bitrate to 250 kHz.*
>and it ends.
>
>I read (https://sourceforge.net/p/avarice/bugs/29/ ,  Joerg Wunsch) I
>might have to use this out of a gdb session like
>        *gdb avrice*
>and then
>        *(gdb) run -1 -j usb :4242
>*the output is*
>                 Starting program: /usr/local/bin/avarice -1 -j usb :4242
>                [Thread debugging using libthread_db enabled]
>                Using host libthread_db library
>"/lib/x86_64-linux-gnu/libthread_db.so.1".
>                AVaRICE version 2.14svn20200906, Sep 28 2021 21:09:28
>                Defaulting JTAG bitrate to 250 kHz.
>                did not find any USB device "usb"
>                [Inferior 1 (process 260701) exited with code 01]  
>*Looking up the atmel-ice usb device:
>        *(gdb) run -1 -j /dev/bus/usb/001/048 :4242**
>*the output is*
>                Starting program: /usr/local/bin/avarice -1 -j
>/dev/bus/usb/001/048 :4242
>                [Thread debugging using libthread_db enabled]
>                Using host libthread_db library
>"/lib/x86_64-linux-gnu/libthread_db.so.1".
>                AVaRICE version 2.14svn20200906, Sep 28 2021 21:09:28
>                Defaulting JTAG bitrate to 250 kHz.
>                [Inferior 1 (process 260758) exited with code 01]
>
>*So in summary I got stuck somehow and don't really know how to go on.
>Can someone point me into the right direction how to initiate a debug
>session with avarice and the Atmel-ICE?
>
>Kind regards,
>Matthias
>**
>   

-- 
Via smartphone.
_______________________________________________
avarice-user mailing list
avarice-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to