Question. Is it possible to use the mEDBG facility in the X-plain 328p(b) to debug via debug-wire an external AVR328p circuit on a bread board?
I am sure that you can just send the signals off to an external chip. i.e. just cut the XMINI lines to the onboard AVR.
It seems a pointless exercise. The XMINI can take standard Arduino shields. You are better off doing your prototyping with Arduino add-ons.
The onboard EDBG is incredibly slow. If you have a lot of development to do, buy an ATMEL-ICE.
Yes I quite see your point, I am seeing the mEDBG being very slow to program, and the back channel UART only goes to 38,400 baud for me.
However, if you are content to just observe/debug some static running code, and don't have to do a lot or re-compiles, then it is well worth the effort.
Thanks so much for the consideration of your reply,
I know this is an old thread, but it came up at the top of a recent search for using the mEDBG of an ATtiny416 Xplained Nano board to program/debug an off-board target.
The ATtiny416 Xplained Nano does advertise this facility but, AFAIK, the ATmega328P Xplained Mini documentation makes no claim to support off-board programming or debug:
However, this thread describes how to "hack" an ATmega328P Xplained Mini to do this:
Hope that may help anyone else who ends up here when searching on this topic.
© 2022 Microchip Technology Inc.