خوب خوشبختانه آب پاک رو ریختن روو دستمون !
توو doc8169.pdf سایت Atmel خیلی رک نوشته :
The XMEGA doesn’t have the SPI based In-System Programming (ISP) interface for
external programming, which has been used for megaAVR. Nor does it have the
debugWIRE interface. These have been replaced by a two wire “Programming and
Debugging Interface” (PDI). This interface can, as the name indicates, be used for
both programming and debugging.
به عبارتی رسما گفته پروگرم کردن جای ISP از طریق رابط PDI که مخفف Programming andDebugging Interface هست انجام میشه !
البته این رو هم نوشته :
Programming and Debugging through the JTAG interface is still possible. The
JTAGICE mkII can do both PDI and JTAG programming and debugging. Please note
that your JTAGICE mkII should have a serial number that starts with “B0” for PDI to
work.
Programming through the PDI interface is also possible using the AVRISP mkII and
the existing 6-pins interface.
حالا نمی دونم پروگرمر های JTAG موجود می تونن این رو هم پروگرم کنن یا نه !
با توجه به 2 پین بودن این PDI :
The PDI interface is a synchronous half-duplex UART interface. The two lines,
PDI_DATA and PDI_CLK, must therefore be balanced. If you place a strong pull-up
and decoupling cap on the PDI_CLK, which is also the Reset line, the clock and data
will no longer be synchronized correctly. Therefore, during development you should
remove any pull-up and decoupling capacitors. This also applies if using the PDI
interface for in-system programming the XMEGA in production.
نمی دونم آیا می شه به یک پروگرمر خیلی ساده از طریق مثلا پورت پرینتر امید داشت یا نه ! مثل ISP ها