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

Add mEDBG support #97

Open maxgerhardt opened 1 year ago

maxgerhardt commented 1 year ago

I was quite baffled when I came accross http://www4.cs.fau.de/Lehre/WS18/V_GSPIC/SPiCboard/zuhause_linux.shtml referencing an avarice -5 option that I have not seen yet, claiming it is mEDBG probe support. And indeed, their fork from 4 years ago apparently looks like it it has mEDBG supports:

https://gitlab.cs.fau.de/i4/spic/tools/AVaRICE/-/blob/master/avarice/src/main.cc#L173-174

Any improvements and additions of this version should be backported to here.

maxgerhardt commented 1 year ago

To my suprise, the current version of AVaRICE can connect to an mEDBG probe via the regular --edbg command just fine..

grafik

I need to inspect the exact diff on what they changed there or saw necessary to change.