Hi,

Just wanted to say a big thank you to everyone involved in this awesome
project and it's more recent revival!

Thanks to you (and other online resources), I'm currently debugging an
Atmega1284p via JTAG with my Atmel ICE using AVaRICE and GDB in PlatformIO
(in Visual Studio Code) - see this screenshot.

Debugging the Atmega1284p in PlatformIO
<https://prominimicros.com/wp-content/uploads/2020/08/PlatformIO-Debugging-the-Atmega1284p-Show-GDB-Version.jpg>

and this is my setup (Atmel ICE underneath a similarly-sized breakout board
<https://jacoburge.co.uk/atmel-ice-breakout>):

JTAG Debugging the Atmega1284p with an Atmel ICE
<https://prominimicros.com/wp-content/uploads/2020/08/JTAG-Debugging-the-Atmega1284p-with-an-Atmel-ICE.jpg>

Following various people's advice, I was able to compile the r375 code in a
Cygwin environment (which was lots of... er... "fun" to set up and get
working..!)  I hacked some bits of the code to get programming/verifying
working so I could upload and set fuses, etc. - using the bits from the
jtag2 source seemed to work fine for me.

Uploading to the Atmega1284p via JTAG using AVaRICE
<https://prominimicros.com/wp-content/uploads/2020/08/PlatformIO-Uploading-to-the-Atmega1284p.jpg>

This meant I didn't need to use Zadig or libusb filters or anything like
that, I could use the same tool (AVaRICE) to upload, set fuses and debug.

I also ended up recompiling the latest GDB (9.2 right now) since the one in
my version of PlatformIO didn't support XML memory maps.  I did need to
manually fix this bug
<https://sourceware.org/bugzilla/show_bug.cgi?format=multiple&id=13519> to
make it disassemble the code at the correct address, but that wasn't too
much hassle.

So, in short: Thank you!

And, is there anything I can do to help?

I'm very much still learning about all things JTAG debugging and GDB, etc.
But if there's anything I could do/try/write-up, just let me know.

Thanks!


Andy
_______________________________________________
avarice-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/avarice-user

Reply via email to